Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    May 2006
    Posts
    45
    Plugin Contributions
    0

    Default More classes->Product listing?

    Problem: How to add more classes to product listing (modules/product_listing.php)

    Solution: ?

    I try to make fluid listing with background images, so I need more classes to get things done. At least one class is needed so I can use .productListing-odd, .productListing-even for left side of image and new class for right side. More extras gives more possibilities, but one would be enough.

    And if this should be possible without extra classes i would be happy to see that solution too.

    This has been so easy with other parts of Zencart, I'm pretty sure I'm missing something obvious here. Hope You can kick me to right direction.

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: More classes->Product listing?

    Do you have an example of what you are trying to do?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    May 2006
    Posts
    45
    Plugin Contributions
    0

    Default Re: More classes->Product listing?

    Idea is to place one image behind the other so that they can spread across the page. Right now it's possible to put the left side of image to stylesheet like this;

    .productListing-odd, .productListing-even{
    background-image: url(../images/image_left.png);
    background-repeat: no-repeat;
    background-position:left bottom;
    }

    But how to get right side of image working? So I need a class that makes it possible to use second background image freely within .productListing-odd, .productListing-even. For example like this;

    .classUnknown {
    background-image: url(../images/image_right.png);
    background-repeat: no-repeat;
    background-position:right bottom;
    }

    I hope this clarifies what I'm trying to do.

  4. #4
    Join Date
    Jul 2006
    Location
    UK
    Posts
    165
    Plugin Contributions
    0

    Default Re: More classes->Product listing?

    Quote Originally Posted by jarsa View Post

    .productListing-odd, .productListing-even{
    background-image: url(../images/image_left.png);
    background-repeat: no-repeat;
    background-position:left bottom;
    }
    This code allows me to add a background image in my product listing page providing I use the rows product listing style.

    Does anyone Know what I would need to change to get it to display in the columns product listing style please?

    Many thanks
    Claire

 

 

Similar Threads

  1. More link on product listing page
    By Three Sisters in forum Templates, Stylesheets, Page Layout
    Replies: 17
    Last Post: 9 Jun 2009, 05:57 PM
  2. Product listing more info link
    By 121webconsultancy in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 27 Jan 2009, 12:26 AM
  3. Product Listing - More Info
    By dab in forum Customization from the Admin
    Replies: 4
    Last Post: 1 Jul 2007, 02:13 AM
  4. Product description in product more info in html format but not in product listing?
    By this side up in forum Customization from the Admin
    Replies: 1
    Last Post: 18 Dec 2006, 06:25 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