Jump to content

Remove padding index gallery block in mobile view

Recommended Posts

Site URL: https://maharishischool.squarespace.com/

Hello,

I am using a gallery block on an index homepage to display info. The info was getting cut off on mobile view - I managed to find some code to fix that, however, I want to reduce the side padding on mobile view as there is too much. I also need help with the tablet view as the info is cut off. Any help would be most appreciated. Site is https://maharishischool.squarespace.com/ pw Maharishi

Thanks in advance!

Desktop View

Mobile View

Tablet View

 

Edited by earthwindflowermoon
Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Hi. Try adding to Design > Custom CSS

/* Mobile padding */
@media screen and (max-width:640px) {
.Index-gallery-item-content {
    padding: 10px !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.