Jump to content

Remove padding at top of section

Recommended Posts

  • Replies 5
  • Views 367
  • Created
  • Last Reply
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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment


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.