carnagelan Posted June 15, 2020 Share Posted June 15, 2020 Hi Guys I am busy with my site in2designs.co.za All the categories in the main menu have bold text accept for contact which is the default. How do i remove the bold text from the category? I am using the default/classic theme. Link to comment Share on other sites More sharing options...
Razi Posted June 16, 2020 Share Posted June 16, 2020 If you are talking about submenu of main link then here is the css /themes/classic/assets/css/theme.css .top-menu a.dropdown-submenu { font-weight: 400; } and if you want to change the main link fount then here is the css .top-menu a[data-depth="0"] { font-weight: 400; } Link to comment Share on other sites More sharing options...
carnagelan Posted June 16, 2020 Author Share Posted June 16, 2020 20 minutes ago, Razi said: If you are talking about submenu of main link then here is the css /themes/classic/assets/css/theme.css .top-menu a.dropdown-submenu { font-weight: 400; } and if you want to change the main link fount then here is the css .top-menu a[data-depth="0"] { font-weight: 400; } Thank you. It works for the desktop version but on mobile all the sub menu items are still bold Link to comment Share on other sites More sharing options...
Razi Posted June 16, 2020 Share Posted June 16, 2020 For mobile screen you need to change in same theme.css file #mobile_top_menu_wrapper .top-menu .sub-menu li > a { font-weight: 400; } 1 Link to comment Share on other sites More sharing options...
carnagelan Posted June 16, 2020 Author Share Posted June 16, 2020 17 minutes ago, Razi said: For mobile screen you need to change in same theme.css file #mobile_top_menu_wrapper .top-menu .sub-menu li > a { font-weight: 400; } Thank you. Its perfect. Link to comment Share on other sites More sharing options...
carnagelan Posted June 16, 2020 Author Share Posted June 16, 2020 11 hours ago, Razi said: For mobile screen you need to change in same theme.css file #mobile_top_menu_wrapper .top-menu .sub-menu li > a { font-weight: 400; } Hi Man. If i leave my theme.css as default and add this to my custom.css should it work? Link to comment Share on other sites More sharing options...
Razi Posted June 16, 2020 Share Posted June 16, 2020 yes you need to add with !important like this #mobile_top_menu_wrapper .top-menu .sub-menu li > a { font-weight: 400 !important; } also clear the cache after update file. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now