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 ForumsBlogBlogCSS Styling from module.cssCSS Styling from module.css
Previous
 
Next
New Post
12/16/2008 2:00 PM
 

So, one of the more, actually possibly the MOST frustrating thing about the blog module, for me of course... is the fact that module.css is constantly getting the beat down from either my skin.css file or my portal.css file.

I look through the ViewBlog.ascx file, then modify the CSS styling from the module.css file to change the styles, only to find that nothing changes, and I actually have to dive into the ascx files and modify with in-line CSS.

Doesn't this defeat the purpose of have a style sheet for the module in the first place?

Do I need to put a <p></p> class in my module.css file so the skin.css file doesn't overwrite my styles when browsers see the <p> tags in a blog entry?

What am I missing that might make blog module styling simpler?  Then, by the way, every time the module is upgraded, I lose my styling.


Chad Voller -- MCP, DNN Aficionado
Leapwise Media
View my View Chad Voller's profile on LinkedIn
 
New Post
12/16/2008 2:16 PM
 

So, ineed I found that if I modified the styling of the p tag in the skin.css file, it change my actual blog posts, along with everything else on my site.

What can be done?  Do I remove the p styling from skin.css and see what happens?


Chad Voller -- MCP, DNN Aficionado
Leapwise Media
View my View Chad Voller's profile on LinkedIn
 
New Post
12/16/2008 2:18 PM
 

P.S. > To those who love and support and admire the blog module, this is exactly the type of thing that has, for years, prevented me from using the module to a greater extent... It has seemed SO behind the times in SO many ways... that even though I love DNN, I love the community, and I want to see these projects succeed, I hesitate to implement some of the functionality because it ends up taking sooo much time to work through issues that ought to have been in place from the start.


Chad Voller -- MCP, DNN Aficionado
Leapwise Media
View my View Chad Voller's profile on LinkedIn
 
New Post
12/16/2008 4:38 PM
 

This is exactly how the module styling is intended to work.  It it supposed to be completely overridable by the skin and your portal styling.  If you want to make customizations, you should do so in your skin or portal stylesheet (depending on the scope of your changes and their dependence on the skin, wherever it makes more sense to put the changes).

As you noted, this also prevents your customizations from being overwritten when you upgrade/reinstall the module.

For all DNN modules, you should never have to alter the module.css.  All customizations should be done with overriding CSS styles in a stylesheet you own, most likely the Portal stylesheet, though sometimes the skin.

Hope that helps,


Brian Dukes
Engage Software
St. Louis, MO
866-907-4002
DNN partner specializing in custom, enterprise DNN development.
 
New Post
12/16/2008 4:45 PM
 

vollerworld wrote

What can be done?  Do I remove the p styling from skin.css and see what happens?

I had the same issues, I created a special container for use with the blog module, and used the container's css to achieve what was required

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogCSS Styling from module.cssCSS Styling from module.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