More than 20 homeblocks

Support Area Forums Selfie More than 20 homeblocks

Viewing 2 posts - 1 through 2 (of 2 total)
URL to the page in question: http://
  • Author
    Posts
  • #20196
    Anders Christensen
    Participant

    Is it possible to have more than 20 homeblocks?

    Thanks

    #20197
    Bill Robbins
    Moderator

    Anders,

    Good question. It is possible with a bit of editing. Here’s what to do:

    1. Go to the Appearance section in your WordPress control panel and select Edit.
    2. From the list of files on your right, choose page-home-template.php
    3. Find this spot on line 19:
      
      'posts_per_page'	=> '20', 
      

      and change the 20 to a larger number like 30.

    4. Save your changes.
    5. Go to the Theme Options page and choose the Advanced tab. Scroll down to the Custom CSS box and add this:
      
      .window:nth-child(21) {
      	top: 2000%;
      }
      
      .window:nth-child(22) {
      	top: 2100%;
      }
      
      .window:nth-child(23) {
      	top: 2200%;
      }
      
      .window:nth-child(24) {
      	top: 2300%;
      }
      
      .window:nth-child(25) {
      	top: 2400%;
      }
      
      .window:nth-child(26) {
      	top: 2500%;
      }
      
      .window:nth-child(27) {
      	top: 2600%;
      }
      
      .window:nth-child(28) {
      	top: 2700%;
      }
      
      .window:nth-child(29) {
      	top: 2800%;
      }
      
      .window:nth-child(30) {
      	top: 2900%;
      }
      
    6. Update your settings.

    That should increase the number to 30 for you. If you need to have more than that in the future, you’ll change the “posts per page” like above. Then for the custom CSS, follow the same pattern of increasing the number in parenthesis by one and the top percentage by 100.

    Let me know if you have any questions or trouble.

    Thanks,
    Bill

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘More than 20 homeblocks’ is closed to new replies.