We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11183
    • 8 Posts
    Since i do not have modx install on the root, templates appear broken. Should I go back and add the additional path for each reference, or is there a better way? I would hate having to go through each line if the path is changed later.

    example:
    @import url(assets/templates/Seashells/style/seashells.css);

    change to:
    @import url(beta/assets/templates/Seashells/style/seashells.css);
      • 6726
      • 7,075 Posts
      I don’t know if it’s the best of practices, but in order to avoid those annoying problems I use

      @import url([(site_url)]assets/templates/Seashells/style/seashells.css);


      and never experience this kind of problem smiley

      In know adding

      <base href="[(base_url)]" />


      to your template should cover things but I am not sure it works with @import (never tried...)
        .: COO - Commerce Guys - Community Driven Innovation :.


        MODx est l&#39;outil id