Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change BG colour of column?


garysumpter

Recommended Posts

Posted

You need to set up a new class in the css. Then in the TD that the left column appears in you need to declare <td class="new class">

 

Be aware though that if you set a different background colour or image background for either of the columns then it will (in all likelyhood) override the background colour of the info boxes in that column (even though they are declared seperately). It can look messy!

 

Vger

Posted

ANy ideas?

 

I want the left and right hand columns to have a blue background (I have the hex code) but I want the boxes to remain white.

 

Gary

Posted
oh ok, thanks anyway :(

 

 

this is how I did it.. but it needs to be done in every page :(

this is the code for index.php

 

<!-- body //-->
<table border="0" width="100%" cellspacing="3" cellpadding="3">
 <tr>
   <td width="<?php echo BOX_WIDTH; ?>" valign="top" class="ColumnLeftBox"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- left_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
<!-- left_navigation_eof //-->
   </table></td>
<!-- body_text //-->

Archived

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

×
×
  • Create New...