Able theme: Fixed width for text

  • Author
    Posts
  • #1113348

    Hi!
    I would like the text in my posts to be centered but with a fixed width. My photographs are 900 pix wide, so I would like the text to stay within that. Now the text goes beyond the photographs on both sides.
    Can someone please help me? :)

    The blog I need help with is emilietommerberg.com.

    #1113452

    One way to do that in the Able theme would be to limit the width of the main container. Here is an example:

    #page-liner {
    	max-width: 980px;
    }
    
    #main {
    	padding: 0;
    }
    #1113453

    Will this constrain the headnings for the posts as well?

    #1113456

    There isn’t a way to just constrain the text? My header got smaller…

    #1113470

    There’s always more than one way to do the same thing. :)

    Try this:

    .entry-content {
    	width: 900px;
    	margin: 0 auto;
    }

The topic ‘Able theme: Fixed width for text’ is closed to new replies.