Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    Feb 2009
    Posts
    25
    Plugin Contributions
    0

    Default Remove product List heading and description

    I even have the e-book and I can't find this. I want to turn off the product list heading and description. I found a thread that said to edit this line of code in my stylesheet but I don't have it. Can I just add it? Obviously not a programmer.

    TR.productListing-rowheading {display: none;}

    Thanks

  2. #2
    Join Date
    Feb 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: Remove product List heading and description

    I see that code in my previous post is for the product row heading not the product list heading. I tried it and it did remove the product row heading but I want to remove the product list heading and description.

    Thank You

  3. #3
    Join Date
    Feb 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: Remove product List heading and description

    Added this to stylesheet and it removed the category. Can anyone tell me how to remove the descrition?

    #productListHeading {
    display:none; }

    Thank You

  4. #4
    Join Date
    Mar 2007
    Location
    Serbia, Niš
    Posts
    79
    Plugin Contributions
    1

    Default Re: Remove product List heading and description

    I'm not quite sure where you want to change those product elements:

    Before you changed stylesheet, you should have tried with admin panel.

    Configuration/product listing - for product listing page
    Configuration/product info - for product info page

    Put the Display Product Description to zero (0) instead default 150 characters.

  5. #5
    Join Date
    Aug 2009
    Posts
    17
    Plugin Contributions
    0

    Default Re: Remove product List heading and description

    Hi SVAMPOLA
    Thanks for the quick advice.
    I was having the same trouble as the guy above .
    Fixed it in a jiffy .
    You can have a look at my designer silver jewelry site now for the look after changing.

  6. #6
    Join Date
    Sep 2009
    Posts
    28
    Plugin Contributions
    0

    Default Re: Remove product List heading and description

    Description still shows after setting display product description to zero (0). That only sets the text to nothing displayed. Layout still reserves room for the text area but with nothing inside. The "box" is still created, it's just blank.


    Also cannot remove Item Name+ Price heading text. I need to remove the area set to css class name: productListing-heading. I do not want a sort link or text in the category listing. How do I remove this text and the box it occupies?
    I see that the text is created in product_listing.php, however just deleting the code that generates the text still leaves a box that acts like a product but is blank.

    How do I remove these?

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

    Default Re: Remove product List heading and description

    The description occupies the same table cell as the product name, so unless you eliminate the name display, you can't eliminate the space that would hold the description.

    For the headings, just add to your stylesheet
    Code:
    .productListing-rowheading {display: none;}
    This will hide the space as well as the text.

    If it does not work, post a link to see your site, as some commercial templates change the standard Zen Cart code so much that the normal design tweaks will not work.

  8. #8
    Join Date
    Jan 2010
    Posts
    27
    Plugin Contributions
    0

    Default Re: Remove product List heading and description

    Quote Originally Posted by gjh42 View Post
    The description occupies the same table cell as the product name, so unless you eliminate the name display, you can't eliminate the space that would hold the description.

    For the headings, just add to your stylesheet
    Code:
    .productListing-rowheading {display: none;}
    This will hide the space as well as the text.

    If it does not work, post a link to see your site, as some commercial templates change the standard Zen Cart code so much that the normal design tweaks will not work.
    This solution is the ultra-lazy, ham-fisted way of doing things that has made the internet the inaccessible beast it is today. Any developer worth his / her salt (erm, me) will advise you not to use {display:none} or even {visibility:hidden} because the thing you want to hide is not hidden from those who browse using text-only browsers like Lynx, those who surf with css off, or of course screenreaders.

    Have some consideration, folks, and don't accept lazy "display none" solutions. They make the web trappy for people who should have things made easier.

    Here is a the proper way to get rid of the productlisting-rowheading - all you have to do is change one number, so don't panic:

    1: Open includes/templates/template_default/common/tpl_tabular_display.php

    2: find this line:

    for($row=0; $row<sizeof($list_box_contents); $row++) {
    $r_params = " ";
    $c_params = "";
    if (isset($list_box_contents[$row]['params'])) $r_params .= ' ' . $list_box_contents[$row]['params'];

    3: Change the $row=0 to $row=1

    This ensures that the headings (which begin at row 0) cannot display. Nothing else is affected.

    Simples.

  9. #9
    Join Date
    Aug 2010
    Posts
    1
    Plugin Contributions
    0

    red flag Re: Remove product List heading and description

    stevenw, get over yourself man!!

    People are asking for help and you write that condescending tripe!

    The web's a visual medium and you can't cater for everyone however people like you will always try and jump on the accessibility band wagon, probably designing poor sites that you claim as accessible and sing to the heavens about it, yawn yawn yawn.

    I've found that many designers/developers who bang on about accessibility are normally hiding the fact they have no talent so instead set out their stall as an accessibility guru!!!!

    List your urls, lets see how accessible/usable they are?????

    Your answer was correct but just get off your high horse.

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

    Default Re: Remove product List heading and description

    I held my tongue when this was first posted because it actually is the theoretically best way of doing it (not necessarily the most practical way to advise newbies). Most cases of hiding an element are not as easily done in the code as this. But "because the thing you want to hide is not hidden from those who browse using text-only browsers like Lynx, those who surf with css off, or of course screenreaders" is misleading. In many cases, like this one, you would want that visually hidden element to display when the styled visual cues are absent.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Remove Product listing Product Description, and replace with stock info
    By SethF in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 30 Jan 2012, 10:27 PM
  2. Delete Product List/Category Heading
    By Berserker in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 15 Aug 2010, 09:15 AM
  3. Product List Heading removal
    By Minnie Mouse in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 8 Mar 2010, 02:44 PM
  4. Remove white space between product listing and category heading
    By Yiannis in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 13 Jan 2010, 01:23 PM
  5. How to remove subcat image and description from product pages?
    By lyricwings in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 29 Jul 2007, 02:31 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