Remove the ENTIRE header from the home page

More
10 years 7 months ago #39250 by adversace2
I have a simple image I have for my home page (I left it in the rotator), but I changed the page color to white, but I cannot get rid of the header on the home page (ONLY the home page)

dcakesaddiction.com/

I need the header for the secondary pages.
Please help.

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
10 years 7 months ago - 10 years 7 months ago #39310 by milos
You should open file /templates/hot_cosmetics/index.php in your code editor. Then locate this part of code:
Code:
<div class="header_wrap"> <div class="wrap"> <div class="logo"> <jdoc:include type="modules" name="logo" style="xhtml" /> </div> <div class="shopping_cart"> <jdoc:include type="modules" name="top" style="xhtml" /> </div> </div> </div> <div class="topmenu_wrap"> <div class="wrap"> <div class="topmenu"> <jdoc:include type="modules" name="user3" style="none" /> </div> <div class="search_box"> <jdoc:include type="modules" name="user4" style="none" /> </div> </div> </div>

You should add this ABOVE this part:
Code:
<?php $menu = JFactory::getApplication()->getMenu(); $lang =& JFactory::getLanguage(); if($menu->getActive() != $menu->getDefault($lang->getTag())) { ?>

and add this BELOW this part:
Code:
<?php } ?>

This will disable header_wrap and topmenu_wrap containters only from the home page.

Thanks
Last edit: 10 years 7 months ago by milos.
The following user(s) said Thank You: adversace2

Please Log in to join the conversation.

Time to create page: 0.241 seconds
Powered by Kunena Forum