Post by tifonet » Tue May 19, 2009 5:41 pm

Hi,

How do i change the text colours/styles in product details?

I especially want to change the price colour to make it stand out more, both within the product details and on the front page within 'latest products'.

I don't know which css file does this?

Newbie

Posts

Joined
Sat May 09, 2009 3:17 am

Post by MikoElSuperbeasto » Wed May 20, 2009 10:00 am

Well, you won't found any css for this product attributes. Go in your theme folder, template/product/product.tpl, and look for these lines:

Code: Select all

 <tr>
              <td><b><?php echo $text_price; ?></b></td>
              <td><?php if (!$special) { ?>
                <?php echo $price; ?>
                <?php } else { ?>
                <span style="text-decoration: line-through;"><?php echo $price; ?></span> <span style="color: #F00;"><?php echo $special; ?></span>
                <?php } ?></td>
            </tr>
You can simply do this..:

Code: Select all

  <span style="text-decoration: line-through;color: #YOURCOLOR;"><?php echo $price; ?></span>

Thanks


Posts

Joined
Fri May 08, 2009 9:42 pm

Post by tifonet » Wed May 20, 2009 10:50 pm

thanks, i'll try that ....

Newbie

Posts

Joined
Sat May 09, 2009 3:17 am

Post by tifonet » Wed May 20, 2009 10:59 pm

included the 'colour' tag within special.tpl and product.tpl as you state, no difference.

even tried changing the 3 digit web palette colour code, still no change.

Newbie

Posts

Joined
Sat May 09, 2009 3:17 am

Post by sully210 » Tue Jul 20, 2010 3:23 am

Maybe someone could help me out. I am trying to change the text color of the links in the categories module, and everywhere else for that matter, from blue to charcoal to match my template theme and cannot figure it out. Does anyone have specific instructions on doing it?

Thank you,

Sully

Thank you,
Sully :)


User avatar
Active Member

Posts

Joined
Tue Jul 13, 2010 4:46 am
Location - USA

Post by Moggin » Tue Jul 20, 2010 4:18 am

Hi Sully
In the stylesheet, catalog/view/theme/YOUR-THEME/stylesheet/stylesheet.css look for:

Code: Select all

a, a:visited {
	color: #1B57A3;
	text-decoration: underline;
	cursor: pointer;
	}
All the links are styled from there: so you can just change the link color to any other color you wish.
You can style links individually in different places if you want to, eg #category ul a, but the link color and style otherwise default back to the above. Hope that helps

Active Member

Posts

Joined
Wed May 05, 2010 4:56 am

Post by sully210 » Tue Jul 20, 2010 7:36 pm

You are awesome and thank you :)

Thank you,
Sully :)


User avatar
Active Member

Posts

Joined
Tue Jul 13, 2010 4:46 am
Location - USA

Post by Moggin » Wed Jul 21, 2010 12:05 am

lol I'm not, but you're welcome :)

Active Member

Posts

Joined
Wed May 05, 2010 4:56 am
Who is online

Users browsing this forum: No registered users and 8 guests