Results 1 to 4 of 4
  1. #1
    Join Date
    May 2008
    Posts
    402
    Plugin Contributions
    0

    Default Making entire productListing div clickable

    What would need changed in /includes/modules/product_listing.php in order to make it so the href is wrapped around the entire productListing-odd and productListing-even divs? So the user doesn't have to click the link or image, instead the entire box will be clickable.

  2. #2
    Join Date
    Jan 2009
    Posts
    37
    Plugin Contributions
    0

    Default Re: Making entire productListing div clickable

    Did you manage to solve your issue?
    If you didn't and still needs help with this let me know.

    eavinu

  3. #3
    Join Date
    May 2008
    Posts
    402
    Plugin Contributions
    0

    Default Re: Making entire productListing div clickable

    Quote Originally Posted by eavinu View Post
    Did you manage to solve your issue?
    If you didn't and still needs help with this let me know.

    eavinu
    Hi just saw this. Did not solve this yet. Thanks

  4. #4
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Making entire productListing div clickable

    Quote Originally Posted by pricediscrimination View Post
    What would need changed in /includes/modules/product_listing.php in order to make it so the href is wrapped around the entire productListing-odd and productListing-even divs? So the user doesn't have to click the link or image, instead the entire box will be clickable.
    The theory is simple.

    Find the <a href=............................................></a> line that deals with the clickable element of interest.

    Remove the </a> part of the line, and re-insert it somewhere just before the closing <div>

    In practice you'll probably need to experiment a little to find the optimal place to place the </a> tag so as to ensure that it (and all the other tags within the same code block) are correctly 'balanced'.

    I suggest that you use a text editor with Syntax highlighting to help avoid mistakes.

    Cheers
    RodG

 

 

Similar Threads

  1. v139h Making the categories div clickable
    By eavinu in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 5 Dec 2014, 10:38 PM
  2. how to add div to free shipping image in productListing?
    By Soniccc in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 17 Oct 2011, 05:24 AM
  3. Making Entire Categories Specials
    By bravo14 in forum General Questions
    Replies: 1
    Last Post: 8 Mar 2011, 03:57 PM
  4. Making the header clickable
    By Elverdugo0 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 26 Jun 2009, 09:08 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