Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Search Text Box CSSSearch Text Box CSS
Previous
 
Next
New Post
10/30/2012 3:23 PM
 

Hello DNN Folks.

I am using DNN 5.6.4.  I am trying to change the COLOR attribute of the Search text box.  I have used:

/* Search Box text color */
#dnn_dnnSEARCH_txtSearch.NormalTextBox
{
color:red;
}

However, when I look at the rendered css in Firebug, I see that the css that I have entered has been applied to the portal.css file but has been over ridden by the default.css file.

I have also unsuccessful tried using:
#Body .dnn_dnnSEARCH_txtSearch.NormalTextBox

Anyone have another idea?

Thanks.

David

 
New Post
10/31/2012 4:34 AM
 
Try rewrite it in the skin file with your own css style:
#dnn_dnnSEARCH_txtSearch.NormalTextBox
{
color:xx;
}

NovaSoftware ---a professional outsourcing company in China .
* More than 6 years' offshore experience in DNN
* Successfully developed 30+ websites , 250+ DNN modules, 50+ sets of Skins/Containers.
* Demo Site:http://dotnetnuke.novasoftware.com/
 
New Post
10/31/2012 4:52 AM
 
As a rule we try not to change css code in either the portal.css or default.css files. Since both of these files are over written any time you update your dnn core.

Instead I would be looking at adding the changes you desire to the skin.css file in the skin your site is using.

This should also ensure that the order of loading allows the skin.css to override the default.css definition.

And if all else fails color:red !Important; will force color:red to override all other definitions.
 
New Post
10/31/2012 8:41 AM
 
Hi all.
Thanks for the help. I should have made myself more clear. I am a portal admin and do not have direct access to make physical stylesheet changes. The css changes I'm making are as an admin via the Site Settings page using the Stylesheet Editor.

I just added the !Important and that did the trick.

Thanks so much.

David
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Search Text Box CSSSearch Text Box CSS


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out