The font weight of the primary menu links is “bold” by default. With the following code snippet you can change the font weight to “normal”.
/* Change the font size of the primary menu links */ #et-top-navigation, #top-header .container { font-weight:normal; }
Hello, I am currently practicing with Divi on WordPress and I would like to know how can I change the font weight only for the selected link.
With the theme builder I am only able to do it with the color. I would like to have standard font weight for the menu but if I click “home” or I am on the contact pages, in the menu it has to appear bold.
Thank you
Hi Rita, thanks for reaching out!
to achieve that current menu item is bold you would have to use the following code:
#top-menu li.current-menu-item>a {
font-weight:bold;
}
Hope that helps!
Best,
Tobias