Move side bar Widget Storefront theme only for mobile
-
Hi Everyone,
I have got an issue with moving my woocommerce sidebar widget.
On desktop it appears on the right side, but on mobile at the bottom.I have got that code which does the job on mobile, but also move my desktop side bar on top and breaks all the desktop layout.
Here is the code that I found. Please help, what I am missing.`.col-full {
position: relative;
}div#primary {
float: left;
width: 100%;
margin-top: 100%;
}div#secondary {
float: left;
width: 100%;
position: absolute;
left: 0;
right: 0;
}`I have seen many articles and codes to add such as:
@media only screen and (max-width: 767px) { .container > .row { display: flex; flex-direction: column-reverse; } }
…but I don’t know how to insert the code above with the correct query.
Many Thanks for your input.
The page I need help with: [log in to see the link]
- The topic ‘Move side bar Widget Storefront theme only for mobile’ is closed to new replies.