Jump to content

CSS to override Mobile Grid settings

Recommended Posts

Hi. New to customizing Squarespace sites. I'm trying to adjust the mobile grid settings for a few blocks. When I inspect the code, the default is at:

   @media (min-width: 768px) { .fe-block-d7d31198b7ca81fd4b6f { grid-area: 8/3/10/8;} }

In the Inspector, if I change the grid area to grid-area: 8/3/10/11, everything looks great on the screen.

But when add the CSS:

   @media (min-width: 768px) { .fe-block-d7d31198b7ca81fd4b6f { grid-area: 8/3/10/11!important;} }

to the Custom CSS section under Website Tools, it has no effect.

Any advice on how to make this work?

Thanks in advance. M

Edited by mhp
Link to comment
  • mhp changed the title to CSS to override Mobile Grid settings
  • Replies 1
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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.