Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

change center module's bg but not boxes' bg


DrBi0TecH

Recommended Posts

i want to change my left.col and right.col's boxes' backgrounds, but keep the center modules' backgrounds white/different.

 

i've tried changing (stylesheet.css) infoBoxContent, but that affects both the boxes and the modules. it seems like both are build by /clases/boxes.php

 

how could i change the boxes and modules appearance independently?

(if there already is a contribution, even better)

 

thanks

contrib: Dynamic MoPics BandWith Saver:

http://www.oscommerce.com/community/contributions,1114

Link to comment
Share on other sites

i couldn't do that, because the class isn't specified in every box, but in boxes.php - same class for all boxes.

 

so what i finaly did:

 

classes/boxes.php --> row 143

in function contentBoxContents

i changed the class infoBoxContents to contentBoxContents (i didn't know there was this function - it always seemed like everything was build just with infoBoxContents. i discovered this by error. 100% serendipity, lol)

 

then, in stylesheet.css i made the new class

.contentBoxContents

by duplicating the original .infoBoxContents and then change the background

 

B)

contrib: Dynamic MoPics BandWith Saver:

http://www.oscommerce.com/community/contributions,1114

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...