Post by godly75 » 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?

Active Member

Posts

Joined
Fri Oct 27, 2017 1:21 am

Post by rjcalifornia » Mon Oct 22, 2018 12:01 pm

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"?

Image
A2 Hosting features: Shared Turbo Boost, Managed Warp 1, Unmanaged Hyper 1, and Warp 2 Turbo


Active Member

Posts

Joined
Fri Sep 02, 2011 1:19 pm
Location - Worldwide

Post by godly75 » Mon Oct 22, 2018 5:14 pm

I just duplicated the theme folder and renamed it, and selected that in the admin

Active Member

Posts

Joined
Fri Oct 27, 2017 1:21 am

Post by straightlight » Mon Oct 22, 2018 6:29 pm

Ensure to follow the FAQs when clearing OC caches: viewtopic.php?f=176&p=737014#p718325

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by godly75 » 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...

Active Member

Posts

Joined
Fri Oct 27, 2017 1:21 am

Post by paulfeakins » Mon Oct 22, 2018 8:03 pm

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.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by godly75 » Tue Oct 23, 2018 5:18 am

So just add the folder with the css? That's a strange way.

Active Member

Posts

Joined
Fri Oct 27, 2017 1:21 am

Post by rjcalifornia » Wed Oct 24, 2018 9:24 am

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

Image
A2 Hosting features: Shared Turbo Boost, Managed Warp 1, Unmanaged Hyper 1, and Warp 2 Turbo


Active Member

Posts

Joined
Fri Sep 02, 2011 1:19 pm
Location - Worldwide
Who is online

Users browsing this forum: ravikumar22 and 82 guests