Hi guys,
I’ve included my share link below.
The area specifically where I’m having trouble with is the blue/orange service boxes on the home page.
The designer wishes to have a Multiply effect on the gradient overlay/wash. This isn’t available on Webflow per say, so I’ve created an rule for it on the custom code (below)
.service {mix-blend-mode: multiply}
This is carrying over to the code in the public site, but the multiply effect is still not right.
Do I need to go about doing this a different in order to achieve this multiply effect?
Note the difference between expected design on a Sketch file vs Webflow.
Couldn’ find where you’ve put the code but if you have a gradient and an image on the same element it’s not going to work with mix-blend-mode. You’d need to have an element with the gradient on top of an element with the image. Use position:absolute to overlay your element with image with the element with gradient.
With the structure you have, prefer using background-blend-mode (background-blend-mode:multiply)
For example, the CSS below would work blending a bg color with a bg image on the same element:
Hey Vincent!
Thanks for your response…
So I did what you suggested. If you take a look at the main hero image on the home screen (home-wrap)
I have a div with a class overlay positioned:absolute over this with the gradient set at this level and this keeps it separate to the main hero background image.
In the custom code I then placed:
.overlay {
background-blend-mode: multiply;
}
Again this is coming through on the published code but it is still not blending in right?
Hey! I don’t suppose you guys know a workaround for multiply not working on IE?
I got it working and it looks great. But of course IE doesn’t support it…
Can I try some sort of custom code to bypass this?