Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #124921
    voodoochill
    Participant

    I want to make the sidebar move above the content instead of beneath the content when viewed on mobiles.

    Can anyone please tell me the code I need to edit to do this, many thanks.

    #124955
    tikaram
    Participant

    @voodoochill: Go to Appearance => Customize => Additional css and add the following css.

    @media screen and (max-width: 990px) {  
     #content .wrapper {
       display: flex;
       flex-direction: column;
    }
    
    #content #main {
    order: 2;
    }
    
    #content .sidebar-primary {
    order: 1;
    }
    }

    Let me know if you have any further issues.

    Regards,
    Tikaram

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Sidebar move to top on mobiles instead of bottom’ is closed to new replies.