🎉 Happy 4th of July! Get 15% off GP Premium with the discount code: 4THOFJULY2020

[Support request] Sticky sidebar

Home Forums Support Sticky sidebar

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

    Hi David,

    Is there a way to get the search box in the right sidebar sticky as well? Right now it is above an image in a textbox and scrolls up and only the textbox is sticky.

    #1161079
    David
    Staff
    Customer Support

    Hi there,

    looks like the search bar is just hidden behind the sticky navigation.
    In Customizer > Additional CSS you have this:

    @media (min-width: 769px) {
        #right-sidebar {
            position: -webkit-sticky;
            position: sticky;
            top: 0;
        }
    }

    try changing the top: 0; to top: 60px;

    #1161080
    Gevorg

    Yes, I got that code from your reply in a previous thread. Is there a way to bring the search bar up?

    #1161085
    David
    Staff
    Customer Support

    You just need to change the CSS as mention above – so swap it for this:

    @media (min-width: 769px) {
        #right-sidebar {
            position: -webkit-sticky;
            position: sticky;
            top: 60px;
        }
    }
    #1161087
    Gevorg

    Thank you, that was great!

    #1161090
    David
    Staff
    Customer Support
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.