We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6175
    • 2 Posts
    Ok, I installed the Modx CMs with the default content and templates. Everything else works just fine (thanks!) but when I try to switch templates for a page in the edit content section I just get a page that loads with no stylesheet? I can’t find an area to specify a stylesheet.

    Thanks!
    CWebguy
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      In your new template (just like any HTML page) there is a head, and in that head is the link to your stylesheet. Ordinarily all external files (.css, .js, images, et) are stored in an assets/templates/TemplateName/ folder, but they can be anywhere you want to put them, as long as the paths and URLs to them are correct in your template.
        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
        • 6175
        • 2 Posts
        I’m using the built in template (CSS Wide or something like that). Shouldn’t a stylesheet be automatically attached (or do I have to adjust it manually)?

        I couldn’t find documentation on this, that’s why I’m asking here. Thanks!

        CWebguy