Jump to content

Moving/changing close button in lightbox view on gallery page

Recommended Posts

  • Replies 4
  • Views 1.3k
  • Created
  • Last Reply
3 hours ago, LucasMasch said:

Site URL: https://www.lucasmasch.com/

The X button to close lightbox view on my gallery page is a bit hard to notice, i was wondering what would be the best way to move it so it is close to the top right of the image being displayed, and possibly change it to say "< Back" instead of just the X? 
Here is my website: https://www.lucasmasch.com/

Thanks!

Try this in Design-Custom CSS

.collection-type-gallery #backToThumbs:after {
  content: '< Back';
  color: #000 !important;  
}
.collection-type-gallery #backToThumbs {
  color: transparent !important;
  top: auto; 
  bottom: 0;
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

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

image.thumb.png.e9aaaa9fc9bd184afa10704bc4234aac.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

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
5 minutes ago, LucasMasch said:

thank you! is there any way to get it a bit closer to the photo? ideally if there way to position it at the top right of the photo and have it scale along with it, that would be great

that would require custom javascript injection not just css

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.