Jump to content

7.1 height padding

Recommended Posts

  • Replies 9
  • Views 579
  • Created
  • Last Reply
On 10/30/2020 at 12:28 AM, Tytytytyty said:

@tuanphan Thank you!

Is there a way to apply this to the "About" page as well?

Add to About Page Settings > Advanced > Header

(If you use Personal Plan > Edit Page > Add Code Block)

<style>
  /* for mobile */
@media screen and (max-width:767px) {
#page section:first-child {
    padding-top:10px !important;
}
}
</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
13 hours ago, Tytytytyty said:

Sorry @tuanphan I meant how do I apply the code below to my "about" page.

thank you


.homepage #page section:first-child {
    padding-top: 50px !important;
}

add above code to About Page Settings > Advanced > Header

 

On 10/31/2020 at 3:18 PM, tuanphan said:

Add to About Page Settings > Advanced > Header

(If you use Personal Plan > Edit Page > Add Code Block)


<style>
  /* for mobile */
@media screen and (max-width:767px) {
#page section:first-child {
    padding-top:10px !important;
}
}
</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

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.