September 10, 2012 at 1:44 pm #16040
I’d like to know the proper way to increase the sidebar width so it can contain banners that are 300px wide and still look good in all browsers, including mobile devices (responsive mode). I understand that the content area needs to be narrower as well, but haven’t managed to do it without breaking the layout.
Also, how to add a divider between blog posts in the loop?
TIASeptember 12, 2012 at 5:02 pm #89933
The big issue you are going to have if you NEED to have 300px width sidebars is the whole thing is part of a grid system where the sidebars are actually in a 290px wide grid of 4 columns and the content is 8 columns making up a total of 12. If you start to mess with that it tends to break the whole layout and all the fixes that rely on the grid. You would have a much easier time just using sidebar content that is 290px wide and then removing the 30 pixel padding and margin on the sidebar. Or, using content that is 260px wide and not editing the dimensions at all but that is a bit more restrictive.
Really, we wouldn’t be able to walk you through modifying the layout that extensively and still being able to keep everything responsive and have no issues cross browser.
You can modify the loop for the blog in includes>loop-index.php. So perhaps right after:
Depending on what you want to do and where you want it to be included on each post.
DevinSeptember 13, 2012 at 12:10 pm #89934
Thanks for your answer.
The reason why I NEED to use 300 px banners is simply because that’s what many advertisers use these days. See for yourself at http://www.iab.net/guidelines/508676/508767/displayguidelines – 250 px was retired in Feb 2011.
When I integrate a ready-made HTML template with a CMS like CMS Made Simple I usually take advantage of the existing column/grid system to create a sidebar with a suitable width. Maybe this is possible to achieve with WP as well without breaking the overall layout – any ideas?
Anyway, I hope you’ll make place for these kind of banners in future theme releases as other providers already have.
dblomsterSeptember 13, 2012 at 12:17 pm #89935
The topic ‘Widen sidebar to contain 300px banners and divider between posts’ is closed to new replies.