Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1135739

    Hey, as the lightbox is currently designed, the text and close button move up/down according to the image size. I want to keep them static (cross at the top, text below).
    I’ve been trying to do this myself for the last few days but can’t seem to get it to work at all. I assumed setting <figcaption> element’s position to fixed would help me do this, but it did not work at all. Can you guide me on how to do this? Thanks!

    Website page link for reference: http://shilpagupta.com/words-come-from-ears-test2/

    #1135812

    Hey mlndshh,

    I checked your site but couldn’t find the caption text.

    The caption text will move if the image size is different please try making all the images of the same height. You can also try the images in png format with blank space on top and bottom to maintain the same height.

    Best regards,
    Vinay

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

You must be logged in to reply to this topic.