Jump to content

Reduce Space Between Header and Body on a Mobile Page

Recommended Posts

  • Replies 3
  • Views 2.4k
  • Created
  • Last Reply

You mean spacing between icon - button?

Add to Home > Design > Custom CSS

@media screen and (max-width:640px) {
/* remove spacer block */
div#block-5e3f421ef875f52b56639e27 {
    display: none;
}
div#pageWrapper {
    padding-top: 0 !important;
}
}

To remove icon on One Page, add to Page Settings > Advanced > Header (you need Business Plan or higher). 

If you use Personal Plan, you need another code

<style>
  .sqs-svg-icon--wrapper {
    display: none;
}
</style>

 

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
  • 1 month later...
10 hours ago, dankmedia said:

I would like to remove the space between header and body on both my mobile and desktop for https://featherlashandbrow.com but this code does not seem to work. Any suggestions?

article#sections>section:first-child {
    padding-top: 5px !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

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.