Page 1 of 1

Added a new theme, changed settings, cleared cache, but won't switch?

Posted: Mon Oct 22, 2018 7:22 am
by godly75
Hi guys,

I created my own theme.
Duplicated the default, edited CSS,
I changed in settings and in extensions/theme, default store theme
I cleared cache in modifications, and refreshed shift F5 many times,
but the theme won't switch?
What's wrong?

Re: Added a new theme, changed settings, cleared cache, but won't switch?

Posted: Mon Oct 22, 2018 12:01 pm
by rjcalifornia
godly75 wrote:
Mon Oct 22, 2018 7:22 am
Hi guys,

I created my own theme.
Duplicated the default, edited CSS,
I changed in settings and in extensions/theme, default store theme
I cleared cache in modifications, and refreshed shift F5 many times,
but the theme won't switch?
What's wrong?
How did you created your theme? Is your theme named "default store theme"?

Re: Added a new theme, changed settings, cleared cache, but won't switch?

Posted: Mon Oct 22, 2018 5:14 pm
by godly75
I just duplicated the theme folder and renamed it, and selected that in the admin

Re: Added a new theme, changed settings, cleared cache, but won't switch?

Posted: Mon Oct 22, 2018 6:29 pm
by straightlight
Ensure to follow the FAQs when clearing OC caches: viewtopic.php?f=176&p=737014#p718325

Re: Added a new theme, changed settings, cleared cache, but won't switch?

Posted: Mon Oct 22, 2018 6:39 pm
by godly75
I did a couple of times, but the stylesheet (and the template) does not point to the new theme, it stays at default.
On what places in the shop do I assign the new theme?
- in settings it points to the default theme
- in extensions > theme it points to the new theme Encounters
https://i.imgur.com/RyJGOdf.png
And then refresh...

Re: Added a new theme, changed settings, cleared cache, but won't switch?

Posted: Mon Oct 22, 2018 8:03 pm
by paulfeakins
godly75 wrote:
Mon Oct 22, 2018 5:14 pm
I just duplicated the theme folder and renamed it, and selected that in the admin
You should only include the files that you change in your theme so it is wrong to duplicate everything.

Re: Added a new theme, changed settings, cleared cache, but won't switch?

Posted: Tue Oct 23, 2018 5:18 am
by godly75
So just add the folder with the css? That's a strange way.

Re: Added a new theme, changed settings, cleared cache, but won't switch?

Posted: Wed Oct 24, 2018 9:24 am
by rjcalifornia
godly75 wrote:
Mon Oct 22, 2018 6:39 pm
I did a couple of times, but the stylesheet (and the template) does not point to the new theme, it stays at default.
On what places in the shop do I assign the new theme?
- in settings it points to the default theme
- in extensions > theme it points to the new theme Encounters
https://i.imgur.com/RyJGOdf.png
And then refresh...
There are threads already about how to start creating a new theme:

viewtopic.php?f=202&p=683903&sid=d98ad7 ... 13#p683903
viewtopic.php?t=187122