Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2008
    Posts
    131
    Plugin Contributions
    0

    Default help: Header changes when Login as a Customer

    When I log is as a customer, in the TOPNAVBAR of my header appears LOG OUT and MY ACCOUNT, and this makes my whole header to shift to the left.

    What do I need to do in order for my header to stay in place?

    Also, I already show MY ACCOUNT in the TOPEZPAGES section, so I don't want for it to appear twice on the header. How can I get rid of the MY ACCOUNT link that appears on the TOPNAVBAR?

    My website is: www.amnyperfumes.com/zen-cart

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: help: Header changes when Login as a Customer

    The code to provide context dependent links is in your common/tpl_header.php file. I suspect taht you must have already made some changes in there to create the permanently showing "my account" link.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Oct 2008
    Posts
    131
    Plugin Contributions
    0

    Default Re: help: Header changes when Login as a Customer

    I had not removed the 'my account' syntax line from tpl_header but now I did and it works. thanks!

    the only thing is that my logo and tagline continue to shift to the right when the 'logout' link appears. why is that??? How can it fix it?

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: help: Header changes when Login as a Customer

    Sincxe I don't have an account at your store, I can't login and see this. but I'm guessing that it's because the extra link takes up space that pushes them to the right.

    If the logout appears where I think it does, then giving your navMainWrapper a proper height (i.e. not 10%) at reflects the height of its content, would push the logo etc, down underneath these links and stop the bobbing about.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Oct 2008
    Posts
    131
    Plugin Contributions
    0

    Default Re: help: Header changes when Login as a Customer

    your advice nailed the problem. it has been fixed! thanks sooo much =)

 

 

Similar Threads

  1. Replies: 3
    Last Post: 9 Jun 2015, 10:36 PM
  2. Replies: 8
    Last Post: 11 Oct 2012, 12:21 AM
  3. Replies: 7
    Last Post: 2 Sep 2010, 11:30 PM
  4. Customer Login 'There was a security error when trying to login'
    By webzuma in forum Managing Customers and Orders
    Replies: 26
    Last Post: 11 Jun 2010, 04:21 PM
  5. Change Flash Header When Category Changes
    By Lawbird123 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Mar 2007, 08:20 AM

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