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.
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
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.
Hey!
Send us a WordPress login and we’ll take a closer look.
Best regards,
Elliott
Ok I’ve sent the login info in Private Content
Hey!
There was a typo, it should be working now.
Best regards,
Elliott