Sitefinity add Css files to page

Posted by Community Admin on 04-Aug-2018 12:41

Sitefinity add Css files to page

All Replies

Posted by Community Admin on 20-Apr-2011 00:00

hi
i have master page without any css files, when surfing the a page created with this template
sitefinity add 

<link href="/Telerik.Web.UI.WebResource.axd?compress=0&amp;_TSM_CombinedScripts_=%3b%3bTelerik.Sitefinity.Resources%2c+Version%3d4.0.1251.0%2c+Culture%3dneutral%2c+PublicKeyToken%3dnull%3aen-US%3ac2f2746c-7c2c-4ff0-938a-b1c5d6007bb8%3ad271177c%3adff30785" type="text/css" rel="stylesheet" />

 the problem is with

/* START Telerik.Sitefinity.Resources.Themes.Basic.Global.Layout.css */

because it interfere with our css files
we use em instead of px and the style masses up
is there any argument we can change to remove this global layout ?
( also the a:hover with color)

 

Posted by Community Admin on 22-Apr-2011 00:00

Hi Udi,

Is your master page based on our Basic Template? The css classes that we add are injected by ThemeController  and handler_PreRenderComplete event handler inside PageRouteHandler. This happens when you use our theme. Generally you should be able to override the styles with an !important rule.

Kind regards,
Ivan Dimitrov
the Telerik team


Posted by Community Admin on 25-Apr-2011 00:00

we are using our own master pages.
can the theme be disabled all across the site ?

Posted by Community Admin on 25-Apr-2011 00:00

Hi Udi,

If you use your own them and template there should not be css that come from Telerik.Sitefinity.Resources. I prepared a short video that shows that in this case we load only js to MS AJAX library.


Greetings,
Ivan Dimitrov
the Telerik team


This thread is closed