Archived topic
How do you make menu icons bigger or smaller?
4 replies · Started by sdanbu on February 27, 2018
How do you make menu icons bigger or smaller/
Thank you
Hi there,
Do you have menu icon + text in the menu item or just the icon?
Just icon.
But both options would help.
I'd like to perhaps use Media query for mobile
Try adding a custom class like menu-icon for the menu items that you want bigger: https://docs.generatepress.com/article/using-the-wordpress-menu-builder/#custom-classes
Then use this CSS to change the size:
@media (min-width: 769px) {
.main-navigation .main-nav ul li.menu-icon a {
font-size: 20px;
}
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
If this doesn't work, can you link me to the site?