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

Header pushing head.tpl down behind body content

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-25-2013, 12:57 PM
 
andrewmattress andrewmattress is offline
 

Advanced Member
  
Join Date: Feb 2013
Posts: 39
 

Default Header pushing head.tpl down behind body content

A while ago, we added a floating div to the bottom right corner of MattressInsider.com.

We did this by creating a new class and then assigning that class to the div so that the bottom left corner McAfee image will load there.

All's well until we try to add a header image to promote a discount.

Anything we add pushes the head.tpl content down the page.

Here's the code I'm adding...
<div id="header">
<!-- START MATTRESS DISCOUNT BANNER -->
<img src="http://www.mattressinsider.com/images/halloween-banner-2013.gif">
<!-- END DISCOUNT BANNER -->
<div class="header-content">

It pushes head.tpl behind the rest of the body.

I've tried it in it's own DIV, I've tried it in a table, I've put it above div id="header", put it below div class ="header-content" and all still pushes head.tpl behind the rest of the body.

Please let me know.

Thank you!



How/where do I go to fix this?

In case it's relevant, here's the code for the McAfee logo in the bottom right.



------------------------

<!-- START SCANALERT BOTTOM RIGHT CODE -->
<div class="overlay"><img src="http://www.mattressinsider.com/images/mattress-insider-bottom-right-cut-corner.png" class="overlay">
<a target="_blank" href="
__________________
JK
X-Cart version 4.7
We have about lots of add-on modules.
Reply With Quote
  #2  
Old 10-25-2013, 01:04 PM
 
andrewmattress andrewmattress is offline
 

Advanced Member
  
Join Date: Feb 2013
Posts: 39
 

Default Re: Header pushing head.tpl down behind body content

Never mind... figured it out!

__________________
JK
X-Cart version 4.7
We have about lots of add-on modules.
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 04:05 AM.

   

 
X-Cart forums © 2001-2020