Guest Posted April 12, 2005 Posted April 12, 2005 Just the color of Column Left. Is there a way to change the color of the left column without changing all the columns color? Thanks for your help. rick My Webpage
Winterchild Posted April 12, 2005 Posted April 12, 2005 I think you can add a class to the column *class="whatever"* and define it in the stylesheet *.whatever{ background-color: #FFFFFF; } * between *'s are examples Forum search Contributions search Documentation search (note: docs being adapted for MS3, may be different for MS2) 3 tips for better forum searching Want to post? Read this first: osCommerce for dummies Topic name etiquette Basics: Basics for design Right syntax to use near '-20, 20' Cannot re-assign $this Parse error
Guest Posted April 12, 2005 Posted April 12, 2005 } .column_left{ background-color: #FFF000; } Didn't work. Any other suggestions or did I do it wrong?
Winterchild Posted April 12, 2005 Posted April 12, 2005 what did you add to the column? Looks like you're using a template contrib or something. In a clean install it goes as follows. You go to index.php there's a line saying this: <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2" [B]class="column_left"[/B] the bold shows the change you make. then in the stylesheet you add .column_left{ background-color: #FFF000; } I added it under .infoBoxContents { ?background: #f8f8f9; ?font-family: Verdana, Arial, sans-serif; ?font-size: 10px; } plus you need to change the color of the box. I believe it's: .boxText { font-family: Verdana, Arial, sans-serif; font-size: 10px; [B]background-color:#FFF000;[/B]} But I don't know what it's like with a contribution Forum search Contributions search Documentation search (note: docs being adapted for MS3, may be different for MS2) 3 tips for better forum searching Want to post? Read this first: osCommerce for dummies Topic name etiquette Basics: Basics for design Right syntax to use near '-20, 20' Cannot re-assign $this Parse error
Guest Posted April 12, 2005 Posted April 12, 2005 Thanks for your help. I will keep playing with it until I figure it out..
Winterchild Posted April 12, 2005 Posted April 12, 2005 What contribution are you using? Forum search Contributions search Documentation search (note: docs being adapted for MS3, may be different for MS2) 3 tips for better forum searching Want to post? Read this first: osCommerce for dummies Topic name etiquette Basics: Basics for design Right syntax to use near '-20, 20' Cannot re-assign $this Parse error
Guest Posted April 12, 2005 Posted April 12, 2005 What contribution are you using? <{POST_SNAPBACK}> Im using Center Shop..
Winterchild Posted April 12, 2005 Posted April 12, 2005 As far as I know centershop shouldn't have an impact on my instructions. Most likely if you can't do it my instructions were wrong :-" Plus your site's not stock osCommerce and the site I tested this on is.. you can always try to add bgcolor="#FFF000" to the table column... Anyway, Good luck Forum search Contributions search Documentation search (note: docs being adapted for MS3, may be different for MS2) 3 tips for better forum searching Want to post? Read this first: osCommerce for dummies Topic name etiquette Basics: Basics for design Right syntax to use near '-20, 20' Cannot re-assign $this Parse error
Guest Posted April 12, 2005 Posted April 12, 2005 Thanks for all your help, you have pointed me in the right direction!
Guest Posted April 13, 2005 Posted April 13, 2005 This is driving me nuts.. anyone have any suggestions?
Winterchild Posted April 13, 2005 Posted April 13, 2005 What does the code for your index page/column look like? Forum search Contributions search Documentation search (note: docs being adapted for MS3, may be different for MS2) 3 tips for better forum searching Want to post? Read this first: osCommerce for dummies Topic name etiquette Basics: Basics for design Right syntax to use near '-20, 20' Cannot re-assign $this Parse error
Guest Posted April 13, 2005 Posted April 13, 2005 <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2" class="column_left"> <!-- left_navigation //--> <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> <!-- left_navigation_eof //-->
Recommended Posts
Archived
This topic is now archived and is closed to further replies.