Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HELP! - need two text colors on main area


bigbird_3156

Recommended Posts

Posted

Hi,

 

I have been playing around with the stylesheet to try and make it so that on the main page I can have two different text colors...

 

at present my background color is quite light and the boxes in the main section of the site are dark (ie the middle boxes not the left and right column of boxes).... so if I change the text to a white I cant see it on the background and if I keep it as black it is hard to see it in the boxes.

 

I have finally worked out that the section of the style sheet that controls this area is..

 

TD.main, P.main {
 font-family: Verdana, Arial, sans-serif;
 font-size: 11px;
 line-height: 1.5;
 color: #999999;

 

I have set the color of the text to a middle grey color (#999999) but even this is not great....

 

has anyone any ideas or think they can point me in some sort of direction?? :huh:

 

thanks

Posted

If you want two colours you will need to make a new class.

Copy that main bit and paster it below, rename it from main to your choice

now you need to edit the pages where the text is you want changed. from class="main" to class="your name"

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted
If you want two colours you will need to make a new class.

Copy that main bit and paster it below, rename it from main to your choice

now you need to edit the pages where the text is you want changed. from class="main" to class="your name"

Nic

 

YOU ARE A LEGEND!!!!! - THANK YOU VERY MUCH!!!! :D :D :D

Posted

sorry....

 

any idea how to do the same with hyperlink text...

 

the style sheet looks like

 

A {
 color: #000000;
 text-decoration: none;
}

A:hover {
 color: #CCCCCC;
 text-decoration: underline;

 

but I cant see any reference to A or A:hover anywhere else...

Posted

Do the same for your hyperlinks. Give them the class. A.whatever

Archived

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

×
×
  • Create New...