Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Jun 2005
    Posts
    120
    Plugin Contributions
    0

    Default Product List Heading removal

    hi,
    i want to get rid of the column headings for each field in the product list page.
    basically skip the top row.
    <tr class="productListing-rowheading">
    <th class="productListing-heading" scope="col" id="listCell0-0">Product Image</th>

    <th class="productListing-heading" scope="col" id="listCell0-1"><a href="http://s13.securedview.com/lindasy/index.php?main_page=index&amp;cPath=1&amp;page=1&amp;sort=2a" title="Sort products descendingly by Item Name" class="productListing-heading">Item Name-</a></th>
    </tr>

    when i delete the relevant (well, what i think is the relevant) code from the product_listing.php page (lines18 -69) it takes out that row AND removes the first product. so if i have 3 products in a category it then only shows two.

    i thought of using css to make the words white. or deleting the titles so the cells are empty, but i ideally would like to get rid of the whole row so i dont have extra white space.

    does anyone know how to turn the headers off.

    thanks!
    MM

  2. #2
    Join Date
    Jun 2006
    Location
    Central Massachusetts
    Posts
    62
    Plugin Contributions
    0

    Default Re: Product List Heading removal

    The headers also alow you customer to be able to resort the list that comes up by product, by model, by item, and by price etc.

    If you take out this line then they will no longer be able to resort the list.

    Are you sure you want to do this? I understand it may make it look nicer but the functionality is also nice to have.

    If you still want to remove it give which version are you using. it may make a difference

    Schatzy

  3. #3
    Join Date
    Jun 2005
    Posts
    120
    Plugin Contributions
    0

    Default Re: Product List Heading removal

    oops, forgot that.
    i am using version1.3.02

    i dont think in this case the sort feature will be useful. my client only has a few (at most 8) products per category. she will not be making any more. all the products are her manufacture...

    i think we can safely get rid of the header. it would be nice if i could just turn this off and on in the admin..

    thanks for any help.
    MM

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Product List Heading removal

    Turn it off in your stylesheet:

    add:
    Code:
    TR.productListing-rowheading {display: none;}
    By the way, your right sideboxes don't display in the right place in IE...
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Jun 2005
    Posts
    120
    Plugin Contributions
    0

    Default Re: Product List Heading removal

    DOH!
    every time i get cocky about my skills... i forget the obvious.
    thanks drbyte. great idea!

    i ihavent proofed in ie (that hellish non-compliant browser that for some unfathomable reason everyone uses)yet. i knew there would be some major problems with the css because i dumped the framing table and went to all div layout.
    i think there are still some stray td's floating around...also i think i need to add the box model hack so my columns all fit (that may be the problem now).

    i build in firefox and then reengineer / proof the rest later. at least that way i know i am compliant. usually if i do that and it works in firefox it works in most other browsers (besides ie) with little tweaks.

    i guess i will have big tweaking to do when i get that far (i have been kinda afraid to look to be honest). thanks for the heads up!

    as long as you looked what do you think otherwise (if you look in firefox it should be working).
    MM

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Product List Heading removal

    Quote Originally Posted by Minnie Mouse
    as long as you looked what do you think otherwise (if you look in firefox it should be working).
    MM
    nice clean tidy site. good use of whitespace and font sizes. pleasant, peaceful, appealing.
    nicely done.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Nov 2008
    Location
    London
    Posts
    94
    Plugin Contributions
    0

    Default Re: Product List Heading removal

    Quote Originally Posted by DrByte View Post
    Turn it off in your stylesheet:

    add:
    Code:
    TR.productListing-rowheading {display: none;}
    By the way, your right sideboxes don't display in the right place in IE...
    DrByte,
    I am trying to do the exact same thing as Minnie it seems. I tried the css code

    .productListing-rowheading {
    display: none;
    }

    But this didn't do a thing. Also can't seem to white on white it either.

    Beep
    www.queenib.com/design

  8. #8
    Join Date
    Jun 2005
    Posts
    120
    Plugin Contributions
    0

    Default Re: Product List Heading removal

    you may need it to have the tr. in your css declaration. it is probably not overriding what it is supposed to.
    use firebug to see which declaration is actually being deferred to. then overwrite it.
    example.

    you have a tr declaration
    div table tr {color: red;}
    and then you in your stylesheet do something like this
    .red {color: red;}
    it may not read the class unless you do your second declaration
    div table tr.red
    this is a bad example, but the idea is, sometimes the cascade gets complicated. but in firebug you can see which rule is being applied and then use that, add the class to it and it should work

  9. #9
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Product List Heading removal

    Minnie is right.
    However, we can't help you with specific differences in your template vs the info in this very old thread (which may apply to older templating content) while your site is in down-for-maintenance mode.

    That said, use the how-to tips that Minnie just posted as a guide to finding the correct element to use as the selector in your stylesheet.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #10
    Join Date
    Nov 2008
    Location
    London
    Posts
    94
    Plugin Contributions
    0

    Default Re: Product List Heading removal

    Ah, its ok now. It seems it just wasn't uploading properly. Good fix

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Removing the product list heading. A why question
    By Annie_zaz in forum Customization from the Admin
    Replies: 3
    Last Post: 24 Nov 2013, 11:42 AM
  2. v138a List category heading information in two columns
    By Simon David Harris in forum Customization from the Admin
    Replies: 5
    Last Post: 23 Jan 2013, 07:14 PM
  3. Remove product List heading and description
    By madkaw9 in forum Templates, Stylesheets, Page Layout
    Replies: 17
    Last Post: 20 Aug 2012, 07:34 AM
  4. Delete Product List/Category Heading
    By Berserker in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 15 Aug 2010, 09:15 AM
  5. Deleting Heading above my list of products.
    By maomaochong in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Jun 2008, 03:07 PM

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