We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6059
    • 45 Posts
    Hy, i try to add specific site css and created a snippet with
    $modx->regClientCSS('assets/css/my-custom.css');
    and call it in my template with
    [[snippet name]]
    . But nothing happens, if i call it the same way in the BasisTemplate the css shows fine. What is wrong, why can i not add it in another template?

    I tried the BasisTemplate and renamed the title, save it and now the same error, css not shown anymore. Does anybody has an idea? huh
      • 6059
      • 45 Posts
      Ok first i am new to modx and tried so much the last days that i not see the problem but after posting it i found it.

      Ok for all how should have this problem anytime, i had problems with my header. THe header close tag </head> was missing and thats why the code was not shown in head.

      Thx, can someone close this thread or mark it as solved? rolleyes