Skip Navigation

[Resolved] Fancybox not working on Pagination and Sliders

This support ticket is created 5 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 4 replies, has 2 voices.

Last updated by kelvinL-2 5 years, 5 months ago.

Assisted by: Christian Cox.

Author
Posts
#1322035
Screenshot 2019-08-22 at 7.57.50 PM.png
Screenshot 2019-08-22 at 7.55.56 PM.png

Dear Sir/Madam,

Please refer to https://toolset.com/forums/topic/fancybox-not-working-on-second-slider/, sorry for my late review, the topic was closed.

I attached the Pagination and Sliders setting and the script in Views

You can find the issue from hidden link and slider just under the big banner.

When you click the image, the fancy box popup, if the slider is changed, you can't view the previous or next image.

Is there any solution that I can view the image from slider with fancy box?

Best regards,

Kelvin.

#1322157

Maybe this could work if you turn off automatic pagination on the Slider View. Otherwise, the next and previous images may already be removed from the DOM if the Slider has transitioned.

#1322253
Screenshot 2019-08-22 at 11.33.06 PM.png

Dear Christian Cox,

Yes, I think so. How can I add the previous/next on both side of the slider and middle position (see screenshot) to the image?

#1322429

The Thumbnail Slider module comes with navigation buttons built-in: https://toolset.com/documentation/user-guides/creating-sliders-with-types-and-views/how-to-create-a-wordpress-thumbnail-slider-in-minutes/
You could use the module or check out the markup to see how it's designed with CSS.

If you would rather not use the module, you can use the Next and Previous pagination buttons included in Views. Then add your own custom CSS to style them and position them as needed.

#1322643

My issue is resolved now. Thank you!