Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing Category Font Color...


injected

Recommended Posts

Posted

I am managing a website for someone, and so far it's been problem-free, with two exceptions, and both both pertain to the Categories section.

 

The website is cultura divine boutique dot com

 

If you'll notice, there are 5 products to the left side. They're all in gray. She wants the Pink Products to show up in pink, they're for breast cancer awareness. But I am having great difficulty getting it to change pink. The CSS stylesheet links only apply to all the categories, not individually, so I am at a loss here, any help is appreciated.

 

 

 

The second issue, is that, apparently, in IE, the categories look whited out somehow. It does not happen to me in Firefox or IE. It is only visible to my client (and presumably others). here's a screenshot of it. Any help on how to fix it is appreciated. In CSS there's so many options and ticks here... infoBox, infoBoxHeading, theres categories.php... I don't know what to tweak. Thanks for the help.

 

 

http://img689.imageshack.us/img689/8480/78946380.jpg

Posted

Hello Victor,

 

There is only one way that I know of to make a particular category it's own color apart from the other categories listed and that is to hard code it through admin.

Open your admin, click on the category name "Pink Products" then click the edit button. Just before the category name, add: <font color=#FF33FF> and click the save button.

 

As for the background being whited out.. it appears that you have multiple classes, all for your info boxes...

 

infoBox2_td

infoBoxContents2_table

boxText

categories

bg_list_un png

 

and there is probably a conflict with them. I suggest either removing some of them or make sure that they all have the same background color attribute in your stylesheet.css

Posted

Hi, I had actually tried that before. The result was that in Admin, the text came out pink, but on the actual site, the link is just grayed out and smaller. I am thinking it has something to do with the classes, which is a bother to sort out because it's obvious that the last webmaster did something strange with this...

 

Any other suggestions are helpful...

Posted

I'm really just trying to do this by making backups and going trial-and-error. Isn't working so far... so I'm thinking you folks with better understanding of these category classes might be able to give me some advice :thumbsup: ?

Posted

I ended up having to modify the SQL database to allow longer titles. I made the title relate to a new <li> class in the sheet. It worked well. Thanks for the help guys :thumbsup:

  • 5 weeks later...
Posted

Hi I tried putting <font color=#FFFFFF> in front of the categories text and it changed the color, but the html code shows up in the browser tab in front of the category name. Is there any way I can use this method so that the tab does not show the html code. If not can anyone give me another answer on how to change the category color. I have tried all ways that I can find on the forum and none of them work apart from this way, but this way makes my tabs look bad

Archived

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

×
×
  • Create New...