Home Forums WoodMart support forum Transparent header

Transparent header

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

    sara_va
    Participant

    Good morning,

    In my homepage I would like to create a transparent header that on scroll (sticky heder) become white. First the logo have to be white and then, on the white background, black.

    Here an example: https://www.magnoliadesign.it/

    How can I do that with your theme?

    Thank you,
    Sara

    #241725

    Hello,

    Please provide your site admin access to the private area.

    Best Regards

    #242020

    sara_va
    Participant

    Hi,

    ok, I’m sending you in private the admin access.

    Sara

    #242066

    Hello,

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

    /*sticky background*/
    body .whb-sticked .whb-general-header {
        background-color: white;
    }
    /*sticky main menu color*/
    body .whb-sticked .woodmart-navigation .item-level-0.current-menu-item>a{
    color:yellow;
    }
    body  .whb-sticked  .woodmart-navigation .item-level-0>a{
    color:yellow;
    }
    body  .whb-sticked  .woodmart-navigation .item-level-0>a:hover{
    color:orange;
    }
    body  .whb-sticked  .woodmart-navigation .item-level-0.menu-item-has-children>a:after{
    color:orange;
    } 

    Replace the colors as per your need

    Best Regards

    #242214

    sara_va
    Participant

    It works very well, thank you 🙂

    Sara

    #242230

    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)