Archived topic
Whats the best/popular site width?
5 replies · Started by Zipeng on October 26, 2018
Whats the best/popular site width? I found my right siderbar sometimes not visible in the screen width of device that like tablet or ipod. the desktop view if too small, part of sidebar is not visible. can you help me to fix it? desktop with big width screen and phones usually are OK.
I don't think there's a right answer - it depends on the design of your website. 1200px is always a pretty safe bet.
It's possible to make it so the sidebar has a fixed width with some CSS: https://generatepress.com/forums/topic/setting-sidebar-size-to-not-shrink-with-different-screens/#post-542623
I tried 1200, but the ads goes out of the sidebar. Take a look. But there is room on the left still. The ads is always not in the center of the sidebar as it should be. Even the first one, it looks like in the center, but its not, the ads only shows half of it, when I expands the site wider, the ads appears fine, but still lean to the right. Hope you can tell me how to fix it.
Since your ads aren't responsive, you'll need to set a fixed sidebar width like this: https://generatepress.com/forums/topic/setting-sidebar-size-to-not-shrink-with-different-screens/#post-542623
That example is using 300px, but you might need to tweak it to suit your needs.
Is right sidebar only appear on the desktop view? and always disappear on tablet/ipad device?
Hi there,
when the screen width reaches 768px wide the sidebars stack below the primary content.