Restrict width on individual posts

  • Unknown's avatar

    I have a full width template (1024 pixels). However, when I make posts that have more text, I would like to be able to decrease the width of my paragraphs. I would like them to be maybe 774 pixels, but centered in the middle of my blog. Or rather, I don’t want the entire thing centered, but rather I guess the text to be indented on both sides, so that the text starts at the left margin each time, but the left and right margins are in a bit. Is there some html I can insert into specific posts to achieve this?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    You could write a table in HTML to do this, but many themes will do this, or an approximation of this, if you use Blockquote. Try that and see if it does what you want on the theme you’re using.

  • Unknown's avatar

    Above my pay grade but you have the CSS upgrade so you should be able to do some sort of percentage of width for the displayed text

  • Unknown's avatar

    Thanks for your suggestions. I decided to go back and put my sidebar widget back…decided the full width was just too wide for my taste!

  • Unknown's avatar

    For the record: since you have the upgrade, what you were looking for would be done via a custom class. You would invent a name for this class, for instance “narrower”, define its styling in the CSS editor, and then you’d simply use this code in the post editor each time you wanted such a post:

    <div class="narrower">
    
    COMPLETE CONTENT HERE
    </div>
  • The topic ‘Restrict width on individual posts’ is closed to new replies.