Tagged: x
-
AuthorPosts
-
March 24, 2017 at 1:43 pm #1419371
Lance CParticipantIn searching the forums, I found out how to do with a slide in Rev slider, but not sure how to do it outside of that?
When I add
opacity: 0.5 !important;it applies it to the whole section.How can I apply to just the background image?
Thanks for any help!
March 24, 2017 at 3:21 pm #1419478
RahulModeratorHello,
Can you give us link to live page where you are testing this? It’d be easier for us to investigate.
Thanks.
March 24, 2017 at 3:26 pm #1419481
Lance CParticipantThis reply has been marked as private.March 24, 2017 at 3:31 pm #1419487
Lance CParticipantThis reply has been marked as private.March 25, 2017 at 12:24 am #1419866
Rue NelModeratorHello There,
Thanks for writing in! When you set an image as a background image, the only way you can have the opacity is within the image itself. I would highly recommend that you use .png image because this is the only format that has some opacity. On the other hand, you can add a darker overlay to your background image instead. This is helpful especially if your background image make your text unreadable. To do this, please edit your page in Cornerstone and insert the following custom css in the settings tab, Settings > Custom CSS
#about { position: relative; } #about:before { content: ""; display: block; background-color: rgba(0,0,0,0.65); width: 100%; height: 100%; position: absolute; top: 0; left: 0; }Hope this helps. Please let us know how it goes.
March 27, 2017 at 11:47 am #1421879
Lance CParticipantThanks for the CSS Rue, it worked!
March 27, 2017 at 11:53 am #1421888
ThaiModeratorYou’re most welcome 🙂
March 27, 2017 at 11:55 am #1421891
Lance CParticipantRue – one thing the CSS has caused however, is that it has added an unwanted dark background effect to the accented text headline…How can I remove that?
Please see attached image, Thanks
March 27, 2017 at 12:04 pm #1421902
Lance CParticipantWell, as a test, I removed that custom headline, then re-added it, and the black background seems to have gone away.
Strange!
March 27, 2017 at 12:30 pm #1421926
JoaoModeratorHi Lance,
Let us know if we can help you with anything else.
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1419371 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
