Zen Cart Logo
Forums / General Questions / Need help on a bit of cold

Need help on a bit of cold

Locked

Views: 936

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
21 Feb 2009, 5:59 PM
#1
redrob avatar

redrob

New Zenner

Join Date:
May 2008
Location:
UK
Posts:
83
Plugin Contributions:
0

Need help on a bit of cold

I have just downloaded an add on for my shopping cart at the moment the text is in black and appearing at the top of my tab I want it to match the rest this is the website http://www.youtofriends.com

This is the cold I have got and need to edit

<li>My Cart: <span class="style1">
	<?php echo sizeof($_SESSION['cart']->get_products()); ?>  items  
 	<?php $header_cart = $currencies->format($_SESSION['cart']->show_total());  
	echo $header_cart;
	?>
</span>
<br class="clearBoth" />
</li>
21 Feb 2009, 9:20 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Need help on a bit of cold

It's down for maintenance right now, but since there is a class tag on the new bit, you can style that in your stylesheet.css.

.style1 {
    color: #aabbcc;
    font-size: 1.2em;
    }
``` etcetera...
21 Feb 2009, 10:04 PM
#3
redrob avatar

redrob

New Zenner

Join Date:
May 2008
Location:
UK
Posts:
83
Plugin Contributions:
0

Re: Need help on a bit of cold

I have tried this but nothing changed the site is back online so you can see what I have got at the moment http://www.youtofriends.com

21 Feb 2009, 11:28 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Need help on a bit of cold

You added the properties I gave to your PHP file, not your stylesheet. When added to the stylesheet it works.
However, part of that text is outside of the span, so that will not do the whole job anyway.

Add to your stylesheet.css```
#navMain li {color: #ffffff;}

21 Feb 2009, 11:43 PM
#5
redrob avatar

redrob

New Zenner

Join Date:
May 2008
Location:
UK
Posts:
83
Plugin Contributions:
0

Re: Need help on a bit of cold

Okay that worked now I need to make sure it is in the centre and that the text is in the same size as the rest.