Hey,
I’m using the mobile theme + official AMP plugin on my site. On Desktop, I’ve disabled modal and lightbox for the featured image of posts, so it isn’t clickable anymore and it works. But unfortunately, the featured image still opens on the mobile theme / AMP version of the site. How can I prevent that?
Thanks,
eC
Hello,
Please check this topic to disable the option https://wordpress.org/support/topic/how-to-disable-amp-lightbox-for-post-images/
Thank you!
Hello,
once again – I phrased my problem incorrectly. The featured image on the mobile theme / AMP is clickable, so has a media URL set. In the desktop version, I have it disabled everywhere, and it works as it should. But on the mobile theme, it still opens in a new tab. How can I prevent this?
Thanks,
eC
Hello Anamaria,
you still seem to not understand what my issue is. Please have a look here: https://tinyurl.com/2zfrcjbk
When you click the featured image, it DOES NOT open a lightbox, but it opens the media URL. I don’t want it to be clickable/tappable – so when the user is clicking or tapping the image, I want nothing to happen.
How can I achieve that on the mobile theme? On the desktop version it works as expected, I have the lightbox / modal etc. deactivated and you can’t click it. But you still can on mobile.
I’m sorry that I opened this thread with a wrong explanation of my issue and I know you’re just trying to help, but it’s a little frustrating that I have to tell the same story now for the third time already.
Thanks,
eC