Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Join Date
    Nov 2006
    Posts
    22
    Plugin Contributions
    0

    Default Re: Removing Name under "Section Image"



    this is the product display page for one of the products i wish to sell, i want to get rid of the text under the bracelet image. when you run the mouse over the text it highlights the image and the text as a link. i just need the image as the link and to get rid of the text, hope this helps explain what i'm raving on about

  2. #12
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Removing Name under "Section Image"

    I need to see the page live; a screenshot doesn't help in fixing this.

  3. #13
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Removing Name under "Section Image"

    I was hoping for something better, but this is exactly the same difficulty as the previous question: there is no identifier to be able to address the text independently.

    You will need to edit /includes/templates/your_template/templates/tpl_modules_category_icon_display.php
    PHP Code:
      require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_CATEGORY_ICON_DISPLAY));

    ?>

    <div align="<?php echo $align?>" id="categoryIcon" class="categoryIcon"><?php echo '<a href="' zen_href_link(FILENAME_DEFAULT'cPath=' $_GET['cPath'], 'NONSSL') . '">' $category_icon_display_image $category_icon_display_name .  '</a>'?></div>
    Change

    $category_icon_display_name . '</a>';

    to

    '<span class="categoryIconText">' . $category_icon_display_name . '</span></a>';
    PHP Code:
      require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_CATEGORY_ICON_DISPLAY));

    ?>

    <div align="<?php echo $align?>" id="categoryIcon" class="categoryIcon"><?php echo '<a href="' zen_href_link(FILENAME_DEFAULT'cPath=' $_GET['cPath'], 'NONSSL') . '">' $category_icon_display_image '<span class="categoryIconText">' $category_icon_display_name .  '</span></a>'?></div>
    and add to your stylesheet
    Code:
    .categoryIconText {display: none;}

  4. #14
    Join Date
    Nov 2006
    Posts
    22
    Plugin Contributions
    0

    Default Re: Removing Name under "Section Image"

    oh that's brilliant Glen! thanks SO much for your help, it's been greatly appreciated.

  5. #15
    Join Date
    Mar 2010
    Posts
    77
    Plugin Contributions
    0

    Default Re: Removing Name under "Section Image"

    Hey this is great and is just what I wanted, However the same problem still exists with the subcategory icons and links so the same question applies how do i remove the subcategory text links?

    Thanks
    Tony

  6. #16
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Removing Name under "Section Image"

    Post 7 answers what you asked; if you meant something other than the category listing which shows subcategory images and names, please explain further, with a way to see your site live.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 16
    Last Post: 18 Oct 2013, 08:43 PM
  2. Remove "Product Image" "Item Name" and "Price"...
    By rebekah in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Sep 2008, 06:08 PM
  3. Replies: 2
    Last Post: 11 May 2008, 03:10 AM
  4. Removing "new products" in Shopping Cart section
    By CKlemow in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 4 Sep 2007, 07:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg