[Resolved] Sidebars above content on mobile

Home Forums Support [Resolved] Sidebars above content on mobile

Home Forums Support Sidebars above content on mobile

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1654884
    Paul

    How can I move both left and right sidebars to display above content 768px and below? I tried the CSS David has suggested here, but no change on the front end.

    https://generatepress.com/forums/topic/move-sidebar-position-on-mobile/

    Thanks,
    Paul.

    #1655001
    Ying
    Staff
    Customer Support

    Hi Paul,

    Could you can link us to the site in question?

    You can use the private information field.

    Let me know πŸ™‚

    #1655138
    Paul

    Link pasted in private information…

    #1655165
    Ying
    Staff
    Customer Support

    Try this CSS:

    @media (max-width: 768px) {
        #right-sidebar {
            order: -2;
        }
        #left-sidebar {
            order: -1;
        }
    }

    Let me know πŸ™‚

    #1655988
    Paul

    Works perfectly, thanks for your help πŸ™‚

    Paul.

    #1656318
    Ying
    Staff
    Customer Support

    Glad to help πŸ˜›

    #1874641
    Paul

    Resolved.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.