I was made aware that I needed h1 headings on my category pages so I proceeded to add them. Proofing the page I find that I now have an h2 heading above the h1 heading making everything look a bit redundant. Is there a way to not have the h2 heading showing on category pages?
Attachments
pageview.png (38.37 KiB) Viewed 547 times
Sure, edit catalog/view/theme/default/template/product/category.twig
Find and delete:
Visit your admin - Dashboard
Click the cog icon (top-right) and clear both caches in the popup window
If you have any extensions that may modify the category page, probably best to visit admin - Extensions - Modifications and then click the blue refresh modifications button
If you have vqmod installed and any extensions that may modify the category page, via ftp empty out the vqmod/vqcache folder
Find and delete:
Code: Select all
<h2>{{ heading_title }}</h2>
Click the cog icon (top-right) and clear both caches in the popup window
If you have any extensions that may modify the category page, probably best to visit admin - Extensions - Modifications and then click the blue refresh modifications button
If you have vqmod installed and any extensions that may modify the category page, via ftp empty out the vqmod/vqcache folder
If you only need to hide it from layout, you don't need to edit anything, use CSS instead. It's plain and simple.
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
I have similar issue; I need to display by calling the H2 but it does not show up.. sorry i am using open cart 2 here; but i think the code is similar. Is there something on the code that is missing? or any alternative code i need to input to call the h2.

Attachments
opencart code h2.PNG (29.72 KiB) Viewed 415 times
Thanks,
Mr. J
Who is online
Users browsing this forum: No registered users and 36 guests