Jump to content

Reducing top padding on a single product section

Go to solution Solved by Ziggy,

Recommended Posts

Hi,

I have a product section below another section with the title for the products in it. The reason I've put the title in another section is because I have styles on the title text (the green underlines that I use across the site) that I can't create within the product title as I don't know how to get that style in CSS.

I want to reduce the top padding of the product section below so it is closer to the title section[data-section-id="6448e8b39f1d256fe08dc494"]

The site is live https://www.decisionspelling.com/. I just want to tweak this gap.

Thanks!

Screenshot 2023-06-07 at 11.56.04.png

Screenshot-2023-06-07-at-11.56.48.jpg

Edited by dotandpeg
added screengrabs
Link to comment
  • Solution

You can try adding this to Custom CSS:

 section[data-section-id="6448e8b39f1d256fe08dc494"] {
   .user-items-list {
     padding-top: 1vmax !important;
   }
}

Adjust the 1vmax value, and let me know if that's working for you.

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

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

  Did I help? Buy me a coffee?

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

Link to comment
On 6/7/2023 at 7:26 AM, Ziggy said:

You can try adding this to Custom CSS:

 section[data-section-id="6448e8b39f1d256fe08dc494"] {
   .user-items-list {
     padding-top: 1vmax !important;
   }
}

Adjust the 1vmax value, and let me know if that's working for you.

@Ziggy Attempting this same solution on my site. Used your Custom CSS, and switched out the section-id number for the correct one, but it's not responding. Can you help me see what I'm missing? 

citychurchknox.com/teaching
password: churchisafamily

Screenshot 2023-06-08 at 10.24.16 AM.png

Edited by kentbateman1
Link to comment
On 6/8/2023 at 9:26 PM, kentbateman1 said:

Attempting this same solution on my site. Used your Custom CSS, and switched out the section-id number for the correct one, but it's not responding. Can you help me see what I'm missing? 

citychurchknox.com/teaching
password: churchisafamily

Screenshot 2023-06-08 at 10.24.16 AM.png

You can use this CSS

div#block-yui_3_17_2_3_1471383568320_25999 {
    padding-top: 0px;
}

 

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.