This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Limit Container Width to 750px for Blog Posts Only

Resolved 5 replies premiumthemetheme-vantage
11 years ago · Last reply by Andrew Misplon 11 years ago

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

5
  1. Andrew Misplon Staff 11 years, 5 months ago

    Hi 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.

  2. Tara 11 years, 5 months ago

    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

  3. Andrew Misplon Staff 11 years, 5 months ago

    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; }
  4. Tara 11 years, 5 months ago

    Yes, that’s what I wanted! Thank you

  5. Andrew Misplon Staff 11 years, 5 months ago

    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.

Have a different question or issue?

Start New Thread