Two Sidebar Layout
-
Hello,
I’m wondering about the best way to handle a sidebar/content/sidebar layout when wanting to maintain 300px. I tested on different devices, like the iPad, and the content area shrinks too much.
I’m using the following CSS, am I doing something wrong? How to avoid sidebars on tablets that are 1024px or more width?
@media (min-width: 769px) { #left-sidebar { width: 320px; } .inside-left-sidebar { height: 100%; padding-right: 10px; padding-left: 10px; } #right-sidebar { width: 320px; } .inside-right-sidebar { padding-right: 10px; padding-left: 10px; } body:not(.no-sidebar) #primary { width: calc(100% - 640px); } }
Link to page: https://shorturl.at/zAS05
Screenshot: https://postimg.cc/4YFJhy40
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- The topic ‘Two Sidebar Layout’ is closed to new replies.