Post by cypee » Mon Nov 10, 2014 12:23 am

Hi, May i know where to change the special discount text colour for
- featured module,
- latest module,
- product list
- and product page.

Thanks

Attachments

Screen Shot 2014-11-10 at 12.20.35 AM.png

Screen Shot 2014-11-10 at 12.20.35 AM.png (68.48 KiB) Viewed 2794 times


Newbie

Posts

Joined
Mon May 14, 2012 5:24 pm

Post by uksitebuilder » Mon Nov 10, 2014 4:13 pm

Sure, edit catalog/view/theme/default/stylesheet/stylesheet.css

find

Code: Select all

.price-old {
    color: #999;
change the hex colour value to a colour of your choosing

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by cypee » Mon Nov 10, 2014 7:57 pm

uksitebuilder wrote:Sure, edit catalog/view/theme/default/stylesheet/stylesheet.css

find

Code: Select all

.price-old {
    color: #999;
change the hex colour value to a colour of your choosing

Hi, already change it. Look great with red colour.

Thank you very much

Newbie

Posts

Joined
Mon May 14, 2012 5:24 pm

Post by cypee » Tue Nov 11, 2014 12:01 am

I just see that my product page special discount is still in grey colour.

Attachments

Screen Shot 2014-11-10 at 11.55.44 PM.png

Screen Shot 2014-11-10 at 11.55.44 PM.png (178.19 KiB) Viewed 2760 times


Newbie

Posts

Joined
Mon May 14, 2012 5:24 pm

Post by uksitebuilder » Tue Nov 11, 2014 12:51 am

edit: catalog/view/theme/default/template/product/product.tpl

find

Code: Select all

<span style="text-decoration: line-through;">
change to

Code: Select all

<span style="text-decoration: line-through; color: #FF0000;">
Edit the hex value to suit

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by cypee » Tue Nov 11, 2014 2:08 am

Need help!!!

After i change and add the code like you say to ff0000, when i go to my product page, my price is gone and look like template is corrupt, i try to replace back backup product.tpl but the problem is still same.

Attachments

Screen Shot 2014-11-11 at 2.05.32 AM.png

Screen Shot 2014-11-11 at 2.05.32 AM.png (199.98 KiB) Viewed 2754 times


Newbie

Posts

Joined
Mon May 14, 2012 5:24 pm

Post by uksitebuilder » Tue Nov 11, 2014 4:51 am

Changing the code to what I put would not do that.

Please zip up and attach your product.tpl to this post and iwil take a look

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by cypee » Tue Nov 11, 2014 10:20 am

Hi,

I copy default opencast 2.o product.tpl to replace it, and try to change the code again now it look fine..

Thank you.

Newbie

Posts

Joined
Mon May 14, 2012 5:24 pm
Who is online

Users browsing this forum: No registered users and 199 guests