Tagged: x
-
AuthorPosts
-
May 23, 2016 at 7:08 pm #1006144
ansonofficialParticipantHi Support,
http://brothersbassin.com/photography/
For this page I’ve been trying to make the ligthbox background color darker when you click open a picture. I have tried this, but it’s not working
.ilightbox-overlay.light {
background: #000;
opacity: 1 !important;
}Please help,
Anson
May 23, 2016 at 7:09 pm #1006145
ansonofficialParticipantThis reply has been marked as private.May 23, 2016 at 10:15 pm #1006492
John EzraMemberHi Anson,
Thanks for writing in! You can add this under Custom > CSS in the Customizer or in your child theme’s style.css file.
.esgbox-overlay { background: rgba(0,0,0,1); }Just adjust the last number, the alpha channel or transparency. 1 = 100. Hope this helps – thanks!
May 23, 2016 at 11:16 pm #1006544
ansonofficialParticipantHi again,
I stuck it into my customizer (as you can see) and it still doesn’t work.
Please help,
Anson
May 23, 2016 at 11:50 pm #1006569
Nabeel AModeratorHi again,
Please replace the previous code with this one:
.esgbox-overlay-fixed { background: black !important; opacity: 1 !important; }Let us know how this goes!
May 24, 2016 at 2:39 pm #1007824
ansonofficialParticipantI tried using it. It makes the background black (as it should) but I can’t control the opacity and when I try to (it’s currently set to .5) everything including the image becomes very see through.
Please help
Anson
May 24, 2016 at 5:26 pm #1008032
JadeModeratorHi Anson,
Please remove the previous code and add this:
.esgbox-overlay-fixed { background: rgba(0,0,0,0.9) !important; } -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1006144 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
