Gradient
-
Is there a way of making your background/top-bar/header-menu a gradient style
Yes, you can. Checkout my style sheet – http://prasannasp.net/wordpressblog/wp-content/themes/graphene-child/style.css
I like this Gradient Generator – http://gradients.glrzad.com/
would you be able to put the gemerated code incustom css as i dont think i know enough to do a child theme
Mod
Yes, you can.
I actually had a lot of stuff in my custom css at one point (over 100 lines), so a few lines of code for a gradient does work.
i put the generated code in but it didnt come change
if it helps the code i tried was:
background-image: linear-gradient(right bottom, #9CC0F7 46%, #0B489D 58%);
background-image: -o-linear-gradient(right bottom, #9CC0F7 46%, #0B489D 58%);
background-image: -moz-linear-gradient(right bottom, #9CC0F7 46%, #0B489D 58%);
background-image: -webkit-linear-gradient(right bottom, #9CC0F7 46%, #0B489D 58%);
background-image: -ms-linear-gradient(right bottom, #9CC0F7 46%, #0B489D 58%);
background-image: -webkit-gradient(
linear,
right bottom,
left top,
color-stop(0.46, #9CC0F7),
color-stop(0.58, #0B489D)
);found this out i had forgot to specify where i wanted to put the gradient so i added:
body {background-color:
at the start code shown in above comment and obviously closing with}
found it i remove the
background-color:
from the first lineMerged two topics.
sorry about that thought i done the wrong thing
Viewing 10 posts - 1 through 10 (of 10 total)
- You must be logged in to reply to this topic.