Archived topic
How can I inverse the right side bar widget?
3 replies · Started by Henry on July 29, 2020
What I mean is that at the moment I have a page template which is like this:
=== DESKTOP ===
< HEADER >
< CONTENT > < SIDE BAR WIDGET >
^ that layout is fine, but on mobile, this happens:
=== MOBILE ===
< HEADER >
< CONTENT >
< SIDE BAR WIDGET >
=== IDEAL MOBILE ===
< HEADER >
< SIDE BAR WIDGET >
< CONTENT >
So, is it possible to flip the widget to the top and not the bottom, i.e. change the ordering?
Thanks!
Hi there,
try this CSS:
@media (max-width: 768px) {
.site-content {
display: flex;
flex-direction: column-reverse;
}
}
Thats excellent thanks very much
You're welcome