Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #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!
    Tim

    #772053

    Hi timothyquinlan!

    When you add a image, from the media settings select ” no link ” and that will do fix it

    Regards,
    Basilis

    #772054

    There is no “No Link” option when you add a featured image though. Is there a way to make that option appear?

    #772964

    Hi,

    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,
    Rikard

    #783003

    Adding 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?

    #783294

    Hi,

    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,
    Rikard

    #783653

    I just re-enabled it. You will see that links placed in the body text of Portfolio Items (HERE) and blog posts (HERE) No longer work.

    #784969

    Hi 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,
    Victoria

    #785069

    Victoria, 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.

    #785080

    Hi,
    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,
    Mike

    #785081

    Works perfectly, thank you!

    #785100

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Turn off lightbox and link to media on blog?’ is closed to new replies.