• Resolved instaracofechat

    (@instaracofechat)


    What php file or what css can I put in. To remove the sidebar for the mobile version of my site? I have the Twenty-Sixteen Theme.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter instaracofechat

    (@instaracofechat)

    I got a answer for anyone who is looking for it. Here is the code, it will even partially remove for some tablets:

    @media (max-width:768px){
    .sidebar{
    display:none;
    }
    }

    Use a media query to hide the sidebar on the screen sizes you don’t want it to appear on. You can put that in Appearance > Additional CSS or create a child theme and put it in your child theme’s style sheet.

    Thread Starter instaracofechat

    (@instaracofechat)

    girlllll you too late, but still thank you though ;-p

    I have tried this as well as plenty of other suggestions and nothing has worked! Can anyone help me with the same problem?

    The above code should definitely do the trick, unless you are using a template/theme that has replaced the default .sidebar class. URL?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove Sidebar From Mobile’ is closed to new replies.