Jump to content

Custom CSS to remove padding on one block

Recommended Posts

  • Replies 1
  • Views 371
  • Created
  • Last Reply
On 6/23/2021 at 8:36 AM, ohaskmeaskme said:

Site URL: https://www.stephaniecarlin.com

Hi there, I would like to remove the top and bottom padding from just one block in an index page. I can't seem to find code anywhere that works with my template (Miller, 7.0). Any advice? Thank you!

Screen Shot 2021-06-22 at 9.35.47 PM.png

Add to Design > Custom CSS > Then save & reload the site

/* as featured on padding */
section#as-featured-on-alt-color>div {
    padding-top: 0px;
    padding-bottom: 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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.