ccd_holly Posted July 31, 2020 Share Posted July 31, 2020 Site URL: https://www.bspokellc.com/ My burger icon is white across the board (which is what I want) but I have a header code that changes all inside page headers to black. This seems to also be changing the burger icon to black on those pages on the mobile view. I am also losing my button text color which actually changes to white? Not really sure how to fix this. It is correct on some mobile pages but not others. First two images are correct, but when I navigate to the 'sign up' page it changes to black and you can't see it, then when I click the burger/toggle just by clicking on the black header (top right) it goes back to white over the green, but my button text is missing. Any help is appreciated thank you! Link to comment
rwp Posted July 31, 2020 Share Posted July 31, 2020 body:not(.homepage) .burger-box >.header-menu-icon-doubleLineHamburger > * { background: white !important; } That will make the button white on everything except the homepage. As far as the button. The #header a { color: #fff !important; } code that you added is making all of the links in the header white You will need to remove that, and use code that just targets the nav links. This should work, and not mess with the button after you remove the other code. .container.header-menu-nav-item.header-menu-nav-item a { color: white !important; } Link to comment
ccd_holly Posted July 31, 2020 Author Share Posted July 31, 2020 Thank you! The hamburger is working. If I remove that header code, then all of my headers are no longer black? Is there a way to just tell that 1 button on the menu not to change? Link to comment
rwp Posted July 31, 2020 Share Posted July 31, 2020 You must have removed the wrong code. Are you entering that CSS in the page code injection. You don't need to. You can just do this in design -> css to set the background to black (all pages except home page) and link text (not the button) to white. If you have OTHER stuff in the page code injection, do not delete it all. Just the lines for the bg and font color. body:not(.homepage) #header { background-color: black !important; } .container.header-menu-nav-item.header-menu-nav-item a { color: white !important; } Link to comment
ccd_holly Posted July 31, 2020 Author Share Posted July 31, 2020 I can't figure out how to change it. Whatever I am doing isn't working for the mobile button. Link to comment
ccd_holly Posted July 31, 2020 Author Share Posted July 31, 2020 Aha! I found it. Got it all figured out and it all works now. Thanks for your help!!! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.