Jump to content

Blog posts on mobile are too wide. How Can I add space on each side?

Recommended Posts

Site URL: http://www.jenniferskogboudoir.com/journal/2022/8/31/comfortable-with-the-camera

I'm trying to figure out how to have my blog posts display like 95% wide.  The text is going all the way to the edges of my phone and it doesn't look good.  Does anyone know what CSS I can input to fix this?  

 

Thank you!

 

Edit: this worked if anyone else needs:

/*add padding to text for mobile devices*/
    @media only screen and (max-width: 640px){
      .sqs-block-html .sqs-block-content {
          padding-right: 25px;
          padding-left: 25px;
      }

Edited by jenniferskog
Found the answer!
Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Add this to Design > Custom CSS

@media screen and (max-width:640px) {
#navigator article .main section .body {
    max-width: 95%;
}
}

 

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.