You need to Register for free and Login to post a message in the forum.

Forum

Subject: Issue 25 skin over rides module settings
Prev Next
You are not authorized to post a reply.

Author Messages
watcher44
Nuke Newbie
Nuke Newbie
Posts:4

14 Oct 2007 8:49 AM  
I am so thankful you put out the latest tutorial.  It has really helped me learn more about CSS but I'm still on the green side.

The issue I am having is the skin template that came with the tutorial over rides the format settings for sqlgridview, event log, etc.  Seems like anything that is being pulled from the database...

If I apply the Red Leaf skin, then the module format settings reappear.  Any idea what it is about the issue 25 skin that is causing this?

Any and all help will be greatly appreciated!
watcher44
Nuke Newbie
Nuke Newbie
Posts:4

14 Oct 2007 5:39 PM  

From what I've been reading, it seems the different .css files are loaded in a certain order in DNN.  So my follow up question is, "What is that order?".  I've seen a few sites and I'm still not clear on what order they load but I did glean that the last one to load should "over-ride" the others.

Is that correct?

Thanks.

watcher44
Nuke Newbie
Nuke Newbie
Posts:4

14 Oct 2007 7:01 PM  
Okay, using the css toolbar in Mozilla, I discovered that the format settings in body section of the skin.css file is over-riding the format settings of the module.css.

If I remove those settings, then I see the formatting from the module.css. 

So what do I need to do to insure the settings in the module.css over-ride the settings in the skin.css.  Shouldn't the module.css be read last?  (I know I can remove the settings from the skin.css but not sure I want to...)

If you haven't figured it out yet, I am new to this and yes I know I should view all of the tutorials but I'm running out of time.  Fortunately, this is not a deal breaker and this is a club website and I'm a volunteer. :-)

You're help will be most appreciated.

Thanks.
leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3325

15 Oct 2007 2:23 AM  
Hello,

Yes you are correct, the order of the css files is:

module.css
default.css
skin.css
container.css
portal.css
skinname.css

It may help to read: Introduction to CSS and inheritance in DotNetNuke skins
- so skin.css can override module.css - if this is the case then it maybe worth creating a separate skin for that module and remove the skin.css code that is causing the problem. - Or if that is not an option I would rename the classes in the skin.css file so that they do not clash and override settings in the module.css file.

Hope this helps,

Thanks,


Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
You are not authorized to post a reply.
Forums > Users Lounge > DNN Creative Articles > Issue 25 skin over rides module settings



ActiveForums 3.7

Latest Forum Posts

RE: Reversing Limited Access to the Admin Menu by wynnjon
OK-So I've updated the TABS table entries in the database and set the previously modified entries (t...
RE: localhost Install issues by leesykes
If you go to the subscribe page and click on the get free trial button - this takes you to a page wh...
localhost Install issues by cdees
I've set up a local host and want to run DNN for a local development machine.  The host is set up; h...
RE: Reversing Limited Access to the Admin Menu by wynnjon
That is what I thought.  So for my clients that will need to manage user accounts, I can not limit t...
RE: Reversing Limited Access to the Admin Menu by leesykes
I seem to recall it doesn't work
RE: Reversing Limited Access to the Admin Menu by wynnjon
Thanks Lee-  I will give that a try.An additional question- If you place the "User Accounts" page un...
RE: Reversing Limited Access to the Admin Menu by leesykes
all you need to do is reverse the process within the SQL tables.Compare the data to the other rows i...
RE: Module not working when logged off. by leesykes
thanks for the info,
Reversing Limited Access to the Admin Menu by wynnjon
Hi!  I followed the tutorial for limiting the access to the admin menu.  What a great thing!However,...
RE: Trouble installing! Designer trying to be a Developer. by leesykes
glad to hear you found a solution, thanks,
RE: Skim Question by leesykes
You could but you will not be able to have an XHTML compliant page as the SolpartMenu is non-complia...
RE: Include in Menu - Weird Request by leesykes
For your sitemap.xml file - use GSiteCrawlerYou could create the site map before moving the sub menu...
RE: Trouble installing! Designer trying to be a Developer. by awright14
It looks like I had ASP installed in the wrong order.  Copying and pasting this into the Run Command...
RE: Need Help Changing Containers Contentpane's Text Color by leesykes
Hello,Have you tried adding a class to the content area of your container and then styling the p, a,...
RE: Vertical SolpartMenu by leesykes
hello,If you wish to display the admin and host menus within the house menu, you need to enable it i...
RE: Firefox Does Not Display WMV File In Media Module by leesykes
Hello,I have just tested this and I can play a wmv file in Firefox 3.0.3, so it does suggest that it...
RE: advice wanted convert site to DNN while keeping existing asp functionality by leesykes
You could try using the IFrame module in DotNetNuke and then just link the IFrame to the current pag...
RE: Need Help Changing Containers Contentpane's Text Color by CROKeefe
Thanks for the quick update... I know it looks broken right now, but I had the TITLE classes working...
RE: Need Help Changing Containers Contentpane's Text Color by leesykes
The default class for a container is .head so you will find that the .head class will override any s...
RE: Module not working when logged off. by t.ramya85
have to set the cache time to '0' in that module setting.
AppTheory
RSS Feeds