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?
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.
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?
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
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.
is working on a reply...
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.