- Posts: 7
- Thank you received: 0
Remove the ENTIRE header from the home page
-
adversace2
Inactive member - Topic Author
- New Member
Less
More
10 years 7 months ago #39250
by adversace2
Remove the ENTIRE header from the home page was created 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.
dcakesaddiction.com/
I need the header for the secondary pages.
Please help.
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6742
- Thank you received: 715
10 years 7 months ago - 10 years 7 months ago #39310
by milos
Replied by milos on topic Remove the ENTIRE header from the home page
You should open file /templates/hot_cosmetics/index.php in your code editor. Then locate this part of code:
You should add this ABOVE this part:
and add this BELOW this part:
This will disable header_wrap and topmenu_wrap containters only from the home page.
Thanks
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