Jump to content

Adding a colour border around a Image Stack

Recommended Posts

Site URL: https://www.chalkpitcassetteclub.com/sub

Hiya, 

I would like to add a Colour Boarder around my Images Stacks to showcase the different subscription options available for purchase. Does anyone know what CSS code would support this change?

My thoughts were for a colour boarder around each image stack so it will make each Subscription option stand out against the white background. 

Can anyone help with this change?

https://www.chalkpitcassetteclub.com/sub

Password: 2022

Link to comment
  • Replies 4
  • Views 331
  • Created
  • Last Reply

Top Posters In This Topic

3 hours ago, chalkpitrecords said:

Site URL: https://www.chalkpitcassetteclub.com/sub

Hiya, 

I would like to add a Colour Boarder around my Images Stacks to showcase the different subscription options available for purchase. Does anyone know what CSS code would support this change?

My thoughts were for a colour boarder around each image stack so it will make each Subscription option stand out against the white background. 

Can anyone help with this change?

https://www.chalkpitcassetteclub.com/sub

Password: 2022

Try adding to Home > Design > Custom Css

#block-yui_3_17_2_1_1641581558659_6424, #block-yui_3_17_2_1_1641581558659_11784 {
  background :rgba(0,0,0,0.4);
  margin-left: 10px;
  margin-right: 10px;
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

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

You can change the appropriate color so it meet your requirement

image.thumb.png.7f98af5fd43b0c496c0eb4c16551435f.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
On 1/8/2022 at 5:47 PM, chalkpitrecords said:

Thank you very much that looks so much better 🙂

Would you be able to tell me the code for the section below as well for the image stacks in the Whats in side the box section?

 

Future thinking - Whats the best way to find out the code to edit a certain block? 

Try this

div#block-74addd7a55316f84cd87+.row .span-4:nth-child(n+2) .design-layout-stack {
    background: rgba(0,0,0,0.4);
    margin-left: 10px;
    margin-right: 10px;
}

 

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

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