Bryan29 Posted February 4, 2021 Share Posted February 4, 2021 Site URL: https://seal-trout-d665.squarespace.com/ Hi there! I have a new SS website we've been working on and I'm having a problem with the column width of content on the blog page on mobile. I was browsing this forum and came across some CSS code that I used to tweak the column width. It worked but it messed something up on the home page so I reverted it. The test link is shared in this post and the password is "testing". If you nav to the blog and hit mobile view, you'll see the issue. For reference, when I used the CSS code it screwed up the carousel "testimonials" section on the home page. Thank you in advance! Bryan Link to comment
tuanphan Posted February 5, 2021 Share Posted February 5, 2021 Blog page on mobile looks fine. Can you explain clearly? 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
Bryan29 Posted February 16, 2021 Author Share Posted February 16, 2021 Hi Tuan - Thanks for the reply. The blog probably looks ok on mobile but the problem is that the column width is not as wide as it is on other pages. Here are two screenshots to illustrate the issue. I found several articles on how to change the CSS code but it mucked up other parts of the site. Trying to avoid custom coding on this site to keep things simple (if possible). Thanks for your help! Bryan Link to comment
tuanphan Posted February 18, 2021 Share Posted February 18, 2021 You added some CSS cause this #sections .blog-item-inner-wrapper .sqs-block:not(.sqs-block-image):not(.sqs-block-video):not(.sqs-block-gallery),.squarespace-comments { width: 50%; margin: 0 auto } Add this to Design > Custom CSS to override it on mobile /* blog post width */ @media screen and (max-width:767px) { #sections .blog-item-inner-wrapper .sqs-block:not(.sqs-block-image):not(.sqs-block-video):not(.sqs-block-gallery), .squarespace-comments { width: 100% !important; margin: 0 auto; } } 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
Bryan29 Posted February 20, 2021 Author Share Posted February 20, 2021 On 2/18/2021 at 5:58 PM, tuanphan said: /* blog post width */ @media screen and (max-width:767px) { #sections .blog-item-inner-wrapper .sqs-block:not(.sqs-block-image):not(.sqs-block-video):not(.sqs-block-gallery), .squarespace-comments { width: 100% !important; margin: 0 auto; } } Perfect thank you. I had to adjust to 90% as at 100% it bled off the page. Thank you for your help! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment