To change the Divi Theme's header menu font size, you can simply use the following CSS:
#top-menu a { font-size: 16px; }
Just change the 16px to your choice of font-size. It will also apply to the sub-menus.
Written by Dan Mossop
To change the Divi Theme's header menu font size, you can simply use the following CSS:
#top-menu a { font-size: 16px; }
Just change the 16px to your choice of font-size. It will also apply to the sub-menus.
We may earn a commission when you visit links on our website.
In the Divi Video Module, starting your YouTube videos muted by default can create a more user-friendly browsing experience on your webpage. It is particularly beneficial for reducing distractions, enhancing visitor engagement, and providing a seamless content preview...
Enabling videos in your Divi video module to start playing automatically can enhance both the site's design and user engagement. To ensure full compatibility with browser requirements, such as Chrome's autoplay policy, it's often necessary to start your videos muted...
Divi's Dynamic Content feature is great for enhancing your post/page templates with post-specific information. While Divi includes an option to show information such as the Post Created Date using Dynamic Content, there is no equivalent option for the Post Status....
Are you encountering an issue where the font weights in Divi's Text Module don't seem to apply as expected? In particular, you might find that when you set the text module's body text font weight to "Regular", your font is actually assigned a weight of 500 instead of...
The Divi Gallery Module comes with a slider mode that lets you display images in a slider with clickable left/right arrows to scroll through the images. For mobile / touchscreen users, you can improve the user experience by allowing your user to swipe to navigate to...
HI, I just bought Divi Booster, I saw this feature:
Header:
Top Header:
Change the phone and email style (size, color and background color)
Right align the top header email and phone number
However, I can't find the setting under heading to accomplish the font size change under the Top Header section, or any other section.
The CSS change noted above returns an error and doesn't change the size.
Hi James, the code given post is for setting the font size of the main menu links – i.e. the ones to the right of the logo. In Divi Booster, I've moved this to "Deprecated > Divi 2.4 > Menu font size" as it is now possible to set the font size of these menu items within Divi itself, via "Divi > Theme Customizer > Header & Navigation > Primary Menu Bar > Text Size". However, if it is the font size of the top header that you want to set (i.e. the font size of the phone number, email etc), you can do so using "Divi > Theme Customizer > Header & Navigation > Secondary Menu Bar > Text Size". I hope that makes sense / helps. Cheers!
Sorry! Found it!
Hi… I've tried that and it's not working. Where did you put it please?