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.
Enabling automatic looping for YouTube videos in your Divi video module ensures that content plays seamlessly and continuously without interruption. This feature can enhance user engagement, highlight key information, or create dynamic visual effects on your website....
Disabling YouTube video controls in the Divi Video Module helps create a seamless, distraction-free viewing experience for your site visitors. This approach is useful when you want full control over how your video content appears and is interacted with on the page, or...
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....
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?