No color change on Level 1 of collapsed menu
-
I’m using the code from https://themesandco.com/snippet/change-background-colortext-color-3-bar-menu-dropdown/ to change the background and text colors of the collapsed/responsive menu. It works well, except for the “Level 1” menu text color.
Exemple site: https://peterhjalmarsson.hopto.org/donostia.se/artiklar/ar-smorrebrod-pintxos/
CSS:
/* Responsive Navbar/menu background */ .nav-collapse .nav .nav-header { font-weight: bold; color: black; /* Adjust Text Color Level 1 */ text-shadow: none; } .nav-collapse .nav > li > a, .nav-collapse .dropdown-menu a { color: black; /* Adjust Text Color Level 2 */ text-shadow: none; } .nav-collapse .nav > li > a, .nav-collapse .dropdown-menu a { background-color: none; /* Adjust Background Color Level 2 */ } /* Remove the surrounding background */ .nav-collapse.tc-hover-menu-wrapper.in.collapse { background-color: white; /* Adjust Background Color Level 2 */ background-color: none; /* Remove this line if setting different background color */ } /* Remove the separator bars */ .tc-hover-menu.nav a { border-bottom: 1px solid white; border-bottom: none; /* Remove this line if setting different separator color */ }
- The topic ‘No color change on Level 1 of collapsed menu’ is closed to new replies.