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

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Have I got this right?Have I got this right?
Previous
 
Next
New Post
8/22/2006 10:10 AM
 

Hi everyone. I am in the process of designing and implementing my first skin for a DNN 4.3 installation. I have read the online documentation, downloaded and read the skinning guide and even purchased the Professional DNN 4 book from Wrox press. I still require a few clarifications…

 

In regards to the CSS hierarchy:

 

Am I correct in understanding that the styles defined in the custom style sheet provided with your skin package will override the styles set in the default.css style sheet, provided you define those DNN specific styles (such as .MainMenu_MenuItem) again in your skin package CSS file? And if this incorrect, how exactly does this scenario work?

 

Are there any restrictions on how my custom CSS classes are applied to the skin (example: repeating backgrounds, padding and positioning)? I am still learning about CSS hierarchy, so where in the style sheet should the custom classes be defined or does it matter?

 

If you are specifying the styles in your skin and container package CSS sheets, what exactly is the portal.css file for?

 

Once you have created and uploaded your skin package, and allowed the DNN application to parse and install the skin via the upload component, am I free then to download the installed package from the server, make changes to the code, and then, using FTP, return the modified file to the server? Or do I have to re-upload using the skin upload component?

 

Lots of questions. Thanks in advance for any help that can be given.

 

TC

 
New Post
8/22/2006 11:02 AM
 
Mosaic wrote

Am I correct in understanding that the styles defined in the custom style sheet provided with your skin package will override the styles set in the default.css style sheet, provided you define those DNN specific styles (such as .MainMenu_MenuItem) again in your skin package CSS file?

yes

Are there any restrictions on how my custom CSS classes are applied to the skin (example: repeating backgrounds, padding and positioning)? I am still learning about CSS hierarchy, so where in the style sheet should the custom classes be defined or does it matter?

no, which attributes are applicable is determined by the type of object.

If you are specifying the styles in your skin and container package CSS sheets, what exactly is the portal.css file for?

to override skin styles per portal

Once you have created and uploaded your skin package, and allowed the DNN application to parse and install the skin via the upload component, am I free then to download the installed package from the server, make changes to the code, and then, using FTP, return the modified file to the server? Or do I have to re-upload using the skin upload component?

if you alter ascx file instead of html/xml pair, changes get affected on save; if you edit html/xml file, you need to reparse, so the files get compiled into the appropriate ascx file.

[QUOTE]


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/22/2006 11:19 AM
 

Welcome to the forum,

 

Once you have created and uploaded your skin package, and allowed the DNN application to parse and install the skin via the upload component, am I free then to download the installed package from the server, make changes to the code, and then, using FTP, return the modified file to the server? Or do I have to re-upload using the skin upload component?

You can make changes to your css file directly and refresh your browser, theres no need to completely reinstall the skin package with every change. All the package installer does is put the files into the appropriate directory.

Are there any restrictions on how my custom CSS classes are applied to the skin (example: repeating backgrounds, padding and positioning)? I am still learning about CSS hierarchy, so where in the style sheet should the custom classes be defined or does it matter?

From what ive seen there aren't any restrictions, you can put whatever design elements in your html you like and then control those with your skin's css file. However, i haven't played too much with overriding entire tags (h1,body etc). Setting global level styles like this might cause display issues with some modules. Therefore i prefer to make new classes for the skin and apply explicitly to the skin HTML tags.

 
New Post
8/22/2006 1:46 PM
 

Thank you for your timely replies. They have helped clarify my understanding of this process.

TC 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Have I got this right?Have I got this right?


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