bdn5834 Posted March 24, 2021 Share Posted March 24, 2021 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
tuanphan Posted March 26, 2021 Share Posted March 26, 2021 Edit code to this /* desktop comment width */ @media screen and (min-width:768px) { .squarespace-comments { width: 75%; margin: 0 auto; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
bdn5834 Posted March 31, 2021 Author Share Posted March 31, 2021 It worked! Thank you so much!! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.