Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #511322

    I’ve set up a masonry gallery of 25-30 images, set the columns to 6 and turned on Display Pagination. When I click on the pagination icons/links to see the next set of 6 images, it jumps back to the top of the page, refreshes the page but doesn’t jump back down to the gallery. So the user has to scroll down to the gallery again. Very annoying. I can’t see users wanting to do this every time in order to scroll through 4-6 columns of images.

    I have put a link to the post where you can see this happening in the Private Content.

    #511621

    Hey mikehartrich!

    Add this to a codeblock element in the page.

    <script type = "text/javascript">
    jQuery(document).ready(function(){
    jQuery('.pagination a').each(function(){
    jQuery(this).attr('href', jQuery(this).attr('href') + "#av-masonry-1");
    });
    });
    </script>

    Best regards,
    Elliott

    • This reply was modified 9 years, 1 month ago by Elliott.
    #511802

    Thanks Elliott, I added the code. It’s at the top of the layout elements on the page. It’s still doing that same thing.

    #512375

    Hey!

    Send us a WordPress login and we’ll take a closer look.

    Best regards,
    Elliott

    #512431

    Ok I’ve sent the login info in Private Content

    #512982

    Hey!

    There was a typo, it should be working now.

    Best regards,
    Elliott

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.