Jump to content

content block gets into header zone


Recommended Posts

Hi all.

There's a problem...

div#header includes content block.

And

div#footer gets into div#wrapper.

 

Html template has such structure:

 

<div id="wrapper">
 <div id="header"></div>
 <div id="content"></div>
</div>
<div id="footer"></div>

 

but when I've pasted my html markup in tpl files and viewed the source, I got this

 

<div id="wrapper">
 <div id="header">
	 <div id="content"></div>
 </div>
    <div id="footer"></div>
</div>

 

 

footer.tpl begins with

</div><!-- #content ends -->
<div id="footer"></div>

 

 

I've watched header and footer tpl files of default theme and found there this code

{if !$content_only} {/if}

I tried different ways but everything got failure. Where should I place it?

Thanks for your replies

Edited by anna8097 (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...