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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsNews FeedsNews FeedsChange News Feed Link Color in CSSChange News Feed Link Color in CSS
Previous
 
Next
New Post
7/28/2010 12:56 AM
 
Hi, How do I change the color of the News Feed link, using css, for a container... for instance, I have a module that displays links in white. What CSS name would I use to change the color? I tried a.DNN_News_ItemLink:link but it didn't work... any ideas?
 
New Post
8/11/2010 12:49 AM
 
Since nobody seems to know, here's what I did...

Name the DIV, in the container, that everything lives in with  an ID. It can be anything you want. In my case it was id="White" It can also be limited to a section of the container, if you want... like the header/title command buttons, etc.

In the CSS, you have to put an identifier... not sure if that's the correct word for it. Example

#White .Normal a:visited
#White .Normal a:link
#White .Normal a:hover
#White .Normal a:active

This tells the CSS to apply ONLY to the containers with an id of White... Since my entire container's highest DIV has an id of White, it applies to the entire thing, but not the whole page. It also tells it to apply to the existing CSS style of Normal and all the link states for Normal.

Another example to change the color of the controls, in the footer...

the class for the command buttons is:
a.commandButton:link
etc.

Again, in my case, my DIV id="White" So, If i want just the white container to be a color, I have to put the identifier in the CSS, for that container.
#White a.commandButton:link
and so on, for the others.

Hope this helps someone!
~Stay Free
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsNews FeedsNews FeedsChange News Feed Link Color in CSSChange News Feed Link Color in 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