Hello,
I added the following code to the Quick CSS window. It creates a nice maroon background for my right side bar.
However, it works fine in chrome but not in explorer or on my iPhone (shows as white).
Can you help? Thanks.
@media only screen and (min-width: 768px) {
.container_wrap.sidebar_right{
background:-webkit-gradient(linear,right top,left top,color-stop(#7d223a,0.200),color-stop(#dadada,0));
background:-webkit-linear-gradient(right, #7d223a 26.0%, #dadada 0%);
background: -moz-linear-gradient(right, #7d223a 20.0%, #dadada 0%);
background: -o-linear-gradient(right, #7d223a 20.0%, #dadada 0%);
background: linear-gradient(right, #7d223a 20.0%, #dadada 0%);
}
}
Hey lsgstudio,
Please make sure that the browsers you are using are supporting the CSS: http://www.w3schools.com/css/css3_gradients.asp
Best regards,
Rikard
Thanks… the gradient does not display correctly in Explorer 11 (no maroon). Looks fine in Chrome.
I got this code from a previous Kreisi post on the same topic.
I’m not really trying to do a gradient…the goal is a solid color … is there is an easier, more compatible code for solid color?