salewit Posted February 21, 2003 Share Posted February 21, 2003 My client wants the background color to be different based on the product category that the user is in. Can anyone give me an idea of how difficult this would be? I know a little Php, but certainly not an expert. Thanks Sam Link to comment Share on other sites More sharing options...
mugitty Posted February 21, 2003 Share Posted February 21, 2003 I'm just wingin' it here, but I would think it shouldn't be more than moderately difficult. If you create a bunch of new classes in your stylesheet.css (one for each category) and then create a bunch of if/else statements to call the appropriate class from product_info.php, you should be able to end up with the chosen background in the main body of each individual product page. But, like I said... I'm just throwin' this off the top of my head ... if you want to REALLY see something that doesn't set up right out of the box without some tweaking, try being a Foster Parent! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.