8.4. Summary

This chapter focused on performing customizations to a DNN website using CSS. You learned about the CSS hierarchy, and how DNN inherits settings from the different CSS files described in this chapter. This chapter gave you a glimpse of what can be accomplished — there are some standards worth noting again that you may wish to adopt.

First, use only the skin.css file to add CSS styles you want to apply to content in your DNN website. Second, delete any CSS code from the default.css file that you are going to specify in your skin.css file, so you don't have unnecessary, duplicate code. Third, remove all styles from the default.css file except those needed by the Admin interface, such as Control Panel styles, File Manager styles, and wizard styles. This will eliminate the possibility of undesirable CSS results within your DNN website.

You gotta love the power of CSS and the ease with which you can control so much with so little effort! In the next chapter, you discover even more to love about DNN as you explore one of DNN's most powerful features: Roles-Based Security. You learn how to create security roles and define permissions as you lock content down to specific users. After this next chapter, don't be surprised if you feel like trying to leap tall buildings in a single bound.

Get DotNetNuke® Websites: Problem — Design — Solution now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.