WordPress.org

Support

Support » How-To and Troubleshooting » Change posts per row

Change posts per row

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Kathryn

    @zoonini

    For posts per page:

    Settings > Reading > Blog pages show at most XX posts

    Change XX to the number of posts per page that you want.

    For the number of posts per row, you’ll need to edit your theme files – could be the category.php, index.php or other templates, depending how you’ve done your theme. Or edit your CSS to change the width of your individual post boxes to fit more or fewer per row.

    Thanks for getting back to me, I need the posts changed in the category.

    Here is my category.php
    [Code moderated as per the Forum Rules. Please use the pastebin]

    Is it here? or in CSS?

    Moderator Kathryn

    @zoonini

    Play with this CSS – strongly recommend doing this on a test server or local copy of the site:

    .entry-list {
    
    	float: left;
    
    	width: 150px;
    
    	display: inline;
    
    	margin: 0 5px 0 15px;
    
    	padding: 5px;
    
    	}

    You can increase or decrease the width.

    However, since you have thumbnail images associated with each post, you’ll need to change those dimensions too. I can’t tell you off the top of my head how to do that, it depends how your theme is set up. Is this a theme you downloaded from somewhere or did you create it from scratch? Did it come with any support or documentation? Often the theme maker will tell you how to change things like this more easily.

    It is a modified TwentyTen theme (I wasn’t the one that modified it). I have absolutely no word from who changed it so I’m just diving into it right now.

    I’ll try the CSS though

    esmi

    @esmi

    Forum Moderator

    Don’t edit the Twenty Ten theme! Your changes will be over-written the next time you upgrade WordPress or the theme. For this reason, it is recommended that you consider creating a child theme for your customisations.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change posts per row’ is closed to new replies.