More in this section

Forums / Developing with Sitefinity / IntraSite Module CSS

IntraSite Module CSS

2 posts, 0 answered
  1. Duncan Evans
    Duncan Evans avatar
    122 posts
    Registered:
    07 Jul 2009
    03 Sep 2009
    Link to this post
    I'm creating a custom module and am using some of the existing styling the the admin pages use, but i have the need to modify some of the styles for this particular module.

    Is there a way to specify the CSS file to use in the module? And where can i find the current CSS files that i can copy down... Specifically for the "Page Properties" administration page...

    Thanks,

    Duncan
  2. Katia
    Katia avatar
    194 posts
    Registered:
    01 Jul 2016
    04 Sep 2009
    Link to this post
    Hello Duncan Evans,

    All administration CSS files can be found in ~/Sitefinity/Admin/Themes/Default.

    So the easiest way to add your own CSS is to create a new .css file in that folder (~/Sitefinity/Admin/Themes/Default) and then import it to global1.css file with @import rule. For example write @import "YourFileName.css"; at the top of the file. So things will not get messed up after upgrades and fixes and new staff  will be applied. You may only need to add the import rule in global1.css again. Specific page properties CSS is in ~/Sitefinity/Admin/Themes/Default/pages.css.


    Best wishes,
    Katia
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered