[Support request] Top Bar Display on Mobile – Responsive Top Bar

Home Forums Support [Support request] Top Bar Display on Mobile – Responsive Top Bar

Home Forums Support Top Bar Display on Mobile – Responsive Top Bar

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #701530
    Dustin

    How can I get the top bar to display in mobile, and not just on desktop?

    Also, can you include an option for making the top bar sticky on mobile, and an option for making the top bar not sticky on mobile?

    GeneratePress 2.1.4
    GP Premium 1.7.2
    #701743
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    In your custom CSS, remove this:

    @media (max-width: 768px) {
        .top-bar {
            display: none;
        }
    }

    To make the top bar sticky, you can try this:

    .top-bar {
        position: sticky;
        top: 0;
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.