Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #25084

    Hello.

    I’d like to remove a link to the original image from a featured image on a single post page.

    I’ve disabled the lightbox and don’t need a link to the original image.

    What should I do?

    #125719

    Hi,

    What type of Blog style do you have? You can find the settings on Enfold > General Settings > Blog Style.

    You can add this on your custom.css Or Quick CSS

    .big-preview.single-big a, .small-preview {
    pointer-events: none;
    cursor: default;
    }

    Regards,

    Ismael

    #125720

    Hi.

    I use Single author, big preview.

    I can’t use your code, because it will disable link to the single post on the blog index page.

    I want to disable the link to the original image file on a single post page.

    #125721

    Hi andreikharlanov,

    Try adding the following CSS to your Quick CSS (located under the Styling Tab in the theme options) or the custom.css file in the css folder of your theme files:

    #top.single-post .big-preview.single-big a,
    #top.single-post .small-preview {
    pointer-events: none;
    cursor: default;
    }

    If you have a link to the page there is also a jquery method as well but I like to make sure its very specific to the page/layout so that it doesn’t cause any outside issues.

    Regards,

    Devin

    #125722

    That worked!

    Thank you very much! :)

    #125723

    Glad we could help :)

    Let us know if you have any other questions or issues.

    Regards,

    Devin

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘How to remove a link to the original image from a featured image?’ is closed to new replies.