Okay
  Public Ticket #2321613
Header logo and menu not changing colors
Closed

Comments

  • Kevin Manley started the conversation

    I'm having an issue with my header content. My logo and menu items are not turning white while transparent over the dark slider or page title bar. Instead the logo is staying blue and the text is staying dark while over these sections. Then when you scroll down the light header bar appears and the header content stays the same in the colors it should be. Am I missing a step to make the logo and menu turn white while at top of pages?


    There is a section marked:

    Background color

    This value will override selected background for Header and Title sections

    But that just reverses the issue instead of fixing it. 


    Thank you.



  •  1,693
    Andrey replied

    Hello, Dear Kevin Manley!

    In order to fix this issue with logo, please click WP Dashboard =>Appearance =>Customize => Additional CSS and paste this code here:

    .affix-top-wrapper a.logo img {    
        filter: brightness(0) invert(1);
    }

    Then save changes and check results at front-end.

    Best Regards!

  • Kevin Manley replied

    Hi Andrey,

    Thank you so much, this is getting the logo to change colors perfectly. However, the top-nav menu isn't changing to white text while at the top of the page. Could you post a CSS code snip for that as well?

    Thank you so much!

  •  1,693
    Andrey replied

    Hello, Dear Kevin!

    Please, put the following code in the additional CSS:

    .ls .sf-menu > li > a {
        color: #ece6e6;
    }
    

    Best Regards!

  • Kevin Manley replied

    Worked like a charm! Thank you.


    - Kevin

  •  1,693
    Andrey replied

    We are glad to assist you!

    Best Regards

  • Kevin Manley replied

    So far everything is working great, except one final question. I changed the link text to turn white at while the on top of the dark homepage hero and page title slabs (which the nave menu is transparent over), everything is looking great on desktop. Here is the custom CSS I added to accomplish:

    .affix-top-wrapper .ls .sf-menu > li > a {
        color: #ffffff;
    }

    However, now with that code if you are on the site, scrolled all the way to the top of the site on mobile or tablet and click the menu items in the hamburger menu, a white background slides open and all the text remains white so you can't see the menu items. Is there a way to make the code I wrote above only effect the desktop versions or have a different CSS class for the hamburger menu links? 


  •  1,693
    Andrey replied

    Hello, Dear Kevin!

    We fixed your issue. Please, сheck the result on your website:

    http://prntscr.com/rjilzb

    http://prntscr.com/rjipfc

    Best Regards!