-
AuthorPosts
-
April 4, 2017 at 10:22 pm #772036
Hi there, I found out where to turn off lightbox for single posts in the blog, but it still
allows you to click the photo and it opens the photo in a new tab. Is it possible to turn off
all linking to the media for featured images in the individual blog posts?Thanks for your help!
TimApril 4, 2017 at 10:42 pm #772053Hi timothyquinlan!
When you add a image, from the media settings select ” no link ” and that will do fix it
Regards,
BasilisApril 4, 2017 at 10:43 pm #772054There is no “No Link” option when you add a featured image though. Is there a way to make that option appear?
April 6, 2017 at 6:31 am #772964Hi,
Please try the following in Quick CSS under Enfold->General Styling to turn off the link for the image on single blog posts:
.single-post .single-big a { pointer-events:none !important; }
Best regards,
RikardApril 25, 2017 at 5:35 pm #783003Adding this bit of code has caused a large problem on my website. Links in any post or item no longer work because the pointer events are disabled.
How do I stop the lightbox on single blog posts without making all links on my site stop working?
April 26, 2017 at 7:45 am #783294Hi,
That should not happen since it’s only targeting the image, could you try adding the code again so that we can see the problem please?
Best regards,
RikardApril 26, 2017 at 6:55 pm #783653April 29, 2017 at 2:35 pm #784969Hi timothyquinlan,
Please be more specific on where you want to disable images opening. Here sounds l=just like what you wanted or not?
Best regards,
VictoriaApril 29, 2017 at 6:45 pm #785069Victoria, I was given the css to use above, when I used it, you are correct that the lightbox on the images went away. If you read on you will see the issue is that links no longer work in the body text anywhere on the page, because pointer events are now off. I told this to your support team above, which you can read, and I was asked to put the code in again so you could check it.
If you click the link you just sent to me, you are right, the lightbox is turned off, but the problem persists, just scroll down and try to click any link in the body text of the article. The website needs to have working links.
Does this make sense? If you read all of the posts above it should be all laid out.
April 29, 2017 at 7:26 pm #785080Hi,
Try this code instead, in the General Styling > Quick CSS field:.big-preview.single-big { pointer-events:none !important; }
I tested it on my localhost and it allows other links in the page while disabling the featured image click.
Best regards,
MikeApril 29, 2017 at 7:27 pm #785081Works perfectly, thank you!
April 29, 2017 at 9:12 pm #785100 -
AuthorPosts
- The topic ‘Turn off lightbox and link to media on blog?’ is closed to new replies.