Jump to content

Selective Mix Blend Mode Usage in Summary Block

Recommended Posts

Site URL: https://helix-dodecahedron-bbx6.squarespace.com/

Hello!

I have a summary block in a section that has a png file of a logo monogram as the background image. As you scroll through the section some of the black of the background image interacts with the text of making it difficult to read.

I'm using mix-blend-mode: difference and it's working great for the text, but I would like to preserve the original look of the images and not have any blend effect. I can't figure out how to isolate the images in the summary block in order to set a different mix-blend-mode, does anyone know if this is possible within a summary block?

I've attached a screenshot to illustrate the issue, as well as the css I'm currently using.

Hopefully someone has experience with this as it's been driving me nuts all day!

Thanks for your help!

 

 

mix-blend-mode.png

css.png

Link to comment
  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 7/3/2022 at 4:18 AM, Grog said:

Sorry about that!

https://helix-dodecahedron-bbx6.squarespace.com/

pw: password

Thanks for taking a look!

Edit your code

#block-c92fd2ec45055facf4ad {
    mix-blend-mode: difference !important;
}

to

#block-c92fd2ec45055facf4ad .summary-content {
    mix-blend-mode: difference !important;
}

 

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

hi @tuanphan

20 hours ago, tuanphan said:
#block-c92fd2ec45055facf4ad .summary-content {
    mix-blend-mode: difference !important;
}

This didn't seem to do the trick. The images are the way I'd like them to look but the summary titles and the summary excerpts don't have the mix-blend-mode: difference effect I'm hoping to achieve.

 

Is there something else that can be done?

 

thanks

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.