Page 1 of 1

[SOLVED] CSS loading issue

Posted: Fri Dec 23, 2011 7:12 pm
by yekxmerr
Hello i'm working atm with opencart 1.5.1.3 and i have a problem. I've created a new template by copying the default one and now the opencart does one thing, it loads the default theme css instead my new one ( yes i've change configurations to set my template ). What should i do ? Its an opencart problem or could be my server.

Thanks

Update: I've noticed a problem on vqmod too:

Code: Select all

REQUEST URI : /index.php?route=common/home
MOD DETAILS:
   modFile   : /htdocs/public/www/vqmod/xml/vqmm_menu_shortcut.xml
   id        : VQMod Manager Menu Shortcut
   version   : 1.0.0
   vqmver    : 2.1
   author    : Ryan (rph) - OpenCartHelp.com
Could not resolve path for [admin/controller/common/header.php]
Could not resolve path for [admin/view/template/common/header.tpl]

Re: CSS loading issue

Posted: Fri Dec 23, 2011 7:17 pm
by MarketInSG
After you copied the default files, you forgot to change one thing. The header.tpl file (line 19)

Code: Select all

<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/stylesheet.css" />
Change the line of code to

Code: Select all

<link rel="stylesheet" type="text/css" href="catalog/view/theme/YOUR-FOLDER-NAME/stylesheet/stylesheet.css" />
Hope this will help you.

Regards
MarketInSG

Re: CSS loading issue

Posted: Fri Dec 23, 2011 7:23 pm
by yekxmerr
Thank you it worked like a charm :)

Re: CSS loading issue

Posted: Fri Dec 23, 2011 7:27 pm
by MarketInSG
Welcome! :) Do add [SOLVED] to your title.

Regards
MarketInSG