Reward Points |
Post Reply |
Author | |
macleather
Newbie Joined: 23-June-2008 Location: Los Angeles Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 04-August-2008 at 9:00pm |
Hi All,
I want to change the color of the Reward Points verbiage shown on the product details page. I think it would be better seen in some contrasting color rather than the same as the rest of the description. However, I can't seem to find which asp file contains this information. Any help is appreciated. Alan |
|
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
Hi Alan,
The file is viewPrdCode.asp - but an easier solution which involves no special ongoing maintenance is to add the HTML tags to viewprd_50 & viewprd_51 in includes/languages.asp. |
|
macleather
Newbie Joined: 23-June-2008 Location: Los Angeles Status: Offline Points: 3 |
Post Options
Thanks(0)
|
Hi Hamish,
Thanks for the reply. I prefer the HTML tags in languages.asp for the same reason you mention however I was not aware you could insert tags there. I put in a span tag <span style="color:red"> both before the " and also inside the " on both lines and when I tried to get into control panel I got a script error for those lines for each instance. Do you know if I need to do this some other way? Thanks, Alan |
|
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
Hi,
Try changing each of the " marks you want embedded to a pair of double quotes. <span style=""color:red""> |
|
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
Hi Alan, just to clarify - put the <span style=""color:red""> INSIDE the existing quote marks.
The problem you were having was because the single " character was ending the variable. Doubling them up causes the variable to be continued with a single " embedded in the string. Edited by Hamish - 05-August-2008 at 3:44pm |
|
macleather
Newbie Joined: 23-June-2008 Location: Los Angeles Status: Offline Points: 3 |
Post Options
Thanks(0)
|
Hamish, That worked like a charm. It sure is great to have so many smart people helping out at this forum.
Maybe you know where the number of points displayed between the text I just changed comes from. I'd like to change the color of that to match. It says "You will earn XX points on this product. I want the XX points to be in red as well. Thanks so much, I've been trying to do this for 2 days now. Alan |
|
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
Hi Alan,
Your 99% of the the way there. Just remove :- - </SPAN> from viewprd_50 - <span style=""color:red""> from viewprd_51 and that will allow the <span> to span the entire phrase (excuse the pun ) |
|
macleather
Newbie Joined: 23-June-2008 Location: Los Angeles Status: Offline Points: 3 |
Post Options
Thanks(0)
|
I feel soooo stupid. I know that... Obviously my brain didn't know it today. Thanks for taking the time to "see" my problem. I guess as they say, two heads are better than one and thank goodness your's is working.
Much Appreciated, Alan |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |