-
AuthorPosts
-
October 4, 2021 at 6:02 pm #1323516
I want to remove the opening of the images in the articles is it possible to do this?
October 5, 2021 at 10:11 am #1323592Hey pontedellarco,
Thank you for the inquiry.
Are you trying to remove the link from the images? Please post a link to the page containing the articles so that we can check it.
Best regards,
IsmaelOctober 5, 2021 at 10:17 am #1323596I don’t want the article images (all articles) to open in lightbox
October 5, 2021 at 1:22 pm #1323631Hi,
Please add following code to Quick CSS field in Enfold theme options > General Styling tab
.single-post .lightbox-added:not(.mfp-iframe) { pointer-events: none; }
Best regards,
YigitOctober 5, 2021 at 2:05 pm #1323638it works thanks, I have to ask you another thing you see on this page there is a link that should open directly on youtube and not in lightbox, is it possible to do it?
October 6, 2021 at 10:56 am #1323741Hi,
Thank you for the update.
You can add the noLightbox class name to the link element to disable lightbox linking.
Example:
<a href="#" class="noLightbox">Link to Somewhere</a>
Best regards,
IsmaelJanuary 29, 2022 at 7:21 pm #1337846hi i don’t know why but this script doesn’t work anymore, can you help me?
January 30, 2022 at 10:40 am #1337903pay attention on the writing of noLightbox – it works casesensitive – if you use nolightbox it will not do the job
January 30, 2022 at 4:06 pm #1337914the script is copied and pasted and it worked before, now it doesn’t work anymore, can you help me please?
January 30, 2022 at 8:34 pm #1337926can you post the script here!
i’m participant as you are – so no private content for me to see.January 30, 2022 at 8:40 pm #1337929.single-post .lightbox-added:not(.mfp-iframe) {
pointer-events: none;!important;
}January 30, 2022 at 8:42 pm #1337930sorry i was wrong, this is right
January 30, 2022 at 8:43 pm #1337931January 30, 2022 at 8:44 pm #1337932January 30, 2022 at 8:44 pm #1337933January 30, 2022 at 8:45 pm #1337934`<a href=”https://isoladipatmos.com/wp-content/uploads/2021/07/Audio-lettura-piccolo.jpg” class=”noLightbox”>Link to Somewhere</a>
January 31, 2022 at 4:49 am #1337966Hi,
Thank you for the info.
Where did you add the link? Please post the site URL in the private field so that we can check the element. Is the default lightbox still enabled? Please check if the Lightbox Modal Window option is still enabled in the Enfold > Theme Options panel.
Best regards,
IsmaelJanuary 31, 2022 at 1:07 pm #1338044thanks i managed to make it work
February 1, 2022 at 5:20 am #1338125 -
AuthorPosts
- The topic ‘remove lightboxes from article images’ is closed to new replies.