Hi,
I am new to zencart but can configure some of it already.
How/where do I add css and javascript to zencart ?
eg for adding a menu or more involved menu with javascript and css on top of page or along the side in a sidebox?
Hi,
I am new to zencart but can configure some of it already.
How/where do I add css and javascript to zencart ?
eg for adding a menu or more involved menu with javascript and css on top of page or along the side in a sidebox?
For CSS, add it to your template's copy of stylesheet.css. For some specialized applications like per-page styling, you can add stylesheets in other locations. Search on per-page or c_*.css for more info.
To add a another script. ZC can autoload in order presented.
To do this, rename lalal.js to jscript_lalal.js and dump it into your jscript overrides folder. (where lalal is the name of your script)
To see it it is loading right, do a view source and you should see the ordering of the script loaders.
IntelCos