Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Change Background Color to Active Category Link


Recommended Posts

Hi to all,

I've been working on OSCommerce for almost a year for my Multilingual websites.

My problem maybe not big for some of you but I'm really having a trouble with this one. I don't know how to change the background color of my active category link. When a category or subcategory is selected, I want it to have a different background color which can tell the visitor that the products displayed is under that certain category or subcategory. I already used CSS a:active or a:focus but when the page is loaded, the assigned bgcolor is back to white. When I used a:visited, of course the previous links visited will be highlighted which is not what I want. All I want is only the current category or subcategory link will have background color.

If anybody of you knows how to solve this or have tried doing this on their OSCommerce website. Please help me and I will appreciate you're kindness. Thank you

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...