Post by alexander89 » Thu Oct 08, 2015 4:45 am

Hi !
I'm trying to modify the category.tpl template so it can display the word "Categories" as the title of the side menu. As I can tell the default module from OC 2.0 doesn't have an option for that. Is there any way to do this ? And also to style it later, to be different as the rest of the categories below.

Thank you ! :)

Newbie

Posts

Joined
Thu Oct 08, 2015 4:39 am

Post by straightlight » Sat Oct 10, 2015 10:22 am

It depends if you're using a custom theme. If the case, it would be best to contact the author of the theme in order to provide an accurate response on your question since it would be a custom feature request over contributed theme you would like to add.

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 alexander89 » Sun Oct 11, 2015 6:03 pm

I'm using the default theme. I have modified everything, except that part.

Newbie

Posts

Joined
Thu Oct 08, 2015 4:39 am

Post by uksitebuilder » Mon Oct 12, 2015 12:48 am

edit: catalog/view/theme/default/template/module/category.tpl

After:

Code: Select all

<div class="list-group">
Add:

Code: Select all

<h3>Categories</h3>

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom
Who is online

Users browsing this forum: No registered users and 13 guests