We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16741
    • 21 Posts
    I am exploring MODx 0961p2, recently downloaded, and am puzzled by the MODxCSS template which includes the following:

    <link title="Light" rel="alternate stylesheet" type="text/css" href="[(base_url)]assets/templates/default/light_green.css" />
    <link title="Light Green" rel="alternate stylesheet" type="text/css" href="[(base_url)]assets/templates/default/light.css" />

    Why does the Light call up the light_green.css and the Light Green call up the light.css? Is this just a mistake which everyone knows about (except newcomers) and are there any others? There is no problem unless you are interested in modifying one of them since the file contents are called correctly - the "Light" uses the light_green jpg and vice versa!

    Laurie Fox
      • 22303 MODX Staff
      • 10,725 Posts
      It’s very possibly an oversight in the provided demo content.
        • 16741
        • 21 Posts
        just another question about the .css files which are part of the initial download. With the MODxCSS template the ZiX styles display the sidebar on the right whereas the relevant .css files seem to say that it should be on the left. What controls where the sidebar should go in this case?

        Regards

        Laurie Fox
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          It’s all in the CSS.
            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
            • 16741
            • 21 Posts
            Here is the .css which says the sidebar is on the left and the screenshot where it appears on the right.

            Regards

            Laurie Fox
              • 16741
              • 21 Posts
              Several people seem to have looked at my last post but there have been no replies yet. Are they just as puzzled as I am?

              Regards

              Laurie Fox
                • 22303 MODX Staff
                • 10,725 Posts
                Quote from: laurie at Sep 05, 2008, 08:30 AM

                Several people seem to have looked at my last post but there have been no replies yet. Are they just as puzzled as I am?
                It’s just demo content to exemplify how you can use MODx; most people look at it the first time they use MODx to get the hang of things and then never look at it again. It is very likely that the CSS simply is misnamed or linked to the wrong files, but since it’s just an example of working with MODx and not meant as a tutorial on HTML/CSS design, most of us simply do not feel compelled to worry about it.
                  • 25663 MODX Staff
                  • 12,272 Posts
                  Post a patch to fix this in our Jira bug tracker would be greatly appreciated and we’d be happy to include any such fixes in future releases. smiley
                    Ryan Thrash, MODX Co-Founder
                    Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me