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 ForumsBlogBlogHow to change CSS classes for blog?How to change CSS classes for blog?
Previous
 
Next
New Post
9/7/2007 6:54 PM
 

After doing some research with Firebug I'm a little closer to figuring out the problem but still not sure how to change it. It seems that the calendar archive links uses the .normal class but is being overidden by the fact that the actual link itself is hard coded to have a black color (i need it to be white). Does anyone know how I can change this?

 
New Post
9/8/2007 9:13 AM
 

Forgman,

That is an interesting find. I will investigate and make sure it gets fixed.

Basically, it seems (I have to confirm) that the style tag is being injected into that element from the CODE. This should not be happening.

Thanks!


Maxiom TechnologyAntonio Chagoury | Microsoft MVP
Maxiom Technology
Professional .net & DotNetNuke Solutions
web: www.maxiomtech.com
blog: www.cto20.com
twitter: @antoniochagoury & @maxiomtech

 
New Post
9/9/2007 7:03 PM
 

When do you think an update will be available?

 
New Post
9/10/2007 12:42 AM
 

There are loads of hard-coded styles in the blog. A few minutes clicking around in Firebug shows this. I would have pointed this out to Antonio previously, but I got such a moronic response from the project leader of another core module for pointing out the same thing that I decided not to.

So.. until they are moved to the module.css you have to use "!important" after each and every style that you want to override. You can see where I've done that in the samples I provided in my last post. It's not so bad with this module because many of the hardcoded ones, such as the borders, are quite suitable.

Frogman.. simply open the archive.ascx file in teh blog module's folder. Then replace the   <asp:Calendar .......>  </asp:Calendar> section with the one I provided.

Then replace the module.css with the rest of what I provided.

Then Control-F5 force-refresh and view the result. Change the styles ass needed for your site. As mentioned, use "!important" wherever needed.

Once this does get added to the module officially then it should be simple enough to change the class names in the module.css to suit.

Regards,
Rob

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogHow to change CSS classes for blog?How to change CSS classes for blog?


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