Jump to content

Moving/changing close button in lightbox view on gallery page

Recommended Posts

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;
}

 

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, 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

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, 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

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, 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.