overlordduck Posted February 4, 2022 Share Posted February 4, 2022 (edited) Site URL: https://amphibian-dinosaur-zetw.squarespace.com/blog/my-computer-told-me-to-1 I want to add color around blog post text. I used the following code snippet to add a background to the blog page but now each blog post has the background and it's hard to read. Can I just add a solid color for the text in each blog post? Code for background: /* Site background image */ body[class*="blog"] { .section-background, .page-section { background: transparent !important; } & { background-image: url(https://images.squarespace-cdn.com/content/v1/61fd4cc8b69fe0119b1d7cc9/0ab5e1ff-35a3-4055-8b44-721c923bdd72/dark-wallpaper-2007281320582.jpg); background-size: cover; background-repeat: no-repeat; background-position: center center; background-color: transparent !important; }} Edited February 4, 2022 by overlordduck Link to comment
derricksrandomviews Posted February 4, 2022 Share Posted February 4, 2022 I have no trouble reading the solid blue text. Link to comment
overlordduck Posted February 4, 2022 Author Share Posted February 4, 2022 (edited) 41 minutes ago, derricksrandomviews said: I have no trouble reading the solid blue text. I have a little and some other reader expressed the same so I wanted to change the background around the words in the blog posts only. Edited February 4, 2022 by overlordduck Link to comment
tuanphan Posted February 8, 2022 Share Posted February 8, 2022 Add to Design > Custom CSS div.blog-item-content-wrapper { background-color: white; padding: 10px; } 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
overlordduck Posted February 8, 2022 Author Share Posted February 8, 2022 4 hours ago, tuanphan said: Add to Design > Custom CSS div.blog-item-content-wrapper { background-color: white; padding: 10px; } Thanks so much this worked! 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