henya Posted July 21, 2004 Posted July 21, 2004 I want to have a one background color for my page and a different one for the two columns. I only seem to be able to make the boxes a different color and I want the whole column. Thank
Mary B. Posted July 21, 2004 Posted July 21, 2004 One quick way to do that would be to add a style to the stylesheet.css file for those specific areas. Something like this: TD.boxcolumns { ?background: #f9fff1; ? } Change the color number to suit. Then find this line in catalog/index.php (around line 55): ? ?<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> Change it to: ? ?<td class="boxcolumns" width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> Then around line 325, do the same for the right side column data cell: <td class="boxcolumns" width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. ~ Benjamin Franklin, 1759. տլ
henya Posted July 21, 2004 Author Posted July 21, 2004 Did what you said but it does not seem to have done anything. I want the whole column to be one color. ?
Mary B. Posted July 21, 2004 Posted July 21, 2004 Check to see that you have the class attribute added to the correct <td>. I tested this before I posted, and it changed the color of the entire column on my test site. They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. ~ Benjamin Franklin, 1759. տլ
Recommended Posts
Archived
This topic is now archived and is closed to further replies.