Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1146039

    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;}

    #1147235

    Hey Library4All,

    You do not have a closing bracket here. Please check the css.

    Best regards,
    Victoria

    #1171047

    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

    #1171060

    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

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.