Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Feb 2010
    Posts
    49
    Plugin Contributions
    0

    Default Removing Name under "Section Image"

    I'm using images to direct people to locations of my site, and under those images is the text which is the same text on the left side column.

    Is there a way to remove the text (just for the product sections) without removing the text on the left side column?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Removing Name under "Section Image"

    Where can this be seen?
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2010
    Posts
    49
    Plugin Contributions
    0

    Default Re: Removing Name under "Section Image"

    Quote Originally Posted by kobra View Post
    Where can this be seen?
    Link in your PM box Kobra. The site isn't linked to the public yet, so I don't want many on it. ;-)

    Feel free to post the reply out here however should you have a solution.

  4. #4
    Join Date
    Feb 2010
    Posts
    49
    Plugin Contributions
    0

    Default Re: Removing Name under "Section Image"

    So, does anyone know what I'm talking about or can help me out with suggestions?


    Please?

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

    Default Re: Removing Name under "Section Image"

    Your original description is too vague to answer. How are you getting these image links? Are they categories? Or what?

  6. #6
    Join Date
    Feb 2010
    Posts
    49
    Plugin Contributions
    0

    Default Re: Removing Name under "Section Image"

    Sorry, I thought it was clear... I think from now on, I'll just include pictures.


    Here's the section of the site that I'm not liking.

    The big bold years are the images, and the text under them each is what I want gone - BUT, I still want the text to appear on the left-side column.




    I want the text gone from all categories and sub-categories.

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

    Default Re: Removing Name under "Section Image"

    "using images to direct people to locations of my site" sounds like something other than product categories, so I wasn't sure if you had some custom code going.
    The category listing does not have a way to single out the name under the image; you will have to edit /includes/modules/your_template/category_row.php. Find this
    PHP Code:
        $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_WIDTHSUBCATEGORY_IMAGE_HEIGHT) . '<br />' $categories->fields['categories_name'] . '</a>'); 
    and add

    <span class="catListingName"> </span>

    near the end to get
    PHP Code:
        $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_WIDTHSUBCATEGORY_IMAGE_HEIGHT) . '<span class="catListingName"><br />' $categories->fields['categories_name'] . '</span></a>'); 
    Add to your stylesheet
    Code:
    .catListingName {display:none;}

  8. #8
    Join Date
    Feb 2010
    Posts
    49
    Plugin Contributions
    0

    Default Re: Removing Name under "Section Image"

    PERFECT!

    I am totally digging Zen Cart! Woo! Thanks so much!!! Works perfectly!

  9. #9
    Join Date
    Nov 2006
    Posts
    22
    Plugin Contributions
    0

    Default Re: Removing Name under "Section Image"

    hi, i'm having a similar problem however the solution here fixed the issue i had with text displaying underneath the category images.

    my next issue is how do i get rid of the text under the product information page which is located within the category?

    any help much appreciated!

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

    Default Re: Removing Name under "Section Image"

    under the product information page?

    Do you mean at the bottom of the product info page (with details of a single product)? If not, which page are you referring to, and what text? A link to see it live will let us give correct answers instead of guessing.

 

 
Page 1 of 2 12 LastLast

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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR