Jump to content

Preserving comment section width on mobile only

Recommended Posts

Site URL: http://www.figandlight.com

Hello!

I found a way to adjust the width of the comment section on a blog post to make it smaller than the page width. But that change carries over into the mobile layout as well. Is there a way to apply the width change to ONLY the desktop version of the site but not the mobile version?

Here's the code I used: 

.squarespace-comments {
    width: 75%;
    margin: 0 auto;
}

Any help would be appreciated, thank you!

Link to comment
  • Replies 2
  • Views 228
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.