Jump to content



Latest News: (loading..)

- - - - -

Product catergorys

product catergory colors info

This topic has been archived. This means that you cannot reply to this topic.
4 replies to this topic

#-19   paddyK

paddyK
  • Members
  • 10 posts

Posted 14 March 2012 - 11:22 AM

Why dose the caterory page have different colors.
the first product has a picture and a color background and has information
the seccond product as picture and a blank background and no information.
And so on, every seccond product has no background and no information.
How can i fix this so they are all the same.
check it out here at: www.alaaniclothing.com
Any help?
patkav

#-18   14steve14

14steve14

    STORE OWNER NOT CODER

  • Members
  • 3,081 posts

Posted 14 March 2012 - 03:36 PM

If you are talking about the zebra effect on the product listings, that is controlled in your jquery stylesheet and is all connected to the jquery theme you are using.
REMEMBER BACKUP, BACKUP AND BACKUP
I am not a coder, so dont bother sending PMs asking for help as you wont get any.  

OSC has a steep learning curve, but in general the program does work.  If it doesnt work, the chances are it is something you have done.

#-17 ONLINE   multimixer

multimixer

    Lemons or Melons ?

  • Partner
  • 4,401 posts

Posted 14 March 2012 - 03:48 PM

Zebra effect comes from your file includes/footer.php where you'll find this line
$('.productListTable tr:nth-child(even)').addClass('alt');

This add a class named "alt" to each even row of your product listing table

The class "alt" get a background color in the stylesheet.css on line 90
.productListTable tr.alt td {
  background-color: #ecf6fc;
}

Now, after knowing this, and after knowing that jQuery UI is innocent, what can you do?
- Remove the line from your footer.php, so no zebra anymore
- add to class "alt" the same color as the color the table has - again no zebra anymore
- add an other nice color

#-16   paddyK

paddyK
  • Members
  • 10 posts

Posted 14 March 2012 - 08:28 PM

Thanks for the reply, I'll try that and let you know how i got on.
paddyk

#-15   paddyK

paddyK
  • Members
  • 10 posts

Posted 14 March 2012 - 09:37 PM

Hi George.
Well I tryed your instructions, And it worked great and it looks perfect.
Thank you very much for the great advice and very clear instructions.
Paddyk