Jump to content

mistd

Member
  • Posts

    4
  • Joined

  • Last visited

Reputation Activity

  1. Like
    mistd reacted to tuanphan in How to remove top + bottom padding appearing on mobile only   
    Click SEO (under General) >> Check SEO Title
  2. Like
    mistd reacted to tuanphan in How to remove top + bottom padding appearing on mobile only   
    Q1 + 2. Add to Design > Custom CSS
    /* Text break tablet about us */ @media screen and (max-width:991px) and (min-width:768px) { div#page-section-6076fdd00b17be708fd3d5cd .html-block { padding-left: 0; padding-right: 0; } } html, body {overflow-x: hidden;}  
  3. Like
    mistd reacted to iamdavehart in How to remove top + bottom padding appearing on mobile only   
    when the width of the website becomes less than a certain width (ie on mobile) you get a slightly different set of style rules kick in, which is adding a 17px padding to the top and bottom of the rows of your layout. So you'd need to add CSS to override that padding.
    @media screen and (max-width: 767px) { .sqs-layout .sqs-row .sqs-block:first-child, .sqs-layout .sqs-row .sqs-block:last-child { padding:0 !important; } } this would probably resolve your issue. (It's a site wide change, so if you only want it to hit this section then put section[data-section-id="60e9829ec4c1a734c5d9c0cb"] before each of the .sqs-layout lines). this should remove the padding between the images, but leave the padding above and below the first and last pictures which is as it is in the desktop site. 
    if you wanted to remove those too, then add top and bottom padding inside your existing css for the sections content wrapper for data-section-id="60e9829ec4c1a734c5d9c0cb"
    padding-top: 0px !important; padding-bottom: 0px !important; Hope that helps, let me know if it works
×
×
  • 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.