Add Custom JS/CSS in current theme
If you want the css and js for all the pages then you can add the code in local.xml with default handles xml tag.
[css_filename.css]
[script_filename.js]
- specify the script filename
[css_filename.css]
- specify the css filename
For specific pages you want to add the custom css or js, then
specify the handles in local.xml and add the custom css, js xml code.
And also if want to add the custom css in specific handles,
then add the custom add code within that handles.
No comments:
Post a Comment