We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20939
    • 2 Posts
    hello
    i had a css template and wanna use it 4 modx.
    i used the howto, to create the tamplate, but every time,
    i’ll see it, the page appears without any grafics or someting else.
    what’s the problem?

    this is the template.
    i copied the css and the images to /assets/templates/nano91v2/
    but it doesen’t works.

    <head>
    
    <base href=“[(site_url)]“ />
    <link rel=“stylesheet“ type=“text/css“ href=“/assets/templates/nano91v2/style.css“ />
    
    <title>[*pagetitle*] | [(site_name)]</title>
    
    </head>
    
    <body>
    <!-- wrap starts here -->
    <div id="wrap">
    
             <div id="header"><div id="header-content">
    
                     <h1 id="logo"><a href="index.html" title="">pixel<span class="gray">green</span></a></h1>
                     <h2 id="slogan">Put your site slogan here...</h2>
    
    
             </div></div>
    
             <div class="headerphoto"></div>
    
             <!-- content-wrap starts here -->
             <div id="content-wrap"><div id="content">
    
                     <div id="sidebar" >
    
                             <div class="sidebox">
    
                                     <h1>About</h1>
    
                                     <p>About text</p>
    
                             </div>
    
                             <div class="sidemenu">
    
                             [!Wayfinder?startId='0'!]
    
                             </div>
    
                             <div class="sidemenu">
    
                                     {{WebLoginSideBar}}
    
                             </div>
    
    
    
                     </div>
    
                     <div id="main">
    
                          [*content*]
    
                     </div>
    
             <!-- content-wrap ends here -->
             </div></div>
    
     <!-- wrap ends here -->
    </div>
    
    </body>
    </html>
      • 25663 MODX Staff
      • 12,272 Posts
      I don’t think back-quotes will work. Change this part to the following:
      <base href="[(site_url)]"></base>
      <link rel="stylesheet" type="text/css" href="/assets/templates/nano91v2/style.css" />


        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 20939
        • 2 Posts
        it works!!!
        thanks^^