Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Column_Left


Guest

Recommended Posts

Posted

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

Posted

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

Posted

}

.column_left{

background-color: #FFF000;

}

 

Didn't work. Any other suggestions or did I do it wrong?

Posted

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

Posted

Thanks for your help. I will keep playing with it until I figure it out..

Posted

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

Posted

Thanks for all your help, you have pointed me in the right direction!

Posted

This is driving me nuts.. anyone have any suggestions?

Posted

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

Posted

<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 //-->

Archived

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

×
×
  • Create New...