PDA

View Full Version : change color of price text only


neoteric
5-31-04, 09:17 PM
I would like to keep the main text colour white and have figured out how to change the rest that I need to black, just not the price. I can change the main text color to black in the stylesheet also affecting price, but this is no goodas it also changes the text in the product page.

Is there anyway to override the stylesheet text color for prices displayed in the catalog and search pages?

stevel
5-31-04, 09:49 PM
The price is shown various ways. On the product info page, it uses the PageHeading style. You can go into the product_info.php and index.php files and specify whatever style you want, then add that style to the stylesheet.

neoteric
6-3-04, 11:09 AM
Thanks, but I dont understand what you mean. If you change the text colour of the product description using the stylesheet, it also changes the price colour on the search pages, recent products, etc. How can I change the text of the product description to white and leave the rest black? See what I mean...

http://www.purdyproperty.co.nz/
click on 'search for properties'

Cheers.

stevel
6-3-04, 11:13 AM
osC uses the "main" style as a default, including product descriptions. If you want to change the appearance of a kind of text, create a style for the new appearance and change the class= specification in the pages that show this information where the particular text appears (eg. product_info.php).

neoteric
6-8-04, 03:21 AM
Thanks heaps - all sorted.