Jump to content

How do you add a border for each image in the Simple Gallery Block?

Recommended Posts

Here is a code snippet that adds a border to the images. Add this that page's code header injection. I am not sure what you mean by the second part of your request - it seems like the captions already don't show on the main page:

<style>
   .gallery-grid-item img {
      border: 2px solid gray;
   }
</style>

 

Feel free to email me with any customization inquiries or questions you may have!

Free Squarespace Resources: DevTools Minicourse,  11-Step Guide to Improve Custom CSS, Free Product/Pricing Comparison Table Generator

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.