image max width

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #483
    Milos Stankovic
    Keymaster

    How can I set a max width to the images of the lightbox. I want the images not to exceed 600px as an example.

    Thank you.

    #1097
    milos
    Moderator

    The best way to do it is not to upload images larger than 600px. This is also important for making site faster because too big images load too slow.

    You can also try to add this in style.css file:

    Code:
    #lightbox-image { max:width: 600px; }
    #lightbox-container-image { max:width: 620px; }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.