Site logo

[Support request] How do I disable right sidebar in tablet view?

Home Forums Support [Support request] How do I disable right sidebar in tablet view?

Home Forums Support How do I disable right sidebar in tablet view?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2603728
    Ian

    Hi,

    My site uses a right sidebar, which looks great on desktop and mobile, but it’s not good in tablet view. How do remove the sidebar in tablet view and place its contents below the body as it does in mobile view?

    Ian M

    #2603732
    Fernando
    Customer Support

    Hi Ian,

    For reference, can you provide the link to the site in question?

    You may use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    #2603802
    Ian

    Hi Fernando,

    Yes, it is https://moneytree.express/

    #2603927
    David
    Staff
    Customer Support

    Hi there,

    try adding this CSS:

    @media(max-width: 1024px) {
        .site-content {
            flex-direction: column;
        }
        #primary,
        #right-sidebar {
            width: 100%;
        }
        site-main .site-main  {
            margin-right: 0
        }
    }
    #2603943
    Ian

    Great, that worked perfectly. Many thanks, David and team!!!

    #2603977
    David
    Staff
    Customer Support

    Glad to be of help!

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