Jump to content

View Full Screen on Light Box

Recommended Posts

You may want this

To add CSS, go to Design -> Custom CSS
 

image.thumb.png.649866383afaa01893662d5edaed7229.png

.gallery-lightbox-item img {
    width: auto!important;
    height: 100% !important;
    z-index: 99;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%);
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
  • 4 weeks later...
On 8/31/2020 at 4:40 AM, bangank36 said:

You may want this

To add CSS, go to Design -> Custom CSS
 

image.thumb.png.649866383afaa01893662d5edaed7229.png


.gallery-lightbox-item img {
    width: auto!important;
    height: 100% !important;
    z-index: 99;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%);
}

 

Hi Bangan,

I want to enable images in gallery lightboxes to show at their full width (no matter the height), so I used this code:

.gallery-lightbox-item {
  height: auto !important;

}

.gallery-lightbox-wrapper {
  overflow-x: hidden;
  overflow-y: auto;
} 

This works, with one issue: The scroll bar is outside the <Next> arrow.

I tried substituting .gallery-lightbox-wrapper with each of these other IDs I found in the page source: 

  • .gallery-lightbox-wrapper
  • .gallery-lightbox-item-wrapper
  • .gallery-lightbox-item
  • .gallery-lightbox-list
  • .gallery-lightbox-item-src
  • .gallery-lightbox-item-img

Unfortunately the only one that came close was .gallery-lightbox-list — that put the scroll bar inside the arrow, but for some reason scrolling didn't work.

Any ideas to solve this?

Thanks in advance.

Link to comment
  • 2 weeks later...
On 8/31/2020 at 12:40 PM, bangank36 said:

You may want this

To add CSS, go to Design -> Custom CSS
 

image.thumb.png.649866383afaa01893662d5edaed7229.png


.gallery-lightbox-item img {
    width: auto!important;
    height: 100% !important;
    z-index: 99;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%);
}

 

@bangank36 sorry for the late reply, i have been busy with work recently. Thank you for solving this for me! Now I can sleep more peacefully >_< Take care! 

Link to comment
  • 3 months later...
On 1/13/2021 at 8:57 PM, Milefive said:

Is there a CSS code to do this for a form? The scroll function is missing & visitors to my website cannot hit submit

Can you share link to page where you use form? We can check easier

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 2 years later...
On 1/13/2021 at 8:57 PM, Milefive said:

Is there a CSS code to do this for a form? The scroll function is missing & visitors to my website cannot hit submit

Do you mind to share the site URL?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

@Ptphotography I have developed a brand new plugin that allows to the lightbox images to be displayed in high-res (2500px), it allows your customers to review your images in a zoomable version.

 

@Ad7am I knew I am late for this, but if the issue persisted I can check if you give the link

chrome-capture-2023-2-13 (4).gif

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.