Limit Container Width to 750px for Blog Posts Only
I’d like the reply section, blockquotes, social media widget at the bottom, featured image etc. all to be limited to 750px, but just for single blog posts.
Is there an easy way to do this?
Thanks
URL: http://www.tarahanrahan.com/cravings-binging-emotional-eating/
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
5Hi Tara
Give this a try under Appearance > Custom CSS:
article.post .entry-categories, article.post .share-buttons, #single-comments-wrapper { max-width: 750px; margin: 0 auto; }If you don’t want post categories to be included then delete the first selector (first line), including the comma. If you don’t want the social icons to be included then delete the second line including the comma.
It seems to have worked on the comments box and social media, but the featured image, paragraph text, and horizontal line have stayed the same. I’ll leave the CSS active so you can check the link above to see how it’s worked.
Thanks
Sorry I’m not entirely following your question. Do you want to make the entire content area 750px? If so remove my previous CSS and use:
.single #primary { margin: 0 auto; max-width: 760px; }Yes, that’s what I wanted! Thank you
Super, glad that helped.
Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.