Hi,
I'm new on cs cart.
I'm using CS Cart 4.3.6.
I want to add custom CSS to my header & custom JS file to my footer.
I have activated my changes addon. Also I have created styles.post.tpl in /design/themes/my_theme/templates/addons/my_changes/hooks/index/.
The code in that file is given below.
{style src="addons/my_changes/custom.less"} <link href="{$config.skin_path}/addons/my_changes/styles.css" rel="stylesheet" type="text/css" />
I have also added custom.less and styles.css in /design/themes/my_theme/css/addons/my_changes/.
The LESS file is compiled and now the rules on this files are available in front end.
But the styles.css is added as a new http request in my head and I need that nature. But the variable {$config.skin_path} is not working. So the path is broken.
<link href="/addons/my_changes/styles.css" rel="stylesheet" type="text/css" />
So can any one please help me.
I want to add custom css on header and custom js on footer. I have searched too many tutorials and nothing works with my CS cart Version (4.3).
Thanks in advance.