Shop sidebar on top in mobile view

Home Forums Gillion Theme Shop sidebar on top in mobile view

Home Forums Gillion Theme Shop sidebar on top in mobile view

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    RESOLVED Posts
  • davelow
    Participant

    Hi there,

    I just enabled the sidebar for the shop page (for product filter), works fine on the desktop, however for mobile devices the secondary container is stacked below. anyway to show the secondary container on top for gillion theme?

    much thanks for your time.

    Dave

    Hi Dave,

     

    I hope you are well today and thank you for your question.

     

    Could you please share the page URL from your site where it is displaying so that I can help you to achieve it?

     

    Best regards,
    Shufflehound team

    davelow
    Participant

    hi, thank you for the prompt reply.

    https://www.dogsactually.com/shoppe/

     

    Solution for this topic

    You can achieve it by adding the following CSS code in the Custom CSS code option of your theme on the below path.

     

    Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code

     

    @media(max-width:767px) {
        .post-type-archive-product #content-wrapper {
            display: flex;
            flex-wrap: wrap;
        }
        .post-type-archive-product #content {
            order: 2;
        }
        .post-type-archive-product #sidebar {
            order: 1;
        }
    }

    davelow
    Participant

    thank you. It worked out nicely.

     

    Dave

    You are most welcome here 🙂

Viewing 6 posts - 1 through 6 (of 6 total)