-
AuthorPosts
-
October 9, 2017 at 4:45 pm #861975
Hello,
I’ve seen that adding an opacity is possible on certain container (color secton for instance) via the interface but not on a half column background image. I’d like a black color on my image with opacity 0.5 for instance, to be able to read the text properly.
I’ve added a class “ombre” to my column. How can I do cause my different tries don’t work :-(The site is in construction so please find below the access. The image I’m talking about is the sea behind the text “Nous ne pourrons pas dire que nous ne savions pas”.
Tx for your help guys!
MarineOctober 10, 2017 at 5:51 am #862270Hey newki75,
Please, go over the Dashboard link, because this is not found.
Best regards,
John TorvikOctober 10, 2017 at 8:02 am #862332This reply has been marked as private.October 12, 2017 at 6:04 am #863157Hi,
Thank you for the info.
Please add this code in the Quick CSS field.
.ombre:before { content: ''; display: block; width: 100%; height: 100%; position: absolute; top: 0; left: 0; background: rgba(0,0,0,.5); }
This will create a transparent overlay under the text above the background image.
Best regards,
IsmaelOctober 12, 2017 at 9:32 am #863273Perfect, tx a lot Ismaël, you can close the case :-)
Have a nice dayOctober 12, 2017 at 12:53 pm #863388Hi newki75,
Glad we got things working for you! :)
If you need further assistance please let us know.
Best regards,
VictoriaOctober 18, 2017 at 6:48 pm #865877Hello,
In fact, I didn’t see but with the css you’ve sent, the opacity is applied on the image AND the left 1/2 column. I would like it only on the right column with the image.
Tx !October 19, 2017 at 4:41 pm #866300Hi,
I changed your code to following one in Quick CSS field
.ombre:before { content: ''; display: block; width: 50%; height: 100%; position: absolute; top: 0; background: rgba(0,0,0,.3); right: 0; left: auto; } @media only screen and (max-width: 767px) { .ombre:before { content: ''; width: 100%; right: auto; left: 0; }}
please review your website
Best regards,
Yigit- This reply was modified 7 years, 1 month ago by Yigit.
October 19, 2017 at 5:03 pm #866317Seems to be perfect, tx Yigit!
October 19, 2017 at 6:02 pm #866362Hi,
I’m glad you were able to get this corrected. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Add opacity on a column background image’ is closed to new replies.