Post by mrblond » Thu Oct 19, 2017 5:59 am

I view many examples (all of them with some older versions) for the main tip for creating the custom template.
/catalog/view/theme/default copying the default folder and renaming it =>> /catalog/view/theme/customname

Well, I executed all this but the newly created folder doesn't appear in the admin panel System>Stores>Settings
so I can't chose it.

Active Member

Posts

Joined
Fri Oct 13, 2017 4:43 pm

Post by straightlight » Thu Oct 19, 2017 6:20 am

In admin - > extensions - > extensions - > themes (x) - > edit button (at the bottom-right) - > scroll the dropdown menu from default to your custom theme name. It will be shown on that list.

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 mrblond » Thu Oct 19, 2017 2:59 pm

OK, I found it.
Well, I changed the header twig file linking now to the new theme instead of default:

Code: Select all

<link href="catalog/view/theme/philarooms/stylesheet/stylesheet.css" rel="stylesheet">
But when I try to make some customization via CSS file, I see no changes.
For example, I tray to change the background color of

Code: Select all

 <div class="row">
writing

Code: Select all

.row { background-color:#colorcode }
as well as the background of the whole page in

Code: Select all

body {......}
.
But nothing changes.

Active Member

Posts

Joined
Fri Oct 13, 2017 4:43 pm

Post by mrblond » Thu Oct 19, 2017 3:33 pm

Ops, it now working, sorry.

Active Member

Posts

Joined
Fri Oct 13, 2017 4:43 pm

Post by mrblond » Thu Oct 19, 2017 5:20 pm

I'd like to remove the telephone from the top header,
so I removed this line in the header twig file:

Code: Select all

<li><a href="{{ contact }}"><i class="fa fa-phone"></i></a> <span class="hidden-xs hidden-sm hidden-md">{{ telephone }}</span></li>
It doesn't take effect and the phone is still there.
How to solve the problem, please?

Active Member

Posts

Joined
Fri Oct 13, 2017 4:43 pm

Post by cyclops12 » Thu Oct 19, 2017 5:44 pm

Have you cleared all of your caches

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by mrblond » Thu Oct 19, 2017 6:36 pm

Yes.

Active Member

Posts

Joined
Fri Oct 13, 2017 4:43 pm

Post by straightlight » Thu Oct 19, 2017 9:11 pm

When clearing all caches, ensure it is not referring only to the browser's cache but also the admin dashboard cache features and both cache features from that upper-right button that needs to be cleared.

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
Who is online

Users browsing this forum: No registered users and 96 guests