Jump to content

How to change the width of a gallery block (7.1)

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

On 2/9/2021 at 6:29 PM, S_H said:

Hi @iamRob - I'm also trying to do the same thing - any help would be much appreciated!

 

On 2/8/2021 at 3:03 AM, iamRob said:

Site URL: https://grasshopper-flamingo-5a5p.squarespace.com/fotostyling/achter-st-pieter

Hi,

Does someone know how I could change the width of the gallery block? I would like it to be around 50% of the page width and aligned to the right.

url: https://grasshopper-flamingo-5a5p.squarespace.com/fotostyling/achter-st-pieter
PW: TryMe

Thanks in advance

Add to Design > Custom CSS

@media screen and (min-width:768px) {
.gallery-masonry[data-width="full-bleed"] {
    max-width: 50%;
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: 0;
}
}

then save & reload your site

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.