My client wants me to develop a series of skins for a site wherein each portion of the site uses a similar layout with a different color layout. Is there a way to override a module css from a css file within the skin folders? I ask because I need to know if I can use <%skin=%>/images/nav.jpg in a css file? Thanks.
No, that won't work in an external CSS file. With DotNetNuke you can assign different skins to different pages, though. So, you'll need to create a different skin for each color variation and then assign them appropriately to your pages.
Thanks for the quick reply. So the skin level CSS should override the module then if I understand correctly. no need for the <%skin= %> stuff just make sure the image is in with the skin images? I follow with the page specific skins, that's how i've setup the site each subsection has its own unique color layout, and so the module images can just be assigned right with everything else? (This may be easier than I had made it out to be)
LOL, I think so. Let's say you have a red skin, a green skin, and a blue skin. You'd have something like: redskin/images/nav.jpg greenskin/images/nav.jpg bluenskin/images/nav.jpg "nav.jpg" would be different in each skin. Then you'd assign the pages skins appropriately.
you better use CSS friendly control adapters with different themes. Then the user will be able to dynamically point to the theme he desire.