Hi,
I’ve tried several variations of css but nothing seems to change the colours of the menu toggle.
Please check out my code below:
@media only screen and (max-width: 944px) {
a#advanced_menu_toggle {
display:block;
transparency: 0.9 !important;
border-color: #ffffff important;
color:#ffffff;
}}
The only thing that works is: display:block;
I’m using the transparent header and have the feeling it’s got something to do with that.
Any ideas?
Thanks for your help,
Lisa
Hi sundara88!
Please try changing your code to following one
@media only screen and (max-width: 944px) {
.av_header_transparency #advanced_menu_toggle {
display:block;
transparency: 0.9 !important;
border-color: #ffffff !important;
color:#ffffff !important;
}}
Regards,
Yigit
Thanks Yigit, that worked! (you did forgot the exclamation mark in front of “important”)
One more question: When I resize the screen to about 700px the header becomes black and no longer transparent..
I’ve tried the following css but I’m not sure if this is the right way to address transparency….
@media only screen and (max-width: 767px)
{
.av_header_transparency
div#header_main {
background-color:transparent;
}}
And I’ve tried this:
@media only screen and (max-width: 767px)
{
.av_header_transparency
div#header_main {
transparency: 0 !important;
}}
Any idea what could work?
Thanks,
Lisa