Jump to content

Wells Template, Gallery Page - How to add padding?

Recommended Posts

  • Replies 7
  • Views 1.7k
  • Created
  • Last Reply

Try this.

Insert it in the Custom CSS area (after any other code if you have any) and change the height and width to get the spacing you want. 

.collection-type-gallery #thumbnails .thumb {
	background-color: #fff;
}

.collection-type-gallery #thumbnails .thumb img {
    width: 90%;
    height: 90%;
}

 

Link to comment
  • 6 months later...

Hi guys hope you are well..

A newbie really to Squarespace CSS, but just catching up on this. Trying to add padding to the masonry page under gallery and this code doesn't seem to work. It actually just lingers in the header CSS! Have you managed to increase the padding size around the masonry images pages? 

Thanks so much

Link to comment
On 5/13/2020 at 7:12 AM, BenjaminWPhoto said:

Hi guys hope you are well..

A newbie really to Squarespace CSS, but just catching up on this. Trying to add padding to the masonry page under gallery and this code doesn't seem to work. It actually just lingers in the header CSS! Have you managed to increase the padding size around the masonry images pages? 

Thanks so much

Can you share link to masonry page?

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
  • 3 months later...
2 hours ago, Lalie said:

Hi there - I also have a Wells gallery that's in need of  more air / white space. I tried your code Colin, - added it to the Custom CSS area and changed the % - but nothing is happening... I'd grateful of some help. Thanks 
https://valeriewartelle.co.uk/portfolio

add !important to after

eg: width: 40% !important;

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

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.