WordPress.org

Ready to get started?Download WordPress

Forums

Autofocus: How can I reduce the number of posts on main index page? (6 posts)

  1. gmccarth_garry
    Member
    Posted 4 years ago #

    I'm using Autofocus 1.0.1. I'd like to reduce the number of posts shown on the index pages from 10 (in four rows) to 7 (in three rows). How would I go about doing that? (Please note that I'm very new to CSS and PHP, so extra-technical responses will probably generate more questions!) Thanks!

  2. miabake1
    Member
    Posted 4 years ago #

    go to your settings then "reading" then change "blog post at most"

  3. gmccarth_garry
    Member
    Posted 4 years ago #

    Thanks; that worked like a charm!

  4. jtodap
    Member
    Posted 4 years ago #

    I was wondering if there was a way to have 5 rows of 1 post in each row? So posts are on top of each other at the same width? I'm sure there is some coding change involved, any help would be greatly appreciated!~

  5. gmccarth_garry
    Member
    Posted 4 years ago #

    To have 5 rows of 1 post in each row, set your number of posts to 5, as mentioned above.

    Then, edit style.css to change the width of the first 5 featured posts. In the section under /* =home */, find the line that reads:

    .home .featured.post.p1 {border-bottom:5px solid #000;width:595px;}

    Change the width to the width from 595 to 800. This will change the width of post #1.

    Do the same to posts 2 through 5, deleting "border-left:5px solid #000;" from both 2 and 4.

  6. Jyn
    Member
    Posted 4 years ago #

    Is there any easy way to only show the first 5 or 6 lines of each post without having to really dig into multiple PHP pages and change code?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags