Jump to content

How to remove extra top and bottom padding on the mobile bar?

Go to solution Solved by Lesum,

Recommended Posts

Hi!  I use the Brine template in 7.0.  Desktop is fine, however, I am wanting custom css to remove the extra padding on the top bar for mobile view.  I have attached an example of the space I want decreased.  Any help would be greatly appreciated! 🙂

photo.jpeg.jpg

Link to comment
  • Solution

@britthatch You can add this code snippet within the Custom CSS panel:

.Mobile-bar--top {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

@media screen and (max-width: 640px) {
	.Site {
		margin-top: -17px;
	}
	.sqs-layout .sqs-row .sqs-block:first-child {
		padding-top: 0px !important;
	}
}

 

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

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.