clafond17 Posted April 18, 2022 Posted April 18, 2022 Site URL: https://www.codylafond.com/ Hi all. Through a ton of trial and error I was able to make use of a custom font for the nav, however I cannot seem to increase the font weight beyond it's current state. The font in question is a variable weight Google font (Plus Jakarta Sans) which can go up to 800, but it seems to be maxing out at 400 (visual estimate) or so despite several attempts to specify the weight in CSS. I'm also trying to eliminate the underline in the nav entirely from both the active link state and the inactive link hover states. No luck on that one so far either. My template is Flatiron on 7.0.
clafond17 Posted April 19, 2022 Author Posted April 19, 2022 Still working on the nav font weight, but I was able to figure out the active link and inactive link underlines using these code snippets: active link /* Remove underline in nav active link */ #nav .active-link a { border-bottom: none !important; } inactive link /* Remove underline in nav inactive link hover */ #nav li a:hover { border-bottom: none !important; }
Solution tuanphan Posted April 22, 2022 Solution Posted April 22, 2022 Try this code li.active-link a { font-weight: bold; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment