Post by winterinthesun » Mon Jan 22, 2018 4:41 am

How can I remove the category name from the top of each web page.
Not the one i the top menu but the one at the top of the webpage.
Example.
I named a page Testimonials and it is written in the webpage itself in black text (this is not the clickable link near the top though)

Sorry if I'm not explaining this well but I cant think how to explain it better than this.

Thanks

New member

Posts

Joined
Fri Jan 13, 2017 3:05 am

Post by cyclops12 » Mon Jan 22, 2018 5:23 am

Perhaps a screenshot of what you want removed will help others to help you

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by winterinthesun » Mon Jan 22, 2018 5:43 am

Hi,
I have attached a screen shot of the text I want to remove in a jpg. I have added a red arrow pointing at it,

Many thanks

Attachments

Untitled-1.jpg

Untitled-1.jpg (234.24 KiB) Viewed 962 times


New member

Posts

Joined
Fri Jan 13, 2017 3:05 am

Post by thekrotek » Mon Jan 22, 2018 5:46 am

Most likely it's a header (H1, H2 or H3), so just do it with CSS.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by straightlight » Mon Jan 22, 2018 5:56 am

Has this issue been resolved, so far? If not, there is no need to modify the CSS stylesheet file to remove the dynamic category name. From the default theme, it would be from the following location: catalog/view/theme/default/template/product/category.tpl file

Code: Select all

<h2><?php echo $heading_title; ?></h2>
Look for the same type of code in your custom theme. This should resolve the issue.

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 thekrotek » Mon Jan 22, 2018 6:04 am

straightlight wrote:
Mon Jan 22, 2018 5:56 am
Has this issue been resolved, so far? If not, there is no need to modify the CSS stylesheet file to remove the dynamic category name. From the default theme, it would be from the following location: catalog/view/theme/default/template/product/category.tpl file
Are you serious? Using CSS is the easiest and the most right way to manage ANY layout elements. Editing template files is the last resort.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by winterinthesun » Mon Jan 22, 2018 6:11 am

Hi,
Well i'm not sure of the right or wrong way as im a bit of a novice at this but straightlight your idea worked and its taken it off every page on my website which is exactly what I wanted.

Many thanks indeed

New member

Posts

Joined
Fri Jan 13, 2017 3:05 am

Post by thekrotek » Mon Jan 22, 2018 1:48 pm

winterinthesun wrote:
Mon Jan 22, 2018 6:11 am
Well i'm not sure of the right or wrong way as im a bit of a novice at this but straightlight your idea worked and its taken it off every page on my website which is exactly what I wanted.
Note, that on ANY upgrade or if you overwrite files, all your changes will be lost. This is why it is always better to use either VQMod or custom CSS and not edit core files.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by straightlight » Wed Jan 24, 2018 4:38 am

As written here:
Look for the same type of code in your custom theme. This should resolve the issue.
Note, that on ANY upgrade or if you overwrite files, all your changes will be lost. This is why it is always better to use either VQMod or custom CSS and not edit core files.
Are you serious?
Yes, I am.

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 85 guests