More in this section

Forums / Bugs & Issues / Sitefinity add Css files to page

Sitefinity add Css files to page

4 posts, 0 answered
  1. Udi
    Udi avatar
    11 posts
    Registered:
    11 Jan 2011
    20 Apr 2011
    Link to this post
    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)

     

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    22 Apr 2011
    Link to this post
    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

  3. Udi
    Udi avatar
    11 posts
    Registered:
    11 Jan 2011
    25 Apr 2011
    Link to this post
    we are using our own master pages.
    can the theme be disabled all across the site ?
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    25 Apr 2011
    Link to this post
    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

4 posts, 0 answered