I created a custom skin for my DNN installation. As indicated in the Skinning Guide I used the CssClass attribute for the [SEARCH] token to apply the correct css class. In my skin.css file I have the following settings:
SearchSkinObject {
font-weight: bold;
font-size: 8.5pt;
color: white;
font-family: Arial, Helvetica;
text-decoration: none;
padding: 1px 3px 1px 1px;
}
A.SearchSkinObject:link {
text-decoration: none;
color: white;
padding: 1px 3px 1px 1px;
}
A.SearchSkinObject:visited {
text-decoration: none;
color: white;
padding: 1px 3px 1px 1px;
}
A.SearchSkinObject:active {
text-decoration: none;
color: white;
padding: 1px 3px 1px 1px;
}
A.SearchSkinObject:hover {
text-decoration: none;
color: blue;
background-color: transparent;
padding: 1px 3px 1px 1px;
}
and in my skin.xml file I have the follow for the [SEARCH] token:
<Object>
<Token>[SEARCH]</Token>
<Settings>
<Setting>
<Name>CssClass</Name>
<Value>SearchSkinObject</Value>
</Setting>
</Settings>
</Object>
Using these setting the text from my search comes up black instead of white as intended. The fonts also appear to be incorrect as well. Does the skin.css file possibiliy get trumped by the default.css file, if so how can I have my settings in the skin.css file overwrite any possible default settings?
Thanks.
Derek