DotNetNuke Skinning

三世轮回 提交于 2019-12-11 04:37:42

问题


I was reading this tutorial from the DNN website http://www.dotnetnuke.com/Community/Blogs/tabid/825/EntryId/2675/DotNetNuke-Skinning-101-Part-2.aspx

I found the tutorial to be very useful, however there was an issue when I tried to apply the CSS style. For example after adding the content pane in the initial index.html I have no idea where to place the CSS. If I add it to the head section then the parser will remove it. Where could I add or reference the css file on for the skin? thank you.


回答1:


Not a DNN specialist, but:

A skin normally contains a stylesheet file called "skin.css" in the skins\skin-name folder.

The reference to this stylesheet is provided for you by the DNN framework.

To reference multiple CSS files, or to add css files with different names, you normally @import them from the skin.css file.



来源:https://stackoverflow.com/questions/3237709/dotnetnuke-skinning

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!