Tagged: x
-
AuthorPosts
-
July 3, 2016 at 4:49 pm #1070671
beornbjornParticipantHi!
I’m having some difficulties with coloring the background of the PNG.
I would like to color the background behind the transparent PNG. Not sure why, but when i do that, the background is the same size of that of the column. I don’t need that. I just want the color behind the image (in this case, top of their heads – like it looks on mobile view) How to achieve this?I have following CSS applied to the page
.leva { max-width:40% !important; float: left !important; } .desna { max-width:40% !important ; float: right !important; } .cbfotka { -webkit-filter: grayscale(100%); filter: grayscale(100%); } @media only screen and (max-width:768px) { .leva, .desna }.leva is applied to left, and .desna to right column
July 3, 2016 at 8:01 pm #1070889
NicoModeratorHI There,
Thanks for writing in.
Remove the background color you added in the image. Then add this in your customizer > Custom > CSS:
.leva a.x-img>img{ background-color:red; } .desna a.x-img>img{ background-color:blue; }Hope it helps.
Let us know how it goes.
Thanks.
July 4, 2016 at 5:53 am #1071318
beornbjornParticipantThank you!
That workedJuly 4, 2016 at 6:17 am #1071334
ThaiModeratorYou’re most welcome 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1070671 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
