Jump to content

Cannot decrease padding/spacing and its driving me nuts!

Go to solution Solved by Ziggy,

Recommended Posts

I'm having an issue with decreasing the spacing between two items on the page. The website name is kailinart.com. The issue is on the home page between the top banner slideshow and the instagram slideshow.  I've tried many different custom codes found on the forum and nothing is helping! Help! 

Screen Shot 2023-03-31 at 4.37.50 PM.png

Link to comment
26 minutes ago, VisualNotes said:

is very right, have you tried adding the !mportant property?

.collection-type-index .page-content {
    padding: 24px 32px !important;
}

Always worth a try!

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
🔌
 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 Did I help? Buy me a coffee?

Link to comment
  • Solution
Posted (edited)

@Crosbygurlworld

Ah, yes and no!

For the code I provided, you would want to add it to Design -> Custom CSS.

But... you can add it to the page header code injection (your screenshot), but since this space is designed for HTML rather than just CSS, we have to define the code as CSS styles like this:

<style>
 .collection-type-index .page-content {
   padding: 24px 32px !important;
 }
</style>
Edited by Ziggy

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
🔌
 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 Did I help? Buy me a coffee?

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.