ColorZilla gradient editor background code placement ?
AnonymousApril 1, 2013 at 1:56 pm #7173
I was looking at the free colorzilla gradient maker– This :
But when I copy the Css code that they give on the right hand side and put it into my -child theme- I don’t see it take effect? what am I doing wrong?
Thank you for all of your helpMod
AnonymousApril 1, 2013 at 6:09 pm #37249
where it says CSS on colorzilla after you make a gradient. I am copying that code and pasting it on my child theme exactly as it is on color zilla. What am I supposed to change or add to make it work ?
Which element, ID, or class are you trying to add it to? You should have something like this:
background: #cfe7fa; /* Old browsers */
background: -moz-linear-gradient(top, #cfe7fa 0%, #6393c1 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cfe7fa), color-stop(100%,#6393c1)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #cfe7fa 0%,#6393c1 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #cfe7fa 0%,#6393c1 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #cfe7fa 0%,#6393c1 100%); /* IE10+ */
background: linear-gradient(to bottom, #cfe7fa 0%,#6393c1 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cfe7fa', endColorstr='#6393c1',GradientType=0 ); /* IE6-9 */
AnonymousApril 1, 2013 at 6:44 pm #37251
yes that is exactly what I have and I added that to the child theme in my editor, and the background just stayed the same as the color that I had picked under my appearance menuMod
AnonymousApril 1, 2013 at 7:21 pm #37253
hahaha I don’t know what you mean by which “element” what I want to do is make this my main background for the entire siteMod
You need to read up on how to use CSS. Start by checking the resources available here:
In your child theme style sheet, add
code from above linke
Then, go to Appearance >> Background and click on “Remove background image”.
AnonymousApril 2, 2013 at 12:44 am #37255
You are the BEST!!! Thank you , and Yes as soon as I have spare time all I am going to do is learn about CSS, I really want to understand it better
AnonymousApril 2, 2013 at 1:32 am #37256
I just don’t understand why all the colors appear light on colorzilla but dark on the site?
Viewing 10 posts - 1 through 10 (of 17 total)
- You must be logged in to reply to this topic.