• Hey Guys,

    So I know that those of you that are familiar with this theme will tell me it is very difficult to edit, put together, etc. But that isn’t my problem… I actually have the theme together quite well and really enjoy it. I’ve done a bit of editing to change things to the way I want them, however I am having a problem getting the “Side Scroller” for the homepage thumbnails to… well, do anything.

    There is 2 arrows on the far right of the theme that, to my understanding, are supposed to scroll through previous posts and display their thumbnails on the front of the page when the button is hit. For the moment, it only displays the latest 20 posts. I would like to fix this, as I am using it as a standard portfolio/photography website.

    https://www.daveladnerdigital.com is the website, so you can see what I mean. I’ve tried searching through multiple forums and have not found a fix.

    Let me know if you can be of any assistance or need more information/code from me.

    Thanks,
    Dave Ladner

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter daveladner

    (@daveladner)

    Hate to bump this but just wondering if anyone had a clue as to what it could be? The link to the “next page” on the button is just my website with /# so it makes me think it’s PHP or something?

    Not sure…

    Are you wanting more images to show up when clicking the right arrow? I don’t have the theme installed but is there a theme options page somewhere in your dashboard that will let you change the default value from 20 to something higher?

    Thread Starter daveladner

    (@daveladner)

    Thanks for the reply JarretC.

    That is precisely what I am wanting, for posts that are not the most recent 20 to show up when someone were to click the right arrow. I have seen it working before so know this is the intent, just can’t remember the site that used it properly.

    The theme originally had 5 photos at the very top as well, but I removed that section as I found it crowded so I am wondering now if when I go above 25 it will start to scroll properly…
    [Edit: this did not fix it]

    I don’t believe there is a simply option in the WordPress settings though as I had to edit some CSS to change this.

    A few modifications are needed….

    Modify home.php to look like

    <?php get_header(); ?>
    
    <!-- Begin bottom thumbnails -->
    <div class="home-thumbs bottom-thumbs">
    <?php $home_query_bottom = new WP_Query("cat=&showposts=100"); ?>
    <ul class="thumbs">
    	<?php while ($home_query_bottom->have_posts()) : $home_query_bottom->the_post(); ?>
    
    	    <li class="post-<?php the_ID(); ?> thumb"><?php get_the_image( array( 'custom_key' => array( 'thumbnail' ), 'default_size' => 'thumbnail', 'width' => '160', 'height' => '160' ) ); ?></li>
        <?php endwhile; ?>
    </ul>
    </div>
    
    </div> <!--end container-->
    <?php wp_footer(); ?>
    </body>
    </html>

    Then you also need to modify style.css and change

    ul.thumbs { width: 1600px; list-style: none; margin: 0; padding: 0; position:relative; top:0; left:0; right:1600px }

    to something like

    ul.thumbs { width: 2600px; list-style: none; margin: 0; padding: 0; position:relative; top:0; left:0; right:2600px }

    That should work or at least it is working for me.

    Thread Starter daveladner

    (@daveladner)

    JarretC, you are excellent.

    That got the sidescrolling to work, however it is cutting the thumbnails off. I should try before asking, but I’m going to assume this is because each thumbnail is set to 160px wide, so if I make the new horizontal value a multiple of 160 it should work properly. Thanks so much!

    Since you are so helpful and on a more challenging note: any way to make this silly theme display properly on ALL resolutions, and not just those users using 1920 width resolutions? I’ve been hearing some feedback about menus being cutoff, etc, from people on Mac’s and with low resolution. ?? If you’re up for the challenge.

    Although I have heard it is not a “quick fix” sort of deal…

    Thanks again!

    [Note: I removed the change for now until I have enough new posts/pictures to actually populate the side scrolling menu. Greatly appreciate the fix though!!]

    Its possible but as you said its a lot of work and not a quick fix, just not something I have time for right now ??

    Thread Starter daveladner

    (@daveladner)

    No worries at all good sir.
    I shall look further into the matter, perhaps someone has already posted a fix for it elsewhere.

    Thanks again for your help!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Fix "Fullscreen" Theme home page sidescrolling’ is closed to new replies.