Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1492759

    Hello
    How do I set the category sidebar in the shop tab on mobile so that it displays at the top above the products and not at the bottom at the end of the page behind the products?

    But on computers I would like the sidebar with categories to still be displayed on the left.

    #1492761

    Hey dotsystem,

    Thank you for the inquiry.

    Try to add this css code to adjust the order of the sidebar and product content in the mobile view.

    .responsive #top #main .container_wrap.container_wrap_first.main_color.sidebar_left.template-shop .container {
        display: flex;
        flex-direction: column;
    }
    
    .responsive #top #main .sidebar.smartphones_sidebar_active {
        order: 1;
    }
    
    .responsive #top #main main.template-shop.content.av-content-small.units {
        order: 3;
        padding-left: 0;
        padding-top: 0;
    }

    Best regards,
    Ismael

    #1493065

    Thanks, I added this in general CSS but it changed also view on computers.

    So I added @media (max-width: 480px) { – to show only on phones

    • This reply was modified 3 weeks ago by dotsystem.
    #1493486

    Hi,
    Thanks for sharing your solution, shall we close this thread then? If you have questions on a different topic feel free to open a new thread.

    Best regards,
    Mike

    #1493487

    Hi,
    Yes issue solved, thanks

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Shop and sidebar on mobile’ is closed to new replies.