Tagged: blog grid, page links
I implemented the script solution described at https://kriesi.at/support/topic/portfolio-grid-pagination-goes-to-top-of-page/ and it worked the way it was designed to work. However, in my case there are THREE grids on the page, each with different content settings and sitting in their own color sections. Is there a way to have this script work in such a case? My JavaScript skills are minimal, so I haven’t figured out how to capture the current color section ID for use by the script.
Perhaps there’s an IF-THEN-ELSE construct that could parse the current ID to execute the script with the correct ID in place?
Any advice on how to proceed would be appreciated.
You can view the page in question at https://sheriffconsulting.com
Hey IROIROsupport,
Thank you for the inquiry.
Try to call the b function for each section. Example:
$(document).ready( function() {
b('#section-1');
b('#section-2');
b('#section-3');
}
If this doesn’t work, we might have to find the parent of the pagination links and make sure that it points to the current section.
Best regards,
Ismael