We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12147
    • 182 Posts
    I have looked all over everywhere and can find no basic info on the use of templates, which I gather should be used in order to style input area/output page results? If really not present, it would be of real use to non-geeks like me. I’ve styled what I can on the input/search box area, and search is working as I want, but I’d really like to style the output page, plus the search results below input box.

    Can someone give a brief overview re: templates/chunks as relate to AS CSS? (Maybe this could also be added to the AS Wiki, for other N-Gs like me?) If such does exist, I sure would be glad to be pointed to it.

    Thanks very much grin When I grow up, I want to be a geek. Then no more dumb questions.
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      The AjaxSearch snippet’s code is heavily commented in the beginning, where all the parameters, templates, and css parameters are set.

      You can also look at your browser’s View Source and see how the AjaxSearch elements are structured, and what IDs and classnames they have, then adjust your .css file accordingly.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 12147
        • 182 Posts
        Thank you very much, Sottwell! I read through all this once, but didn’t catch these (or find them in the Wiki), and even so it might have been before I understood how AjaxSearch works (in my very minimal way wink)

        I appreciate your response. Hopefully more comprehension will eventually filter down through the thick woods of familiarization grin