Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

change color on the "product price"

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 10-14-2005, 08:00 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,052
 

Default

No, well when I get a look at your product template (as per the other topic), which is where it is set, I will be able work out exactly which one it is and then I shall let you know.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #12  
Old 10-14-2005, 08:05 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,052
 

Default

Actually, let's start again!

What exactly do you want to change?

On the Product Page, there is nowhere that it says "Our Price", just price - and that is black - #000000

On the ProductS page - there is an "Our Price" and that is red.

The bits on the Product Page with ref: #AA9311
are the actual price, which we have covered and the headings, ie Details.

Paul confused!
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #13  
Old 10-14-2005, 08:23 AM
 
josephpham josephpham is offline
 

Advanced Member
  
Join Date: Sep 2005
Location: California, USA
Posts: 68
 

Default

Quote:
Originally Posted by harrismichael
Sorry for not specifying better .. i want to change the font color for 'our price " ..

Change the color for "our Price" was exactly what I changed, the default on my add-on skin template was blue. Like Paul showed me, Try to change "ProductPrice". If you have the default skin, it would be /skin1/skin1.css. Mine is add-on skin (/skin1/skin1_c.css : .ProductPrice {
COLOR: #xxxxxx; FONT: bold 12px; FONT-FAMILY: Arial;
}
It works for me. Good luck!

*xxxxxx is the RGB (red-green-blue) in Hex number from 00 to FF.
__________________
Xcart Gold V 4.0.16
Server: Apache, MySQL server 4.0.24
MySql Client: 4.1.13, PHP 4.4.0
Reply With Quote
  #14  
Old 10-14-2005, 08:28 AM
 
harrismichael harrismichael is offline
 

Senior Member
  
Join Date: Sep 2005
Location: New York
Posts: 107
 

Default

Ok so I changed it on the category page( see below ) from our signature yellow to red .. all OK there ..
http://harrismichaeljewelry.com/Bracelets-c-617.htm


Now I want to change it on the product pages like the one below( where it is listed as " price ":
http://harrismichaeljewelry.com/14k-White-Gold-Small-Engravable-Medical-Id-Bracelet-pr-19948.htmll
__________________
www.harrismichaeljewelry.com X-Cart version 4.1.18



Mods

DSEFU PRO
Auction Manager for XCART
X-cart Customer Reward Points
Customer Review Management for X-cart
Recently Viewed Products X-cart Modification
X-RMA
X-AOM
Customers Also Bought Modification
Recently Viewed Products X-cart Modification
Hidden Categories
Product Options Copier
Multiple Upselling Links for X-cart
Reply With Quote
  #15  
Old 10-14-2005, 08:34 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,052
 

Default

Ok, if you changed that one you have the right css file.

Now if you want to change the colour of the word Price, you need to alter:

ProductPriceConverting

in the Css file.

Note this will also alter the word Save.

(and we could do with putting a ":" after the word Save in the template I sent you) (line #76,
Code:
<TR><TD class="ProductPriceConverting" valign="top">{$lng.lbl_save_price}:</TD>
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #16  
Old 10-14-2005, 08:54 AM
 
harrismichael harrismichael is offline
 

Senior Member
  
Join Date: Sep 2005
Location: New York
Posts: 107
 

Default

ok that indeed changed the color of price and save .. haven't tried the ":" yet ..

Is there a way to split those to so they can be differernt colors ?



An how to change the actual number ie $299.99 ?
__________________
www.harrismichaeljewelry.com X-Cart version 4.1.18



Mods

DSEFU PRO
Auction Manager for XCART
X-cart Customer Reward Points
Customer Review Management for X-cart
Recently Viewed Products X-cart Modification
X-RMA
X-AOM
Customers Also Bought Modification
Recently Viewed Products X-cart Modification
Hidden Categories
Product Options Copier
Multiple Upselling Links for X-cart
Reply With Quote
  #17  
Old 10-14-2005, 09:01 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,052
 

Default

So you want Save different to Price in terms of colour?

OK, well you need to be back in the same template, product.tpl

and on the line where you need to add the :
<TR><TD class="ProductPriceConverting" valign="top">{$lng.lbl_save_price}:</TD>

Change
ProductPriceConverting
to something else, I would just put a 1 on the end.

then in your css, duplicate that bit of code, the whole lot for ProductPriceConverting, and on the duplicate put a 1 on the end, just the same. Now you have two different classes and you can change the colour on this second one and it will only affect the Save button.

To change the actual price, change
ProductDetailsTitle in the css file.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #18  
Old 10-14-2005, 09:19 AM
 
harrismichael harrismichael is offline
 

Senior Member
  
Join Date: Sep 2005
Location: New York
Posts: 107
 

Default

I did that .. it made 'you save' vanish ..


and editing the color of 'ProductDetailsTitle' also changes the words ' details' and 'options'
__________________
www.harrismichaeljewelry.com X-Cart version 4.1.18



Mods

DSEFU PRO
Auction Manager for XCART
X-cart Customer Reward Points
Customer Review Management for X-cart
Recently Viewed Products X-cart Modification
X-RMA
X-AOM
Customers Also Bought Modification
Recently Viewed Products X-cart Modification
Hidden Categories
Product Options Copier
Multiple Upselling Links for X-cart
Reply With Quote
  #19  
Old 10-14-2005, 09:30 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,052
 

Default

And I thought you were starting to get the hang of it!!

I'm going to finishing soon, so a quick crash course in CSS may be needed!!

Now, are you using Hooter's Dynamic mod on your site; if you are the You Save is there in Red. If not, I'm not seeing the live site.

You cannot make You save disappear just by changing the css tag - unless you made it white.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #20  
Old 10-14-2005, 09:41 AM
 
harrismichael harrismichael is offline
 

Senior Member
  
Join Date: Sep 2005
Location: New York
Posts: 107
 

Default

Quote:
Originally Posted by pauldodman

You cannot make You save disappear just by changing the css tag - unless you made it white.

Call me in aidiot but in my hast I type FFFFFF ..


Anyways it works now for the words .. now can we get the number to match in colors ?

http://harrismichaeljewelry.com/14k-White-Gold-Small-Engravable-Medical-Id-Bracelet-pr-19948.html
__________________
www.harrismichaeljewelry.com X-Cart version 4.1.18



Mods

DSEFU PRO
Auction Manager for XCART
X-cart Customer Reward Points
Customer Review Management for X-cart
Recently Viewed Products X-cart Modification
X-RMA
X-AOM
Customers Also Bought Modification
Recently Viewed Products X-cart Modification
Hidden Categories
Product Options Copier
Multiple Upselling Links for X-cart
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:14 AM.

   

 
X-Cart forums © 2001-2020