Tagged: Lightbox
Hello,
I have a page with multiple buttons that each link to an image. When those images open in the lightbox, there are previous and next arrows allowing the viewer to scroll through all the image links on that page. I would like to disable this feature on this particular page, since these images are unrelated and it doesn’t make sense to view them consecutively. Is there any way to remove or hide the previous and next arrows that appear with the lightbox?
Thank you.
Hey jbanobi,
Could you post a link to the site in question so that we can take a closer look please?
Best regards,
Rikard
Thanks for your reply. Our site is not public yet. Is possible for you to explain whether (and how) the arrows can be removed on a particular page without seeing the site?
Thank you.
Hi,
Different site configurations can vary so it would be more efficient help to see the page firsthand. We would at least see the page-id so we can be sure we are only targeting the specific page you need. If possible, you could provide us temporary admin access and direct us to the page you need help with.
Best regards,
Jordan Shannon
Hi Jordan,
I’m not able to supply that access. Could you give a generic solution, and tell me where to make substitutions according to the details of the particular page we want to target?
Thanks.
Hi!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.page-id-59 .mfp-arrow {
display: none!important;
}
and change page ID to your page’s ID.
Regards,
Yigit
Thank you, Yigit! That worked perfectly! You can close this.
Hi,
Let us if you have any future question :)
Best regards,
John Torvik