Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

link color change.


shutiri

Recommended Posts

Posted

Hi.

 

I need to change the product name link color on the categories page. the product name link (the name of the item) is the same color than the other links on the page (white), but the box background color is white too. How do I change this particular link color ?

 

thank you.

shutiri.

Posted

If you want to use different colors for those items, you need to create a new class in stylesheet.css and apply it to the pages you want to use it on.

Posted

I needed to change the color of just a few links, so I just used the <font color=""> tags. Not as elegant as creating a seperate .css entry, but it was easier for me with a better understanding of HTML than PHP.

Posted

thank you. I actually know how to do both of these possilities (html and css) but I don't know where to look for this particular link... where is it (which file and location) so I can apply either of these solutions ?

 

thank you.

shutiri.

Posted

I'm sorry, I don't know enough about PHP to tell you exactly what to edit, but I'm pretty sure the file you need to look at is categories.php

 

good luck

Posted

I looked to the categories.php and didn't find how to change this link... please help.

 

thank you.

shutiri.

  • 2 weeks later...
Posted

I'm trying to figure this out too. I'll post the solution once I figure it out, that is, if I can find this thread.

JHouse

Posted

I do know this, it's in the css file located in your main directory.

JHouse

Posted

Look in your stylesheet.css file.

 

At about line 24, you'll see:

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

change color: #000000; to any color you want.

 

Save and upload - you're set!

Archived

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

×
×
  • Create New...