We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38288
    • 3 Posts
    Hi there,

    I'm new to modx and have built a site using the SimpleSearch plugin.
    I've been looking in the install directory for any local CSS files, but other than the .tpl files (which doesn't do anything) I can't find anything to style the look of the search form etc.
    Also no luck looking in the SQL database.

    I also didn't find any documentation covering this part, and I can hardly leave the search form looking default.

    Could anyone help me out here?
    I just need access to the CSS/HTML.

    Regards

    This question has been answered by whistlemaker. See the first response.

    • discuss.answer
      • 32316
      • 387 Posts
      I've not used SimpleSearch but a quick look at the documentation http://rtfm.modx.com/display/ADDON/SimpleSearch.SimpleSearch suggests that it works in a similar manner to other modx extras.
      The default templates are in the documentation. The default templates can be over-ridden by creating a chunk with the html (easiest to base it on the default) and then including in your call something like:
      ... &tpl=`mycustomtpl` ...

      The custom css is just css that can live any where ( a common place would be /assets/css/ ) and then linked from your page template or included with a snippet - see http://rtfm.modx.com/display/revolution20/Adding+CSS+and+JS+to+Your+Pages+Through+Snippets This css could be an extra file or just part of your site css.

        • 38288
        • 3 Posts
        Ah right, that did the trick, thanks!
        Sorry, I'm still new to modx. Didn't seem that logical at first ;-)