New Zenner
- Join Date:
- Jun 2007
- Posts:
- 42
- Plugin Contributions:
- 0
Get rid of word link under picture for sub categories?
Anyway to rid of the actual word heading underneath the picture for a sub category?
Thanks for any help!
Started by dunitun on 10 Jul 2007, 5:09 AM · Views: 1,441
New Zenner
Anyway to rid of the actual word heading underneath the picture for a sub category?
Thanks for any help!
Obaa-san
You could use CSS.
#theID or .theClass {display:none}
Please do not PM for support issues: a private solution doesn't benefit the community.
Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.
New Zenner
Good idea. Ill keep that in mind. Thank you
Obaa-san
You're welcome!
Gotta' love the CSS - no digging in the code :smile:
Please do not PM for support issues: a private solution doesn't benefit the community.
Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.
New Zenner
I have the same problem. Can anyone tell me where to make this change? and, if possible, which CSS selector to use?
thanks!
st
Black Belt
Unfortunately, this particular bit of text has no selectors that can identify it apart from the image. You would have to add a class to the text output in the PHP file, or perhaps just comment out the text output if you are sure you will never want it.
/includes/modules/your_template/category_row.phpphp $list_box_contents[$row][$col] = array('params' => 'class="categoryListBoxContents"' . ' ' . 'style="width:' . $col_width . '%;"', 'text' => '<a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . zen_image(DIR_WS_IMAGES . $categories->fields['categories_image'], $categories->fields['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br />' . $categories->fields['categories_name'] . '</a>'); Comment out as shown```php
, SUBCATEGORY_IMAGE_HEIGHT) /. '<br />' . $categories->fields['categories_name']/ . '</a>');
New Zenner
Wasn't sure if anyone was monitoring this thread so I opened a new one.
And tried this:
http://www.zen-cart.com/forum/showthread.php?t=152578
worked like a charm!
Thanks anyway.
st
Tell staff why this post should be reviewed.