burger menu on different color
-
wrote on May 1, 2023, 11:04 PM last edited by
So, I was able to change the burger menu color in one page -bio page, that has a grey color background-, with this code in the mobile CSS
.slug-bio .burger span, .burger span:after, .burger span:before { background: white; }
All good. The issue is that in the homepage where the burger should look black, this happens:
Only 1 line from the burger appears. I can't find how to fix it. If I use the above code for the homepage as well, then the white menu gets broken. Anyone knows how to do it?
Thanks in advance,
Cheers -
wrote on May 2, 2023, 1:51 PM last edited by
Do you use the new burger with two horizontal lines instead of three?
-
wrote on May 2, 2023, 5:52 PM last edited by
@zochovsky No. The 3 line burger.
-
do this
.slug-bio .burger-default span, .slug-bio .burger-default span:before, .slug-bio .burger-default span:after{ background: white; }
-
do this
.slug-bio .burger-default span, .slug-bio .burger-default span:before, .slug-bio .burger-default span:after{ background: white; }
wrote on May 2, 2023, 8:07 PM last edited by@arminunruh said in burger menu on different color:
.slug-bio .burger-default span,
.slug-bio .burger-default span:before,
.slug-bio .burger-default span:after{
background: white;
}That worked! Thanks man.
I also code custom websites or custom Lay features.
💿 Email me here: 💿
info@laytheme.com
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it