Jump to content

Changing block padding but keeping it responsive

Recommended Posts

Site URL: http://we-arehere.com

I would like to reduce the padding on the slideshow at the top of my page as it's too far from the title and navigation. I used the code below which worked, but on mobile it now isn't responsive so looks odd. 

section padding 

[data-section-id="5fcf39a1ee8bf246ec066037"]  {

    padding-top: 4vw !important;

}

Is there some other code that would allow me to change this but keep the responsive design?

 

Thanks! 

website is we-arehere.com p332927887_Screenshot2020-12-09at16_51_26.thumb.png.52dfad1ac807978d877a69b5e3645e7c.png/w: here

 

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Remove above code & add to Design > Custom CSS

@media screen and (min-width:768px) {
[data-section-id="5fcf39a1ee8bf246ec066037"]  {
    padding-top: 4vw !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.