Jump to content

York Template - Mobile

Recommended Posts

In mobile display there is always a white space across the top of the page which I would like to go away, so as to display full-bleed of images as similar to desktop display. If I view the CSS code with inspector, I see that there is a 'padding-top; 55px' associated with the site container described under Mobile Style. For the life of me I can't figure out how to over-ride this with custom code. Any suggestions?

 

----------------------------------------------------

/*Mobile Padding At Header Be-Gone*/
.site-container {
padding-top: 0px;
}

----------------------------------------------------

 

Screen Shot 2019-11-08 at 1.13.00 AM.jpg

Link to comment
  • Replies 3
  • Views 543
  • Created
  • Last Reply

Never-mind, I solved my own problem. I am sure I tried the script below before - must have had some syntax wrong or something...

Thx for nothing all - I'm the best!

 

-------------------------------------------------------------------

/*Padding At Mobile Header - Be-Gone*/
.site-container {
padding-top: 0px !important;
padding-bottom: 0px !important;
}

-------------------------------------------------------------------

 

 

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.