Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing Specific text colours


Stephan (VS)

Recommended Posts

How do I change specific text colors?

 

example:

 

in Stylescheet.css

+- Row 25

 

*

A {

color: #1E1E1E; /* Categories Text; Click to enlarge; Login; Create account Main */

text-decoration: none;

}

*

 

I want the categories text to be a different color than the "Click to enlarge text". :huh:

"I have no special talent. I am only passionately curious"

- Albert Einstein

Link to comment
Share on other sites

Make a new style for it in the stylesheet.

 

Something like:

 

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

A.cat:hover {
color: #000000;
text-decoration: underline;
}

Then in /catalog/includes/boxes/categories.php change this line:

 

	$categories_string .= '<a href="';

to

 

	$categories_string .= '<a class="cat" href="';

Always backup any file before making any edits.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...