Tagged: Accordion
Hi,
I’m about to finish a website redesign for a client. Most things are working fine, just a few minor glitches. (Will open separate threads for each). Login-credentials below.
On one of the pages the accordion doesn’t open images in the lightbox. Instead, when I click on any of the accordion images, the page gets reloaded. (See private content for link to the problematic page).
I’ve double-checked the elements, and the links are definitely set to “open in lightbox”. This problem is happening on desktop and mobile, and only on that page. Accordions on all the other pages work fine.
Could you please help?
Many thanks!
Hey BelIblis,
Thank you for the inquiry.
The lightbox option is not working correctly because for some reason, the value of the href attribute for each item in the gallery is missing. Did you add any custom script to the site, and does it work correctly when the plugins are disabled?
Best regards,
Ismael
Hi Ismael,
No – couldn’t see any custom css code. I fixed it by saving/importing the accordion from another page and changing the images. Everything else is the same (colour section, page-ID, etc). It now works…
My custom CSS file remains unchanged. Which makes me think that it’s probably a bug, either from WordPress or the Theme.
Anyway – Thanks for your help!