Jump to content

remove header and footer from checkout and authentification pages


adenizi
 Share

Recommended Posts

Hi! how can i remove the header and the footer from specific pages, in my case the checkout and sign up pages?

 

I tried to add this in footer.tpl but didnt work

 

{if $page_name != 'order'} 
<!-- Header -->
<div id="header" class="header-container">
</div>
{/if} 
 
 

thanks

Edited by adenizi (see edit history)
  • Like 1

Share this post


Link to post
Share on other sites

First you try to hide the header on the footer.tpl the header is already show it

 

You can do it in many ways, the easy way for me is with css

 

Checkout each page have a id for example order has id="order" just add to the css

 

#order .header-container {

 

display:none;

}

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More