1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / SF 4.0 Injecting CSS

SF 4.0 Injecting CSS

3 posts, 0 answered
  1. Embrace
    Embrace avatar
    17 posts
    Registered:
    10 Jul 2008
    12 Mar 2011
    Link to this post
    We just noticed that SF is injecting its CSS into our CSS files, see the sample below. How do we disable Sitefinity from touching our CSS? It's screwing up our site layout.

    .sf_pagerNumeric {
        font-size: 13px;
        margin-top: 15px;
    }
    .sf_pagerNumeric a:link, .sf_pagerNumeric a:visited, .sf_pagerNumeric a:hover, .sf_pagerNumeric a:active {
        border: 1px solid #FFFFFF;
        color: #105CB6;
        padding: 1px 6px;
    }
    .sf_pagerNumeric a:hover {
        border-color: #105CB6;
    }

  2. Markus
    Markus avatar
    2763 posts
    Registered:
    25 Nov 2005
    14 Mar 2011
    Link to this post
    I don't think SF touches your CSS files but it might uses css that messes up your css.

    you can always use

    a:active{
    color:#FF0000 !important;
    }

    in your own css to override.

    Give it a try

    Markus
  3. Embrace
    Embrace avatar
    17 posts
    Registered:
    10 Jul 2008
    14 Mar 2011
    Link to this post
    Actually what SF is doing is using a WebResource.axd to inject the CSS into the page at runtime. So technically it's not touching my CSS but I want to disable this, how dare SF interfere with my on-page markup.

    Can anyone from Telerik suggest how this CSS injection be disabled?
3 posts, 0 answered