Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Featured products change background color & randomize


10incher

Recommended Posts

Posted

I have Featured products installed and what I want to do is change the background to a different color than any of the other section backgrounds (many of them seemed to be linked). I use a background image for my category, search, shopping cart, etc sections in the left and right menus, but what I want to do is changed my Featured Products section to have its own background color different from the rest?

 

Also I would like to have the featured products section show a pre-defined amount of products that show up rather than all the products I set as featured in admin (I just realized that it does randomize them which is also what I was looking for lol!). Hope this all makes sense. Anyone have any ideas?

Posted
I have Featured products installed and what I want to do is change the background to a different color than any of the other section backgrounds (many of them seemed to be linked). I use a background image for my category, search, shopping cart, etc sections in the left and right menus, but what I want to do is changed my Featured Products section to have its own background color different from the rest?

 

Also I would like to have the featured products section show a pre-defined amount of products that show up rather than all the products I set as featured in admin (I just realized that it does randomize them which is also what I was looking for lol!). Hope this all makes sense. Anyone have any ideas?

 

the featured products contribution uses a class defined in catalog/includes/classes/boxes.php. What u probably want to do is make a new class for the featured products contribution. Associate a new class in stylesheet.css with this box class and away you go. Oh, and dont forget to specify this new box class in the featured products module.

  • 2 weeks later...
Posted
the featured products contribution uses a class defined in catalog/includes/classes/boxes.php. What u probably want to do is make a new class for the featured products contribution. Associate a new class in stylesheet.css with this box class and away you go. Oh, and dont forget to specify this new box class in the featured products module.

 

Anyone know the specific code to add/change? So including the stylesheet, their would be 3 pages to make changes to in order to do this, right? i have no problem adding or changing code, but I don't know enough php to make up my own.

  • 5 months later...
  • 7 months later...
  • 4 weeks later...
  • 4 months later...
Posted
I also need this info. Did you figure this one out yet?

 

Thanks.

 

Nope not yet, been waiting for someone to post the sollution for a year and a half now :(

Archived

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

×
×
  • Create New...