New Zenner
- Join Date:
- Apr 2007
- Posts:
- 72
- Plugin Contributions:
- 0
Remove category title from Product Info
How do I remove the category name on the product info page? I only want the category icon to show.
Thanks.
Views: 2,658
New Zenner
How do I remove the category name on the product info page? I only want the category icon to show.
Thanks.
Inactive
Go into admin and type in category.
search for #categoryIcon or .categoryIcon
That should tell you which pages it will be on.
Once you find it, try to comment out the lable, but not the icon. Or you can delete the lable.
I'm not sure I'm using the right termnology using the word lable
Inactive
use the third search field in the toolkit. searching for classes.
Inactive
nevermind, that didn't work for me.
Sounded damn good though. haha.
New Zenner
Yes, I am able to find the category icon, but can't find the label for the text name to be able to remove it.
New Zenner
I am bumping this as I still haven't found a solution.
Thanks.
Totally Zenned
I don't know if this is still open but the answer is to edit the template file 'tpl_modules_category_icon_display.php' and change the line that says:
<div align="<?php echo $align; ?>" id="categoryIcon" class="categoryIcon"><?php echo '<a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new, 'NONSSL') . '">' . $category_icon_display_image . $category_icon_display_name . '</a>'; ?></div>
to:
<div align="<?php echo $align; ?>" id="categoryIcon" class="categoryIcon"><?php echo '<a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new, 'NONSSL') . '">' . $category_icon_display_image . '</a>'; ?></div>
Then save this file to your custom template folder (./includes/templates/YOUR_TEMPLATE_FOLDER_NAME/templates).
New Zenner
Thanks for your reply to this post Hem. I was searching through the forum for a solution to this same problem and your answer has fixed it!
:clap:
Zen Follower
hem:
I don't know if this is still open but the answer is to edit the template file 'tpl_modules_category_icon_display.php' and change the line that says:
Then save this file to your custom template folder (./includes/templates/YOUR_TEMPLATE_FOLDER_NAME/templates).
Excellent that you took your time to answer. Helped a lot! :)
Tell staff why this post should be reviewed.