Jump to content

Remove padding at top of section

Recommended Posts

Add to Design > Custom CSS

/* Music page top padding */
body#collection-5fef10ee0493bd2827f2e4f0 #page section:first-child {
    padding-top: 140px !important;
}

 

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
On 2/9/2021 at 8:39 PM, SolveigTraeet said:

@tuanphan Is there a one code to move the round photo at top of all pages closer (reduce padding) to site logo?

I'd rather not target one page at a time, it will take a lot of coding and space to do so. Can you help me with a code that will apply to all my pages?

Try this new code

@media screen and (min-width:768px) {
/* top padding */
#page section:first-child {
    padding-top: 140px !important;
}
}

 

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.