• Resolved stanwoodard

    (@stanwoodard)


    (I’ve been trying to search this forum for an answer, but having a hard time coming up with correct search terms)

    The problem occurs when clicking from gallery page-to-gallery page. For example when at the bottom of Gallery Page 1 and clicking to Gallery Page 2; when Page 2 opens it will be at the bottom of the page instead of at the top. Then when clicking back to Page 1 it will open in the middle of the page; the same position we were on from Page 2.

    I hope my description makes sense when you visit the page. TIA

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Imagely

    (@imagely)

    Hi @stanwoodard,

    Let’s try implementing that using the custom JS snippet from below by adding it using a plugin like Custom CSS and JS:

    jQuery(document).on("click", ".ngg-navigation a.page-numbers", function(){
    	setTimeout(() => {
     	 jQuery("html, body").animate({ scrollTop: 0 }, "fast");
    	}, "1000")
    })

    The above should trigger a scroll to top animation on the pagination’s button click event.

    • This reply was modified 2 years, 6 months ago by Imagely.
    • This reply was modified 2 years, 6 months ago by Imagely.
    • This reply was modified 2 years, 6 months ago by Imagely.
    Thread Starter stanwoodard

    (@stanwoodard)

    Thanks for the advice. I added the Custom CSS and JS plugin and the JS provided. I was able to add some JS so the arrows work the same as the numbers; scrolling up to the top.

    The site owner wants to know if the paid version will eliminate the scrolling and simply open at the top. There are some formattingissues that might be improved with the paid version. Also wondering if a license can be used for multiple sites.

    Plugin Contributor Imagely

    (@imagely)

    Good to hear that it worked.

    We are not allowed to provide any pre-sale or premium related support here in the forum but you can reach our support team directly at https://www.imagely.com/contact/ in case of any questions.

    • This reply was modified 2 years, 6 months ago by Imagely.
    • This reply was modified 2 years, 6 months ago by Imagely.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘gallery page-to-page opens in middle of gallery’ is closed to new replies.