Results 1 to 5 of 5
  1. #1
    Join Date
    May 2008
    Location
    UK
    Posts
    85
    Plugin Contributions
    0

    Default 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

    Code:
    <li>My Cart: <span class="style1">
    	<?php echo sizeof($_SESSION['cart']->get_products()); ?> &nbsp;items&nbsp;&nbsp;
     	<?php $header_cart = $currencies->format($_SESSION['cart']->show_total());  
    	echo $header_cart;
    	?>
    </span>
    <br class="clearBoth" />
    </li>

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default 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.
    Code:
    .style1 {
        color: #aabbcc;
        font-size: 1.2em;
        }
    etcetera...

  3. #3
    Join Date
    May 2008
    Location
    UK
    Posts
    85
    Plugin Contributions
    0

    Default 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

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default 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
    Code:
    #navMain li {color: #ffffff;}

  5. #5
    Join Date
    May 2008
    Location
    UK
    Posts
    85
    Plugin Contributions
    0

    Default 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.

 

 

Similar Threads

  1. v151 need help to find a little bit of code.
    By Nixe in forum General Questions
    Replies: 2
    Last Post: 19 Mar 2013, 01:58 PM
  2. Help, i need help finding this bit of code
    By dbj-media in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 9 Apr 2009, 01:33 AM
  3. Almost done, need a bit of help
    By yd29999 in forum General Questions
    Replies: 1
    Last Post: 16 Dec 2008, 01:07 PM
  4. Editing function- Need a bit of help
    By Amp in forum Templates, Stylesheets, Page Layout
    Replies: 21
    Last Post: 22 Feb 2008, 12:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR