Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

View Cart Page Layout Chaos: footer shows up within Header div

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-09-2010, 10:21 PM
 
astromax astromax is offline
 

Newbie
  
Join Date: Nov 2009
Location: Malaysia
Posts: 6
 

Default View Cart Page Layout Chaos: footer shows up within Header div

Hi Everyone,

My problem is in View Cart page (once product is added), footer shows up within header div. I've checked using Firebug and it shows that my #footer resides inside header div. However, when I checked head.tpl, footer div was clearly coded outside #header div.

To replicate problem, please add any product into the shopping cart and click "View Cart" on the "Your Cart" menu on the right.
The View Cart layout is perfectly fine if the cart is empty.



I ran out of options and can't think where the solution is. I would very much appreciate a fellow X Cart owners' advice.

I made some basic customization to my header design.

Thanking in advance.
__________________
Vijay
www.perfumehall.com
X Cart Gold 4.2.3
Reply With Quote
  #2  
Old 10-10-2010, 08:34 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: View Cart Page Layout Chaos: footer shows up within Header div

You have an unclossed <div> tag for the header which causes this. From the cart page source code
Line 344, Column 7: end tag for "div" omitted, but OMITTAG NO was specified

Check the templates
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 10-11-2010, 05:07 AM
 
astromax astromax is offline
 

Newbie
  
Join Date: Nov 2009
Location: Malaysia
Posts: 6
 

Default Re: View Cart Page Layout Chaos: footer shows up within Header div

Hi Steve,

Thank you very much for the solution. I managed to correct the problem based on your advice.

Best wishes.
__________________
Vijay
www.perfumehall.com
X Cart Gold 4.2.3
Reply With Quote
  #4  
Old 10-17-2010, 01:30 AM
 
BBM_ BBM_ is offline
 

X-Adept
  
Join Date: May 2010
Location: Australia
Posts: 595
 

Default Re: View Cart Page Layout Chaos: footer shows up within Header div

Quote:
Originally Posted by cflsystems
You have an unclossed <div> tag for the header which causes this. From the cart page source code
Line 344, Column 7: end tag for "div" omitted, but OMITTAG NO was specified

Check the templates

I seem to have generated the same problem, however can I ask what you are using to edit the code as it gives such an exact reference (i.e Line 344, Column 7).

I'm trying to find the missing div without much luck.
__________________
Multiple instances of X-cart
Reply With Quote
  #5  
Old 10-17-2010, 08:56 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: View Cart Page Layout Chaos: footer shows up within Header div

validate the page at validator.w3.org - it will tell you exactly what's where for all errors
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
BBM_ (10-18-2010)
  #6  
Old 10-18-2010, 06:06 AM
 
BBM_ BBM_ is offline
 

X-Adept
  
Join Date: May 2010
Location: Australia
Posts: 595
 

Default Re: View Cart Page Layout Chaos: footer shows up within Header div

Hi Steve,

Many thanks for your assistance, Whilst I found the validator a little confusing at first, some exploring with the templates enabled me to fix the problem.

Thanks again for sharing your time.
__________________
Multiple instances of X-cart
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:22 PM.

   

 
X-Cart forums © 2001-2020