![Check out Enfold](https://kriesi.at/wp-content/themes/kriesi/images/banner-enfold.jpg)
Tagged: background, color section, PNG
-
AuthorPosts
-
November 12, 2015 at 11:43 am #534663
Dear Support Team,
I’ve created on my website a color section. The Color Section I have been with CSS a gradient.#gruen { background: -webkit-linear-gradient(45deg, #387f21, #4eaf30); background: -o-linear-gradient(45deg, #387f21, #4eaf30); background: -moz-linear-gradient(45deg, #387f21, #4eaf30); background: linear-gradient(45deg, #387f21, #4eaf30); }
I want to create a transparent image in the Color section. Unfortunately, this is not displayed Png transparent but white. How can I create the png as background the Color Section and Transparency?
I want to do this to reduce the load time of the site. Also, I do not want to create a image of the gradient because there are ugly streaks.
On this page I have tried a lot.
http://www.20-jahre-dietmar-hopp-stiftung.de/home-test-hintergrundbilder/At the bottom of the pages are the Green Color Sections. The first 3 Color Sections are quite normal with wallpaper. Here you can also see the unsightly stripes in gradient. The penultimate Color Section has a gradient (CSS). Here I have tried to integrate the PNG as a background image (PNG is displayed without transparency). In the last Color Section no gradient is applied via CSS and created a PNG as the background. That’s very good. But I would like a color gradient :-)
Can you help me?
Thank you ever and greetings!November 12, 2015 at 3:06 pm #534794Hi LorbeerDesign!
I have created a private testing page [link in private content field below] and added custom CSS code to bottom of Quick CSS field.
If you would like to use background image and gradient background, please edit your color section elements and choose to display background overlay and then adjust the code i added in Quick CSS field and upload your background image as color section custom background image.Regards,
YigitNovember 12, 2015 at 3:37 pm #534821Hi Yigit,
everything has worked out far. I’ve created on your test page a new Color Section.
Only I can not do it, the PNG inserting as the background. Can you give me an example of this image inserting – you can use this picture Link to picture ?
So I can see how this works exactly :-)Thank you very much Yigit
-
This reply was modified 8 years, 10 months ago by
LorbeerDesign.
November 12, 2015 at 3:41 pm #534827Hey!
I have inserted background image to your color section on the testing page. Please review your website now :)
Cheers!
YigitNovember 13, 2015 at 9:12 am #535288Hi Yigit,
Thanks, it all worked. It is a pity that you have to set the Transparency to 0.5. Thus, the color change of the gradient. If I set the transparency to 1.0, then the background image disappears. Unfortunately, this is not an optimal solution for me – I think then I renounce the gradient ;-)
Thank you nevertheless for your effort and a nice Friday :-)
November 13, 2015 at 5:03 pm #535515 -
This reply was modified 8 years, 10 months ago by
-
AuthorPosts
- The topic ‘Gradient in Color Section and Png as background on it’ is closed to new replies.