Jump to content

Add White Overlay to All Images

Recommended Posts

Site URL: https://harmonica-bugle-j4fm.squarespace.com/home-2

Hi there,

I'm trying to add a white 50% opaque overlay to all images on the website I am editing. I've tried several tutorials on editing list or gallery item blocks, but nothing I does seems to have an effect on the carousel elements. What I'm aiming for is the images to look faded, and when they are hovered over, become brighter (their original color, with no overlay). I want this to apply to all images in the two carousel blocks on the home page, as well as plain image blocks on other pages. What CSS can I use to accomplish this? Is part of the reason I'm struggling with tutorials due to fluid engine?

 

Thanks!

Link to comment

This should be possible, you might be running into a few differences with Fluid Engine that might be why tutorials aren't working.

Can you add a site wide password to your website so it can be viewed? 

Please like and upvote if my comments were useful to you. Thanks!

Zygmunt Spray
Squarespace Website Designer
Contact me: https://squarefortytwo.com/ 
🔌Ghost Squarespace Plugins (Referral link)
Buy me a coffee

Link to comment
On 11/10/2022 at 2:19 AM, marmaladeisgood said:

I'm also trying to set the corner radius of all images to 50%. Can't figure that out either. Here's the password: camilla

Add to Design > Custom CSS

img {
    border-radius: 50% !important;
}
.fluid-image-container:after {
    content: "";
    background-color: rgba(0,0,0,0.9);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    border-radius: 50%;
}

 

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

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.