The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Menu Image, remove border, HELP ASAP Reply To: Menu Image, remove border, HELP ASAP


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).