Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Connie DeCinko 931 posts 1159 karma points
    Sep 23, 2010 @ 20:45
    Connie DeCinko
    0

    XSLTSearch css being ignored

    I'm using XSLT Search in a heavily styled web site.  I added the default css to /css/XSLTsearch.css and added a reference to that in my master template.  When looking at the page source, I see the .css file, I see the class designations, I can even download the css file.  However, none of the styling is being applied.  If I comment out my base css, then it works.  How can I force the use of the search css?

     

  • Kim Andersen 1447 posts 2196 karma points MVP
    Sep 23, 2010 @ 21:27
    Kim Andersen
    0

    Hi Connie

    If your base css overrules the styles from the XSLTsearch.css-file try including the XSLTsearch.css-file as the last CSS file in your master template. If that doesn't work either, could you try the !important statement on some of your styles in the XSLTsearch.css, to see if that helps.

    /Kim A

  • Connie DeCinko 931 posts 1159 karma points
    Oct 04, 2010 @ 17:14
    Connie DeCinko
    0

    For some reason my CSS would not play nicely in a separate file.  I added the CSS into my main file and all is good.

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies