Home Forums WoodMart support forum Header Builder : Light Text color scheme only in sticky mode

Header Builder : Light Text color scheme only in sticky mode

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #116238

    Cotern
    Participant

    Hi,

    I’d like to use the dark text color scheme for my header (because it overlaps the background image) but I want use the light one when I scroll down (because my website is mostly white). What should I do to get that result ? Do you have a few lines of custom CSS 🙂 ?

    Best,
    Fabien

    Attachments:
    You must be logged in to view attached files.
    #116360

    Hello,

    Thank you very much for choosing our theme and for contacting us.

    This is possible to do with custom CSS. Please provide your site URL. If your site is under construction, please provide your site admin access as well.

    Best Regards

    #116366

    Cotern
    Participant

    Hi !
    Here you go : https://new.greenkub.fr. Your theme is very good by the way. I’m very satisfied.

    Best,
    Fabien

    #116535

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    body .whb-color-dark .navigation-style-underline .item-level-0>a{
    color:#ffffff;
    }
    body .whb-color-dark .navigation-style-underline .item-level-0>a:hover{
    color:#ffffff;
    }
    body .woodmart-navigation .item-level-0.menu-item-has-children>a:after{
    color:#ffffff;
    } 
    
    body .whb-scroll-stick.whb-sticked .main-nav .item-level-0>a{
    color:#000000;
    }

    Best Regards

    #116586

    Cotern
    Participant

    Awesome ! It works like a charm. Thanks

    #116607

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Header Builder : Light Text color scheme only in sticky mode’ is closed to new replies.