Change background padding for menu items
-
I want to make the ‘Buy’ and ‘Contact’ menu items look like buttons. To that end, via Appearance->menu->CSS class I have created the CSS class for each, ‘buy-navmenu’ and ‘contact-navmenu’. I have added the following custom CSS code. However, the two menu items need some space in between and the height of the background color is too tall and needs to be reduced. Please advice, what changes to code can add spaces in between only these two menu items and how to reduce the background color height for only these two menu items.
.buy-navmenu{ background:#2905a1; border-radius: 10px; } .buy-navmenu a{ color:#ee1f23 !important; font-weight: 900 !important; } .buy-navmenu a:hover{ color:#13aff0 !important; font-weight: 900 !important; } .contact-navmenu{ background:#6C6F70; border-radius: 10px; } .contact-navmenu a{ color:#2905a1 !important; font-weight: 900 !important; } .contact-navmenu a:hover{ color:#13aff0 !important; font-weight: 900 !important; }
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Change background padding for menu items’ is closed to new replies.