Hey,
ich würde gerne in meinem Sidebar Menü den aktiven Reiter farbig hinterlegen. Ich habe dafür diesen Code benutzt, nur leider ändert sich nichts.
.html_header_sidebar #header .av-main-nav > li.current-menu-item {
background: #005da9;
}
.html_header_sidebar #header .av-main-nav > li > a {
margin: 0 13%;
}
.html_header_sidebar #header .av-main-nav > li {
margin: 0;
}
Könnt ihr mir sagen, warum sich nichts ändert?
Vielen Dank,
Laura
Hey lauragrashoff,
Thanks for providing the link, however, it asks for a password.
I tried your code in https://kriesi.at/themes/enfold-photography/ which I believe is using the same layout and it works properly.
Can you try to go to Enfold > Performance > the disable CSS file merging and compression
Hope this helps.
Best regards,
Nikko
Entschuldige! Ich habe vergessen das Passwort mit zu schicken.
Das CSS file merging hat nicht funktioniert. Egal ob aktiviert oder deaktiviert.
Hi lauragrashoff,
There seems to be an unclosed CSS, I can find this code:
#top .avia-data-table.right tr td:first-child, #top .avia-data-table.right td:first-child {
width: 200px !important;
min-width: 200px !important;
text-align: left !important;
#avia-menu li a .avia-menu-text{
font-size:30px!important;
}
.html_header_sidebar #header .av-main-nav > li.current-menu-item {
background: #005da9;
}
.html_header_sidebar #header .av-main-nav > li > a {
margin: 0 13%;
}
.html_header_sidebar #header .av-main-nav > li {
margin: 0;
}
.html_header_sidebar #header .av-main-nav > li.current-menu-item {
background: orange;
}
I would suggest indenting the properties so it’s easier to see if it’s closed or not.
Best regards,
Nikko