• Resolved distinctly

    (@distinctly)


    Hi there,

    Firstly thank you for the great plugin!

    I’ve been testing Ajax Load More using a mostly unedited version of the default repeater template and i’ve noticed that the thumbnail size displayed seems to resize to 65px by 65px when going into mobile/responsive view, but remains 150px by 150px in normal view which is my preferred size. I couldn’t quite figure out why this is happening – is there a way to change this so it no longer resizes?

    Also, I was wondering whether there is a way to edit the repeated template so clicking the thumbnail links to the post? With the default template, only the post title link links to the post.

    Thank you very much for any assistance.

    • This topic was modified 3 years, 3 months ago by distinctly.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter distinctly

    (@distinctly)

    Scratch that, I’ve managed to figure it out by adding the ajax-load-more css style sheet into my theme!

    Still trying to figure out how to link get the thumbnail to link to the post…

    My current code is

    <li class="alm-item<?php if (!has_post_thumbnail()) { ?> no-img<?php } ?>">
       <?php if ( has_post_thumbnail() ) { the_post_thumbnail('thumbnail'); }?>
       <p class="title"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></p>
       <span class="date"><?php the_time("F d, Y"); ?></span>
    </li>

    I’ve been experimenting with moving the <a href to the alm-item class part but without any luck

    • This reply was modified 3 years, 3 months ago by distinctly.
    Thread Starter distinctly

    (@distinctly)

    .

    Plugin Author Darren Cooney

    (@dcooney)

    @distinctly Not sure what you’re asking, sorry. Can you explain more?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Thumbnail resizes in mobile/responsive view’ is closed to new replies.