WordPress.org

Ready to get started?Download WordPress

Forums

How to make posts narrower (2 posts)

  1. lmillerconnect
    Member
    Posted 11 months ago #

    I am using Stardust theme and I really love it, except I don't want the posts to be so wide. What do I change in my CSS to make them narrower and have more space on the left side, to match the width of my right sidebar?
    Here's my site: http://lesliemillerwordsmith.com/

    I don't know anything about code so if someone could tell me exactly what words to look for and what to change, I'd be forever grateful. (Okay, that's probably an exageration.

    Many thanks, though.

  2. gransar
    Member
    Posted 11 months ago #

    great site!
    it seems your theme is fluid (the width is determined by the window size), so that when your window is smaller it fills the gap. You could specify a max-width see how it works

    (line 152 of style.css)
    add the second line

    .post {
    margin-bottom: 40px;
    max-width: 380px;
    }

    and increase margin-left of #content (line 276) to increase
    the space on the left:
    margin-left: 426px;

    good luck,
    gransar.net

Reply

You must log in to post.

About this Topic

Tags

No tags yet.