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.
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
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
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
Hi,
Yes issue solved, thanks
