Tagged: color box, PNG, transparency
-
AuthorPosts
-
June 23, 2017 at 8:16 pm #812302
Hello, I have placed transparent png files as background images in Color Section boxes. Each time I do this it defaults to a white background instead of letting the transparency shine through. Can you help me figure this out?
I am also having the same issue with the navigation background.
Here is a link http://sugarbritcheswings.com/
Thanks in advance!
- This topic was modified 7 years, 5 months ago by mammothbrian.
June 24, 2017 at 12:55 am #812355Hey Brian,
You have to make sure each element is transparent. For example for the header add this to css:
.header_color .header_bg{ background-color:transparent!important; }
What are the other sections
Best regards,
Jordan ShannonJune 25, 2017 at 12:22 pm #812637Thanks so much! That worked there.
I can’t seem to get it working for av_section_2, av_section_4, or av_section_6
June 25, 2017 at 4:06 pm #812703Hi,
Here’s a stab at it, but I’m really not sure if I’m targeting it right, for example, #av_section_6 is in your footer with the 3 widgets, if I make the area transparent the widget text is hard to read. Perhaps a screenshot would help us target the right areas :)#av_section_2, #av_section_4, #av_section_6 { background-color:transparent!important; }
Best regards,
MikeJune 26, 2017 at 12:47 pm #813024Thanks Mike, its weird. It worked on _6, but not on the others. Below are two images where you can still see the white instead of the transparency.
Thanks again!
- This reply was modified 7 years, 5 months ago by mammothbrian.
June 26, 2017 at 4:51 pm #813140Hi,
That’s strange. Please provide admin info so we can log in and look into this issue further.
Best regards,
Jordan ShannonJune 30, 2017 at 1:11 pm #814945Sorry, didn’t realize my post didn’t go through. Here you go.
July 1, 2017 at 5:28 pm #815375Hi,
I think I figured it out, the section with the word “Menu” This section has no background, behind the transparency. Try moving the elements in this section down to the next section so there is a background image to show though the transparency. See the screenshots, hope this makes sense :)
Best regards,
MikeJuly 1, 2017 at 9:24 pm #815431Thanks Mike, I was looking at it wrong… now that I am looking at it as there is nothing behind it I am able to get the tops working with -20px on the margin-top…. any ideas for the bottom?
July 1, 2017 at 9:51 pm #815440Hi,
That’s a good idea:#loveinit {margin-bottom: -20px!important; }
Best regards,
MikeJuly 1, 2017 at 10:10 pm #815444I tried that, but it cuts off the bottom of the background image that way.
July 1, 2017 at 10:24 pm #815445Hi,
Try adding this:#top #wrap_all #main .avia-no-border-styling {z-index: -5;}
Best regards,
MikeJuly 2, 2017 at 1:29 pm #815540Thanks for all of your help Mike!
July 2, 2017 at 9:24 pm #815605 -
AuthorPosts
- The topic ‘Color Section with Placed PNG background needs transparency’ is closed to new replies.