X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   change color on the "product price" (https://forum.x-cart.com/showthread.php?t=17248)

pauldodman 10-14-2005 09:47 AM

Well the actual $amount eg. $249 is on:

ProductDetailsTitle in the CSS

Is that what you are after?

harrismichael 10-14-2005 09:52 AM

Quote:

Originally Posted by pauldodman
Well the actual $amount eg. $249 is on:

ProductDetailsTitle in the CSS

Is that what you are after?


Yes but as said before that will also change the color of ' detail's and options ..



I am very grateful for the help so far btw ..

pauldodman 10-14-2005 09:57 AM

Of course, ok, well we just need to make a new css class as we did before.

In the products template:

line 67:

<FONT class="ProductDetailsTitle">

Stick a 1 on the end of the Title, so:
<FONT class="ProductDetailsTitle1">

Then goto the css file, duplicate that section and then put a 1 on it again.
You now have another separate class that you can edit.

harrismichael 10-14-2005 10:17 AM

cool .. price and $xxx.xx now match ..


Now how do i change 00% to mach up with ' you save' .. duplicate another one in the css ?

pauldodman 10-14-2005 10:56 AM

Yes, but you will actually have to put the tag around the variable in your product template as well.

<FONT class="ProductDetailsTitle2">{$discount}%</font>

So that:
ProductDetailsTitle2

matches in the template and css. Doesnt matter what you call it.

harrismichael 10-14-2005 11:07 AM

Victory :D .. thanks so much for your help .. it all looks smooth and better then ever .. 8)

pauldodman 10-14-2005 11:52 AM

Agreed, looks very user friendly now. Glad to of helped - hope you feel a bit more confident with css now, especially as it basically controls so much of the style of x-cart.

harrismichael 10-14-2005 12:09 PM

yah it is starting to make sense .. i still need to get that CSS for dummies though .. :o


All times are GMT -8. The time now is 08:06 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.