Forums / General Questions / Get rid of word link under picture for sub categories?

Get rid of word link under picture for sub categories?

Locked

Started by dunitun on 10 Jul 2007, 5:09 AM · Views: 1,441

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
10 Jul 2007, 5:09 AM
#1
dunitun avatar

dunitun

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!

10 Jul 2007, 5:26 AM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,739
Plugin Contributions:
0

Re: Get rid of word link under picture for sub categories?

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.

10 Jul 2007, 5:37 AM
#3
dunitun avatar

dunitun

New Zenner

Join Date:
Jun 2007
Posts:
42
Plugin Contributions:
0

Re: Get rid of word link under picture for sub categories?

Good idea. Ill keep that in mind. Thank you

10 Jul 2007, 5:44 AM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,739
Plugin Contributions:
0

Re: Get rid of word link under picture for sub categories?

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.

12 Apr 2010, 5:13 PM
#5
spaz_tic avatar

spaz_tic

New Zenner

Join Date:
Nov 2009
Posts:
18
Plugin Contributions:
0

Re: Get rid of word link under picture for sub categories?

I have the same problem. Can anyone tell me where to make this change? and, if possible, which CSS selector to use?

thanks!
st

12 Apr 2010, 8:21 PM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Get rid of word link under picture for sub categories?

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>');

13 Apr 2010, 2:43 AM
#7
spaz_tic avatar

spaz_tic

New Zenner

Join Date:
Nov 2009
Posts:
18
Plugin Contributions:
0

Re: Get rid of word link under picture for sub categories?

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