Muthu Posted December 18, 2012 Share Posted December 18, 2012 I have downloaded the prestashop file from the server which is already running and installed in my local the default theme is selected but it's not applying any stylesheet when i checked through firebug the stylesheet path is wrong for example i have http://localhost/prestashop_live but the stylesheet path is http://localhost/global.css How would i append the directory name prestashop_live ? Where i have to change? Thanks in advance for your help Link to comment Share on other sites More sharing options...
akshik Posted December 18, 2012 Share Posted December 18, 2012 Hello Muthu, Since everything is working fine, it seems only the path issue for your css file, which is not being generated properly. The constants which are used in generating the url for css(and other files as well) files can be found in config/defines_uri.inc.php file. Here you will find a line define('_THEME_CSS_DIR_', _THEME_DIR_.'css/'); you can directly edit this line to show your theme's css folder path or you can edit the _THEME_DIR_ constant also to contain the right path. Hope this will help 1 Link to comment Share on other sites More sharing options...
vekia Posted December 18, 2012 Share Posted December 18, 2012 hi @Muthu, does solution posted by @akshik work for you? im checked it and it works perfectly, so if it also works for you i will mark this topic as solved best regards dear friends Link to comment Share on other sites More sharing options...
Muthu Posted December 19, 2012 Author Share Posted December 19, 2012 I have downloaded the prestashop file from the server which is already running and installed in my local the default theme is selected but it's not applying any stylesheet when i checked through firebug the stylesheet path is wrong for example i have http://localhost/prestashop_live but the stylesheet path is http://localhost/global.css How would i append the directory name prestashop_live ? Where i have to change? Thanks in advance for your help Solved Hello Muthu, Since everything is working fine, it seems only the path issue for your css file, which is not being generated properly. The constants which are used in generating the url for css(and other files as well) files can be found in config/defines_uri.inc.php file. Here you will find a line define('_THEME_CSS_DIR_', _THEME_DIR_.'css/'); you can directly edit this line to show your theme's css folder path or you can edit the _THEME_DIR_ constant also to contain the right path. Hope this will help solved Link to comment Share on other sites More sharing options...
Recommended Posts