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

    Hello,
    how can I just remove the lightbox link on a single blog-page without changing the layout?

    Thanks!

    #1473515

    Hey xela,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    .postid-2500 a.lightbox-added {
    	pointer-events: none;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1473540

    Thanks, and sorry, I did not make it clear:
    This action should be removed on EVERY blog-detail-page, and I mean just the header-image, not the lightbox go the galleries itself.

    Thanks again!

    • This reply was modified 5 days, 21 hours ago by xela.
    #1473568

    can you try in child-theme functions.php:

    add_filter( 'avf_post_ingnore_featured_image_link', '__return_true' );
    
    #1473570

    Great, that works out fine — thanks!

    #1473599

    Hi,
    Glad Guenni007 could help, thank you Guenni007, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Remove lightbox-link from image’ is closed to new replies.