Jump to content

Custom CSS to remove padding on one block

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.