HomeHomeDotNetNuke Forg...DotNetNuke Forg...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
314.966.4000
DNN Gold partner specializing in custom, enterprise DotNetNuke 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
HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsBlogBlogCSS Styling from module.cssCSS Styling from module.css


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Start  Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke (DNN) provides a suite of solutions that make designing, building and managing feature-rich sites and communities fast, easy and cost-effective. The DotNetNuke Platform CMS is the foundation for more than one million websites worldwide. DNN Social, our newest solution, enables businesses to create immersive, interactive communities. Thousands of organizations like True Value Hardware, Bose, Cornell University, Glacier Water, Dannon, Delphi, USAA, NASCAR, Northern Health and the City of Denver have leveraged DNN to deploy highly engaging business- critical websites. Our rapid growth in product sales and deployments resulted in DotNetNuke Corp. being named one of the fastest growing private companies in America by Inc. Magazine in 2011 and 2012.