[Resolved] Make top bar sticky

Home Forums Support [Resolved] Make top bar sticky

Home Forums Support Make top bar sticky

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #371886
    Craig

    Is there any way to make the “top bar” sticky?
    Your feedback will be appreciated.

    #372074
    Tom
    Lead Developer
    Lead Developer

    You should be able to do this:

    .top-bar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }
    
    .admin-bar .top-bar {
        top: 32px;
    }
    #372246
    Craig

    Thanks Tom, works like a charm…

    #372357
    Tom
    Lead Developer
    Lead Developer

    You’re welcome ๐Ÿ™‚

    #487334
    Joseph

    Do you put the code in Additional CSS? I tried on my site and unfortunately, it did not work for me.
    https://carpetcleaninglittletonco.com

    #487417
    Leo
    Staff
    Customer Support

    Yup in Addtional CSS.

    I don’t see the CSS being added though. Try clearing caching plugin?

    #487451
    Joseph

    Yes, I removed the CSS because it made the top bar appear behind my navigation.

    I put it back on so you could see the result.

    #487485
    Leo
    Staff
    Customer Support

    What is that housecall bar at the top with the Book Online button?

    Is it supposed to be there?

    #1330682
    Louis Huynh

    Hi,

    how can I move top bar, display at bottom of phone and also sticky?

    thank you

    #1330787
    Leo
    Staff
    Customer Support

    Can you open a new topic for your question?

    Thanks ๐Ÿ™‚

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Make top bar sticky’ is closed to new replies.