Jump to content

Padding on Grid-overlay sections

Recommended Posts

Posted (edited)

Does anyone know of a way to remove some padding on the sides of the grid-overlay? Adjusting the site padding overall does the trick but ruins the internal pages. Is there away to affect the padding of just the grid pages?

I want to line up the grid with my nav (just like my other pages)

Appreciate any help, thanks.

 

these two pages:

http://www.martiandesign.com

https://www.martiandesign.com/play

Screenshot 2023-10-06 at 9.54.51 AM.png

Edited by Martian
Posted

Well, if anyone is interested, this is the code I got from ChatGPT which worked out pretty good and I'm happy enough with the results unless someone has a better idea: 


/* Apply styles for desktop screens */
@media screen and (min-width: 1440px) {
    .collection-type-portfolio-grid-overlay .portfolio-grid-overlay {
        padding-left: 0px !important; /* Adjust as needed */
        padding-right: 0px !important; /* Adjust as needed */
    }
}
 

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.