We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 708
    • 144 Posts
    hi

    i would to import my stylesheet like this :

    @import "./form.css";
    @import "./modx.css";
    @import "./modxmenu.css";

    in my main stylesheet that is called like this :

    <link title="css base" rel="stylesheet" type="text/css" href="[(base_url)]assets/templates/upandout/css/upandout_v0810.css" />

    but i have a path trouble...that i can’t solve...

    have you a tips ?

    thx
      AipHesBlOg
      Serveur Local Linux Ubuntu - Apache 2.2.9 - Php 5.2.6 - MySQL 5.0.67
      ---------------------------------------------------------------
      French webdesigner
      • 4310
      • 2,310 Posts
      @import "form.css"

      I think it should work if :
      1. placed at the top of your upandout_v0810.css file
      2. the path is the same i.e. [(base_url)]assets/templates/upandout/css/form.css
        • 708
        • 144 Posts
        solved smiley
        there was a directory trouble...all work right now !
          AipHesBlOg
          Serveur Local Linux Ubuntu - Apache 2.2.9 - Php 5.2.6 - MySQL 5.0.67
          ---------------------------------------------------------------
          French webdesigner