Jump to content

How to adjust margins between images?

Recommended Posts

  • Replies 5
  • Views 723
  • Created
  • Last Reply

Top Posters In This Topic

On 7/25/2021 at 11:26 PM, chloec said:

Site URL: https://www.chloecamille.net

Hi everyone,

I need your help! I would like the horizontal and vertical margins between images to be similar (here my website https://www.chloecamille.net and the password cam2021) but I believe it requires some code, do you have any idea how to fix this? Thank you!

Add to Design > Custom CSS

/* Portfolio items spacing */
.tweak-portfolio-grid-basic-height-small .portfolio-grid-basic {
    grid-column-gap: 15px;
    grid-row-gap: 15px;
}

 

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
14 hours ago, chloec said:

Thanks! I tried your CSS code but it changes the homepage grid and not the project page grid. Maybe I wasn't clear, sorry! Here the page I talk about : https://www.chloecamille.net/work/oku. Thank you !

Between 3 images on top of oku 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
On 8/2/2021 at 2:58 AM, chloec said:

Yes, maybe it's more obvious here (https://www.chloecamille.net/work/seasonly) but the horizontal and vertical marges which separate images are not the same and I would like to adjust that. Do you know if it's possible? Thanks!

Add to Design > custom CSS

/* seasonly images padding */
@media screen and (min-wdith:768px) {
div#block-yui_3_17_2_1_1620938652443_7516 {
    padding-right: 12px;
}
div#block-yui_3_17_2_1_1620938652443_8673 {
    padding-left: 12px !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

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.