Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1040202

    Hello, im using images in my text.
    How can i tell the system to ‘ lightbox’ this image?
    Can i set this in the settings (problem is, its not every image of course, only those in the text, not in lets stay the banner on top) or do i have to put some shortcode before every image?
    best regards, jelle vanhijte

    #1040790

    Hey jelle,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Here is a thread for you to consider

    Best regards,
    Victoria

    #1040815

    of course!

    • This reply was modified 5 years, 11 months ago by yampieters.
    #1042977

    hello victoria, i think its just the option: Link to media file.
    so, im alright with this one, you can close this ticket, thank you.

    #1043063

    Hi,

    You have to wrap the image tag inside a link tag and add the lightbox class attribute to it.

    <a class="lightbox" href="http://jeelsites.nl/projectnatuurlijkwerken/wp-content/uploads/2018/12/grasdag_04042018_667x445.jpg"><img class="size-full wp-image-47 aligncenter" src="http://jeelsites.nl/projectnatuurlijkwerken/wp-content/uploads/2018/12/grasdag_04042018_667x445.jpg" alt="" width="667" height="445" /></a>
    

    Best regards,
    Ismael

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.