Hi guys,
I am trying to add some code into the head section under "catalog/view/theme/default/template/common/header.tpl" but it never shows?
Even if I dup the title tag, save it and upload it, it never shows that change?
I am sure I am uploading the new changes.
Is that the right place to edit the head code?
Thanks guys
Will.
Correct place as long as you are using the default theme in your store.
You should also refresh your modifications in your admin - Extension - Modifications section, as an ocmod may have previously modified that file, leaving an override of it in system/storage/modification
A refresh will update that to include your edits
You should also refresh your modifications in your admin - Extension - Modifications section, as an ocmod may have previously modified that file, leaving an override of it in system/storage/modification
A refresh will update that to include your edits
Thanks pal, it worked, "refresh your modifications in your admin - Extension - Modifications section"
Cheers!
Will.
Cheers!
Will.
You may like my extension Custom JavaScript to add code in the header. Your change will be not lost when you upgrade OpenCart.
http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension
Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme
Extra Positions PRO, Custom JavaScript, Custom CSS and others
Who is online
Users browsing this forum: No registered users and 203 guests