Css Category Archives

WHAT'S YOUR QUESTION?

How to Hide Sidebar on Mobile Screens image

By Comments(0) Upvotes(0) Downvotes(0)

How to remove the sidebar completely when people are viewing on mobile, then maybe add another container at the top of the page with the logo in. This way there's a lot more room for the page to breathe since it's just a 100% width container, above a...



0
You have the right idea, but there are a couple things that need to be changed. Instead of using max-height it would be better to use max-width. Usually, 768px is considered the breakpoint for mobile width vs. desktop width (remember that users can t...
answered