Results 1 to 5 of 5
  1. #1
    Join Date
    May 2014
    Location
    Charleston, West Virginia, United States
    Posts
    20
    Plugin Contributions
    0

    Default Problems formating Cart Contents in Header

    I am very new to Zen Cart, I'm using it on my first site. I used the addon Cart Summary Sidebox and chose to display the summary in the header. I modified the stylesheet as follows:

    #navMainCartSummary {
    float:right;
    width: 30%;
    margin-top: 0.5em;
    padding:20px;
    text-align:right;
    }

    #headerCartContents {
    float:right;
    width: 30%;
    margin-top: 0.5em;
    text-align:right;
    }

    I wanted the cart summary and links to appear in the header on the right hand side. The cart contents displays correctly, but the links "shopping cart" and "checkout" display on the left over the site logo. I can't find where those links are configured and how to get them to move over to the left with the cart summary. I also want to change the css for the colors of the links, but can't find that either! HELP!

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

    Default Re: Problems formating Cart Contents in Header

    Seeing your site live will let us quickly give the correct advice, instead of guessing.

  3. #3
    Join Date
    May 2014
    Location
    Charleston, West Virginia, United States
    Posts
    20
    Plugin Contributions
    0

    Default Re: Problems formating Cart Contents in Header

    Its still in testing with no live links yet. You only see the cart summary if you have something in your cart:
    http://www.healthyrestmattress.com/shop/

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

    Default Re: Problems formating Cart Contents in Header

    Those shopping cart and checkout links are part of the stock Zen Cart header nav, not connected with the cart summary. You have styled the rest of the header nav links at the top of the page, but these are left over. Your best bet would be to move the cart/checkout links and their containing <li> and controlling code from tpl_header.php to the cart summary file, inside the #navMainCartSummary div (and with a new <ul> </ul> wrapper so the <li> are properly formatted).

  5. #5
    Join Date
    May 2014
    Location
    Charleston, West Virginia, United States
    Posts
    20
    Plugin Contributions
    0

    Default Re: Problems formating Cart Contents in Header

    Ah-hah!
    It all becomes clear. Thanks so much!

 

 

Similar Threads

  1. Shopping Cart Contents Problems
    By JorgeR in forum General Questions
    Replies: 1
    Last Post: 12 Aug 2010, 10:37 PM
  2. Shopping Cart Header and contents display problem
    By fastdc5 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 17 Feb 2009, 10:20 PM
  3. CentreBox Contents Formating
    By leest003 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 13 Nov 2008, 01:45 PM
  4. Forum integration to show cart contents in forum header
    By Astigor in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 1 Nov 2006, 06:39 PM

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