more than 20 blocks

Support Area Forums Selfie more than 20 blocks

Viewing 4 posts - 1 through 4 (of 4 total)
URL to the page in question: http://imagnry.com
  • Author
    Posts
  • #32225
    Peter Hedrich
    Participant

    Hi Bill,

    I’ve changed queries.php
    from $query->set( ‘posts_per_page’, 20 ); to $query->set( ‘posts_per_page’, 50 );

    Nevertheless not more than 20 blocks can be displayed.
    Example here : http://imagnry.com/colors/ . There are 21 blocks and the 1st one doesn’t shop up any more. The 1st block is – like in all other pages – always the b/w animated gif.
    What am I missing ?

    best
    Peter

    #32227
    Bill Robbins
    Moderator

    Hi Peter,

    Good question. That will change the number that can be added to the HTML, but we’ll need a bit of CSS to make it visible. You’ll want to add something like this to the Custom CSS box in the advanced tab of the theme options page.

    
    .window:nth-child(21) {
    	top: 2000%;
    }
    
    .window:nth-child(22) {
    	top: 2100%;
    }
    
    .window:nth-child(23) {
    	top: 2200%;
    }
    
    .window:nth-child(24) {
    	top: 2300%;
    }
    

    You can add more to that. Just increase the 24 to 25 and so on and the 2300 to 2400 and so on for each additional ones.

    Let me know if that doesn’t do the trick.

    Bill

    #32229
    Peter Hedrich
    Participant

    Wow, this was a quick response.

    Yup, adding the code to Custom CSS did the trick.

    Tnx a lot
    Peter

    #32232
    Bill Robbins
    Moderator

    Glad that fixed it Peter. Let me know if you need anything else.

    Bill

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘more than 20 blocks’ is closed to new replies.