Home › Forums › CSS › Menu Image, remove border, HELP ASAP › Reply To: Menu Image, remove border, HELP ASAP
February 9, 2019 at 12:00 pm
#282561
Participant
In that case you could target them more specifically:
#menu-item-58 a, #menu-item-221 a {
padding: 10px 20px;
}
Edit – if you want them all to be the same height, while varying the size of the icon, then this is what the amount of padding should be:
(45 - icon size) / 2
45 = font size (15) + 2 x padding (15)
So it’s best to use an icon size that leaves a whole number (half pixels aren’t an option).