Jump to content

CSS to adjust padding on specific page section on mobile

Recommended Posts


I am looking for help with some CSS to adjust the padding on a specific page section on mobile. I'm using Brine 7.0 template.

I've attached a screen grab - I want to reduce the negative space at the top of the image so it is equal to the padding on the sides.

This is the code I have tried but it isn't working. The image is on the Index page and I put the sections url slug as my page section. Is that correct? Are you able to tell me why this code may not be working? I'm very new to this so would appreciate any help!

@media only screen and (max-width: 768px) {
   #Index-page discover-lottelove .content-wrapper {
    padding-top: 50px !important;
    padding-bottom: 50px !important;


Please let me know if you can help - thanks in advance! :)

Screen Shot 2021-07-23 at 11.58.21.png

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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.