Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1305125
    FrancisLagaret
    Participant

    On the homepage with Slider Revolution installed, I have the ‘masthead’ transparent and links are black. When the homepage scrolls, the ‘masthead’ background becomes white.

    what I need to do is have the ‘masthead’ transparent and links white and when the page scrolls, the background then becomes white with links becoming black.

    Any ideas, I’ve tried custom css in several locations.

    Using Integrity stack.

    #1305202
    Paul R
    Moderator

    Hi,

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    #1306020
    FrancisLagaret
    Participant

    Thank you.

    lagaret.com

    #1306023
    FrancisLagaret
    Participant

    And … I’m new to WordPress and X Theme. Thanks!

    #1306071
    Rupok
    Member

    Hi there,

    Thanks for the URL. It seems you have some code for this already. Let’s add this under Custom > CSS in the Customizer with your existing code :

    .x-navbar .x-nav-wrap .x-nav > li > a {
      color: #fff;
    }
    .x-brand.text {
      color: #fff;
    }
    .x-navbar.x-navbar-fixed-top .x-nav-wrap .x-nav > li > a {
      color: #000;
    }
    .x-navbar.x-navbar-fixed-top .x-brand.text {
      color: #000;
    }

    Hope this helps.

    #1306611
    FrancisLagaret
    Participant

    Getting closer – I’ll try to explain as best I can.

    On the homepage, all works fine except onhover of the nav link.

    On all other pages, the header/masthead the links and text are now white and should be black. This is until you scroll page up then it all looks fine.

    #1306612
    FrancisLagaret
    Participant

    and THANK YOU!

    #1306717
    Friech
    Moderator

    Hi There,

    You can add this under Custom > CSS in the Customizer.

    body:not(.home) .x-navbar .x-nav-wrap .x-nav > li > a,
    body:not(.home) .x-brand.text {
    	color: #000;
    }

    Hope it helps, Cheers!

    #1307082
    FrancisLagaret
    Participant

    AMAZING! You’re the best. THANK YOU, cheers!

    #1307097
    Joao
    Moderator

    You are welcome!

    Let us know if you need help with anything else.

    Joao

  • <script> jQuery(function($){ $("#no-reply-1305125 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>