Jump to content

How can I add colour to card stacks.

Recommended Posts

Site URL: https://alligator-sturgeon-y82z.squarespace.com/?password=Password

Hi there. Two questions. 

In the about section of the website I've built - I'd the blue piece behind the image to be responsive. Right now I have an image with a transparent background [that for some reason has colour behind it].

The lower services section, I want it to have the image and then the text block to be a different background colour than the section background colour. 

Looking for tutorials and guidance. 

https://alligator-sturgeon-y82z.squarespace.com/?password=Password

Link to comment
  • Replies 9
  • Views 585
  • Created
  • Last Reply

1. about section image, the blue piece is part of the image so it scale when resize, is it not good enough?

2. About the card, you can get the card id by Find Squarespace Ids extension

Then modify the css of them accordingly on Custom Css

#block-f9c1cd8f76bfb8d5e730,
#block-99a2c655592eec615cf6,
#block-ef0f91e81c84046231b5 {
      background: #51344d;
}

image.thumb.png.d49593b463ada063af6593e5bfbeeb17.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
4 minutes ago, bangank36 said:

1. about section image, the blue piece is part of the image so it scale when resize, is it not good enough?

2. About the card, you can get the card id by Find Squarespace Ids extension

Then modify the css of them accordingly on Custom Css


#block-f9c1cd8f76bfb8d5e730,
#block-99a2c655592eec615cf6,
#block-ef0f91e81c84046231b5 {
      background: #51344d;
}

image.thumb.png.d49593b463ada063af6593e5bfbeeb17.png

Thank you! How can I make it so there is white space between each column/image. 

Link to comment
2 minutes ago, Jessummers said:

Thank you! How can I make it so there is white space between each column/image. 

Little margin will helps

#block-f9c1cd8f76bfb8d5e730,
#block-99a2c655592eec615cf6,
#block-ef0f91e81c84046231b5 {
      background: #51344d;
      margin: 10px;
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
36 minutes ago, bangank36 said:

1. about section image, the blue piece is part of the image so it scale when resize, is it not good enough?

2. About the card, you can get the card id by Find Squarespace Ids extension

Then modify the css of them accordingly on Custom Css


#block-f9c1cd8f76bfb8d5e730,
#block-99a2c655592eec615cf6,
#block-ef0f91e81c84046231b5 {
      background: #51344d;
}

image.thumb.png.d49593b463ada063af6593e5bfbeeb17.png

Do you know how I can add that blue background behind the image using CSS. 

 

Screen Shot 2020-11-03 at 7.50.05 PM.png

Link to comment
7 minutes ago, Jessummers said:

Do you know how I can add that blue background behind the image using CSS. 

 

Screen Shot 2020-11-03 at 7.50.05 PM.png

You will need 2 step:

1. Remove the color box from the image, leave a transparent space where they were, modified image attached

Untitleddesign.png (500×750) (beyondspace.tk)

2. Use this code

#block-4cadebaad29294b6b1cb.sqs-block-image .image-block-outer-wrapper.image-block-v2 .image-overlay {
    background-color: #0d2e41;
    z-index: -1;
    width: 90%;
    height: 85%;
    top: 10%;
}

image.thumb.png.5cff2f7c0ac511a5ba3993bc9690581c.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
45 minutes ago, bangank36 said:

You will need 2 step:

1. Remove the color box from the image, leave a transparent space where they were, modified image attached

Untitleddesign.png (500×750) (beyondspace.tk)

2. Use this code


#block-4cadebaad29294b6b1cb.sqs-block-image .image-block-outer-wrapper.image-block-v2 .image-overlay {
    background-color: #0d2e41;
    z-index: -1;
    width: 90%;
    height: 85%;
    top: 10%;
}

image.thumb.png.5cff2f7c0ac511a5ba3993bc9690581c.png

Amazing. The only issue is that the colour does not show properly. 

 

image.thumb.png.8e8c85015b195ae4b69ecf384891db36.png

Link to comment
7 minutes ago, Jessummers said:

Amazing. The only issue is that the colour does not show properly. 

 

image.thumb.png.8e8c85015b195ae4b69ecf384891db36.png

Sorry!, i missed the opacity value

#block-4cadebaad29294b6b1cb.sqs-block-image .image-block-outer-wrapper.image-block-v2 .image-overlay {
    background-color: #0d2e41;
    z-index: -1;
    width: 90%;
    height: 85%;
    top: 10%;
    opacity: 1;
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
5 minutes ago, bangank36 said:

Sorry!, i missed the opacity value


#block-4cadebaad29294b6b1cb.sqs-block-image .image-block-outer-wrapper.image-block-v2 .image-overlay {
    background-color: #0d2e41;
    z-index: -1;
    width: 90%;
    height: 85%;
    top: 10%;
    opacity: 1;
}

 

amazing! thank you. 

Link to comment

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.