Brightness

User 2903050 Photo


Registered User
260 posts

Hi, I am trying to achieve a hero message in a container on top of a background image container that has the brightness reduced by the effects panel. However, everything in those containers have the brightness reduced. How do I reduce the brightness of the background image container whilst still maintaining brightness of the hero message of the container on top?
I have attached an image to help.
Kind regards,
Phil
Attachments:
User 2088758 Photo


Senior Advisor
3,087 posts

Hi Phil,

I would tackle this differently. I would open my background image in a photo editor and add a black layer and turn down its opacity to get the look you have above. Then just use that as the background image in the container. Do not change the brightness at all.
Taking over the world one website at a time!

Steve Kolish
www.misterwebguy.com

YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
User 2903050 Photo


Registered User
260 posts

Cheers Steve, I have done this before but I think changing the brightness within SD3 would give me more flexibility instead of settling on doing it beforehand.
User 2273654 Photo


Registered User
755 posts

Phil, give Steve's suggestion a try, you may find that he is correct, and afterall you did ask.
My CC S-drive site https://workhorsepainting.com
User 2088758 Photo


Senior Advisor
3,087 posts

When you try to change the brightness of a background image in a container SD is doing exactly what your telling it to do. I think what your asking SD to be is a photo editor. Currently there is no way to change the brightness of a background image without changing the brightness of the container and of course when you do that it will dim everything in that container.

You could always not use a container with a background image and use the Picture element instead and dim it down. Then create another container with your titles and give it a negative margin.

That being said my first suggestion is far faster to do.
Taking over the world one website at a time!

Steve Kolish
www.misterwebguy.com

YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
User 122279 Photo


Senior Advisor
14,454 posts

Phil, If you use 'opacity' for the background, it will affect everything on top of that background too.
Instead, use RGBA values. I haven't done this for a long time, not since we got the 'R' apps, but I'll try to make a building block...
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 122279 Photo


Senior Advisor
14,454 posts

This is actually easier in traditional coding, since the images in SD3 cannot be made translucent with RGBA.

But I made a test file that contains two containers, the 2nd one being positioned absolute and covering the 1st container, and given some z index. The image is in the 1st container, made see-through, and the 2nd container has a transparent background and the text. I gave the 2nd container a background colour first, just to see what I was doing, then removed that colour when done.
Attachments:
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 2088758 Photo


Senior Advisor
3,087 posts

Nice work Inger, still easier to do what I suggested.
Taking over the world one website at a time!

Steve Kolish
www.misterwebguy.com

YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
User 122279 Photo


Senior Advisor
14,454 posts

Well, maybe. But it was my first attempt with this since the responsive apps were born, so I did it as close as possible to what I used to do in the HTML Editor.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 379556 Photo


Registered User
1,535 posts

Since the Hero Unit (or any other) container can have both a background picture and a background colour, I set the backgound colour to black amd the background image's blend mode to Darken. One can then adjust the background colour's Alpha slider to achieve whatever darkness one wants without affecting the brightness of the Heading etc.

Frank

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.