Jump to content

Remove padding for image placed on top of banner on mobile? (Squarespace 7.0)

Recommended Posts

Site URL: https://cooperfoszcz.com/

Big amateur here, but I can't figure out how to remove the padding on an image placed on top of a banner for Squarespace 7.0. Specifically, I'm looking to change the landing image on mobile. Here's what I currently have: 

@media screen and (min-width: 640px) {#block-yui_3_17_2_1_1632180891068_6440 {
  padding: 0px !important;
  margin: 0px !important;}

https://cooperfoszcz.com/

Appreciate it!

Screen-Shot-2021-09-23-at-2.33.45-PM.png

Link to comment
  • Replies 1
  • Views 312
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Add to Design > Custom CSS

@media screen and (max-width:767px) {
section#pileposter>div {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
div#block-yui_3_17_2_1_1632180891068_6440 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
}

then save & reload the site

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

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.