HI, I am trying to get the sidebar woocommernce widgets on the top (not bottom) for mobile. I used the code below that I found on an Enfold thread. It works on the mobile perfect, but negatively effects the desktop version by ‘pushing’ all content to the middle. Can you please help?
@media only screen and (max-width: 786px) {
.container {
display: flex!important;
flex-direction: row;
justify-content: space-between;
flex-wrap: wrap;
}
/* Sidebar */
#top .container aside {
order: 1;
flex-grow: 1;
}
/* Main Content */
#top .container main {order: 2;flex-grow: 1;}
Hey Library4All,
You do not have a closing bracket here. Please check the css.
Best regards,
Victoria
hello;
i have the same issue thas whay i wrtote here.
i am not a proffwssional coder but if you tell me where to copy paste what, i can do it..:)
can you tell me what code has to be written to where, to display the left widgets(which i use on desktop version) can be put top before the main content. other wise important widgets stay below the page..
thank you
Hi,
@baterikursu Replied to your thread here – https://kriesi.at/support/topic/to-display-the-left-widgets-on-pc-before-main-content-on-mobile-version/. Let us continue there :)
Best regards,
Yigit
