[Resolved] Bottom of the Header

Home Forums Support [Resolved] Bottom of the Header

Home Forums Support Bottom of the Header

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1351193
    Sanu Kumar

    I would like to give a similar look like this at the bottom of the header like shadow effect. https://ibb.co/G5xYx2p

    #1351226
    Leo
    Staff
    Customer Support

    Hi there,

    Can you link me to the example site in question?

    #1351245
    Sanu Kumar

    That was my site. I designed with the help of elementary but it is not live now. Similar to this, elementor is also using the same which I want to achieve. Here’s the link
    https://elementor.com/about/privacy/

    #1351389
    David
    Staff
    Customer Support

    Try this CSS:

    .site-header {
        box-shadow: 0 2px 20px 0px rgba(0, 0, 0, .2);
    }
    #1351398
    Sanu Kumar

    I am looking for this: https://ibb.co/G5xYx2p

    #1351400
    David
    Staff
    Customer Support

    Edited code above.

    #1351552
    Sanu Kumar

    Thanks, David..you’re awesome.

    But I want to exclude one page (homepage only) because I am using transparent and I want it remains the same. Only on the homepage. How to do it?

    #1351815
    David
    Staff
    Customer Support

    Change: .site-header to body:not(.home) .site-header

    #1351867
    Sanu Kumar

    Thanks David

    #1351918
    David
    Staff
    Customer Support

    You’re welcome

    #1353288
    Sanu Kumar

    hey David,
    I just checked this is working on desktop only and not on mobile. I want it on mobile too.

    #1353532
    David
    Staff
    Customer Support

    Use this CSS:

    body:not(.home) .site-header,
    body:not(.home) #mobile-header .inside-navigation {
        box-shadow: 0 2px 20px 0px rgba(0, 0, 0, .2);
    }
Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.