Hi,
I'm new to opencart and I'm looking for some guides or documentation on developing a customer theme. All I'm trying to do is change the colours. I have found a few guides but none seem to work with OC2.2 as from what I can find there have been some major changes to themes in this version.
Is there ANY documentation on what is required for OC2.2 themes? I can't find anything that outlines what needs to be done.
I have followed the guide found here ( http://code.tutsplus.com/tutorials/crea ... -cms-21786) but the theme doesn't show up in the list of available themes as suggested in the guide.
Regards
Nathan
I'm new to opencart and I'm looking for some guides or documentation on developing a customer theme. All I'm trying to do is change the colours. I have found a few guides but none seem to work with OC2.2 as from what I can find there have been some major changes to themes in this version.
Is there ANY documentation on what is required for OC2.2 themes? I can't find anything that outlines what needs to be done.
I have followed the guide found here ( http://code.tutsplus.com/tutorials/crea ... -cms-21786) but the theme doesn't show up in the list of available themes as suggested in the guide.
Regards
Nathan
If you are only wanting to change colors of some things in the default template you can do most of those changes in your stylesheet.css.
If I were you and again this is only if you are trying to change colors of the default template I would just get http://www.opencart.com/index.php?route ... n_id=20693.
If I were you and again this is only if you are trying to change colors of the default template I would just get http://www.opencart.com/index.php?route ... n_id=20693.
Hi thanks for the fast reply, I would prefer to stay away from an extension when I should be able to modify a custom theme.
Editing the CSS is easy and I could update the default theme css file, but I thought editing the core files was a bad idea, hence the custom theme.
Am I missing the obvious? or is there little to no documentation on creating or modifying a theme?
Editing the CSS is easy and I could update the default theme css file, but I thought editing the core files was a bad idea, hence the custom theme.
Am I missing the obvious? or is there little to no documentation on creating or modifying a theme?
I never tried to do a custom theme so I don't know about documentation that might be out there.
I try to keep from changing the core files as well now but just editing the .css is no big deal as long as you save a copy of the original. If you jack it up or need it you will have a copy.
I try to keep from changing the core files as well now but just editing the .css is no big deal as long as you save a copy of the original. If you jack it up or need it you will have a copy.
so then all you need was duplicate the default theme folder then edit "catalog/view/theme/your_new_theme/template/common/header.tpl" search for "/default/" replace with "/your_new_theme/" after that you can edit the stylesheet.css for your new themenathan.dennis wrote:Hi thanks for the fast reply, I would prefer to stay away from an extension when I should be able to modify a custom theme.
Editing the CSS is easy and I could update the default theme css file, but I thought editing the core files was a bad idea, hence the custom theme.
Am I missing the obvious? or is there little to no documentation on creating or modifying a theme?
You can't control the weather, but you can change your mood.
You can't modify the visage, but you can show your smile.
You can't command someone else, but you can hold yourself.
You can't forecast tomorrow, but you can using today.
You can't obtain thanks, but you can exert yourself in everything.
OCEXTENSION.COM - YOUR PROFESSIONAL OPENCART EXTENSION STORE
You can't modify the visage, but you can show your smile.
You can't command someone else, but you can hold yourself.
You can't forecast tomorrow, but you can using today.
You can't obtain thanks, but you can exert yourself in everything.
OCEXTENSION.COM - YOUR PROFESSIONAL OPENCART EXTENSION STORE
I had duplicated the folder structure, but hadn't updated the embedded link to the css file. That did part of the trick. The other part was you can no longer set the theme from the store settings, its now in the extensions section under themes if you are using a theme like this you just have to change the folder of the default theme.so then all you need was duplicate the default theme folder then edit "catalog/view/theme/your_new_theme/template/common/header.tpl" search for "/default/" replace with "/your_new_theme/" after that you can edit the stylesheet.css for your new theme
Thanks for the help on this.

Hello,
I had the same problem untill I stumbled upon this thread.
Sorry for hijacking this a little bit, I followed the same tutorial OP did.
I understand that you can create a new template by creating new folder, that contains the following subfolders - image, stylesheet, template.
And that you can change your template in extensions -> theme, but it seems that this new theme is treated more like a child theme than separate theme. How can I create a completely new theme? Do I need to create an install package?
Also one important question - if you navigate to system->settings->general settings, there is a option "Default layout" and no matter what I choose there, nothing changes in front end, could you please explain this?
I had the same problem untill I stumbled upon this thread.
Sorry for hijacking this a little bit, I followed the same tutorial OP did.
I understand that you can create a new template by creating new folder, that contains the following subfolders - image, stylesheet, template.
And that you can change your template in extensions -> theme, but it seems that this new theme is treated more like a child theme than separate theme. How can I create a completely new theme? Do I need to create an install package?
Also one important question - if you navigate to system->settings->general settings, there is a option "Default layout" and no matter what I choose there, nothing changes in front end, could you please explain this?
Theme directory can change admin > extension > theme > theme defaultnathan.dennis wrote:I had duplicated the folder structure, but hadn't updated the embedded link to the css file. That did part of the trick. The other part was you can no longer set the theme from the store settings, its now in the extensions section under themes if you are using a theme like this you just have to change the folder of the default theme.so then all you need was duplicate the default theme folder then edit "catalog/view/theme/your_new_theme/template/common/header.tpl" search for "/default/" replace with "/your_new_theme/" after that you can edit the stylesheet.css for your new theme
Thanks for the help on this.
if you do not want the new theme act like a child theme, them you gonna need to duplicate the following files and named it theme_default2.{format} as example.wonderland wrote:And that you can change your template in extensions -> theme, but it seems that this new theme is treated more like a child theme than separate theme. How can I create a completely new theme? Do I need to create an install package?
Code: Select all
admin/language/your_language/theme/theme_default.php
admin/controller/theme/theme_default.php
admin/view/template/theme/theme_default.tpl
to tell you the truth, i am not really sure about this. but as describe from the opencart documentation it is use for "The default layout type for the store."wonderland wrote: Also one important question - if you navigate to system->settings->general settings, there is a option "Default layout" and no matter what I choose there, nothing changes in front end, could you please explain this?
You can't control the weather, but you can change your mood.
You can't modify the visage, but you can show your smile.
You can't command someone else, but you can hold yourself.
You can't forecast tomorrow, but you can using today.
You can't obtain thanks, but you can exert yourself in everything.
OCEXTENSION.COM - YOUR PROFESSIONAL OPENCART EXTENSION STORE
You can't modify the visage, but you can show your smile.
You can't command someone else, but you can hold yourself.
You can't forecast tomorrow, but you can using today.
You can't obtain thanks, but you can exert yourself in everything.
OCEXTENSION.COM - YOUR PROFESSIONAL OPENCART EXTENSION STORE
Creating an Opencart 2.2 theme with help of my three tutorials.
http://www.kvcodes.com/2016/11/opencart ... velopment/
http://www.kvcodes.com/2016/11/opencart ... side-work/
http://www.kvcodes.com/2017/04/opencart ... heme-work/
http://www.kvcodes.com/2016/11/opencart ... velopment/
http://www.kvcodes.com/2016/11/opencart ... side-work/
http://www.kvcodes.com/2017/04/opencart ... heme-work/
Who is online
Users browsing this forum: No registered users and 8 guests