Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #8638

    Hi dear,

    is there any way to disble (even deleting a portion of code) the lightbox in the single post page? For me is useless to get the lightbox in the image of a single post.

    It’s very important!

    Thanks in advance for your help!



    you can add a class of ‘noLightbox’ to individual images.


    At line 800

    autolinkElements: 'a[rel^="prettyPhoto"], a[rel^="lightbox"], a[href$=jpg], a[href$=png], a[href$=gif], a[href$=jpeg], a[href$=".mov"] , a[href$=".swf"] , a[href*=""] , a[href*=""] , a[href*=""]'

    You can remove the entries that you do not want a lightbox element created for automatically.



    I too need to adjust the lightbox feature. I do like it for certain instances but on my homepage I have a link to a vimeo page, NOT A VIMEO VIDEO, yet I get the infinite spinning wheel as if lightbox is loading. Seems to be that anytime a url starts with vimeo, it think’s it’s a video which is not the case here.

    Any ideas on how to isolate this problem, yet still keep lightbox enabled for other videos? I don’t want to disable lightbox for my entire site. Thanks so much in advanced!


Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘How to disable/remove lightbox on single post page’ is closed to new replies.