Jump to content

overlordduck

Member
  • Posts

    5
  • Joined

  • Last visited

Posts posted by overlordduck

  1. 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;
    }}
    

     

     

     

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