css issue

Posted in: Newspaper
Post count: 109

For an submit button i use a custom CSS code that i’ve insert in the ‘custom css area’.
The button looks fine exept the font is black and not white as set in het css.

.submit-btn
{
border : solid 1px #000000;
border-radius : 3px;
moz-border-radius : 3px;
-webkit-box-shadow : inset 0px 0px 4px rgba(252,252,252,1.0);
-moz-box-shadow : inset 0px 0px 4px rgba(252,252,252,1.0);
box-shadow : inset 0px 0px 4px rgba(252,252,252,1.0);
font-size : 16px;
color : #ffffff;
padding : 6px 17px;
background : #03e036;
background : -webkit-gradient(linear, left top, left bottom, color-stop(0%,#03e036), color-stop(100%,#18b300));
background : -moz-linear-gradient(top, #03e036 0%, #18b300 100%);
background : -webkit-linear-gradient(top, #03e036 0%, #18b300 100%);
background : -o-linear-gradient(top, #03e036 0%, #18b300 100%);
background : -ms-linear-gradient(top, #03e036 0%, #18b300 100%);
background : linear-gradient(top, #03e036 0%, #18b300 100%);
filter : progid:DXImageTransform.Microsoft.gradient( startColorstr='#03e036', endColorstr='#18b300',GradientType=0 );

}

And this is the result: http://goo.gl/Nq4YQo

How to display the font in white, instead of black?

Thanks!

Post count: 109

Solved it myself by adding

!important;

after the color.

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.