Header only on frontpage

successiv's picture
successiv
Mon, 03/23/2015 - 10:03
#1
Header only on frontpage

Hi,

Could you please advise me how to only show left and right header on frontpage?

Thanks
Jan

cindy's picture
cindy
Tue, 03/24/2015 - 05:36

Hi,

Could you explain more, we are not very clear about your idea

successiv's picture
successiv
Tue, 03/24/2015 - 17:44

the left and right header is shown on every page even project pages  - http://demo.megadrupal.com/d7/md-chulan/node/15 i would like them only to show on the frontpage

cindy's picture
cindy
Tue, 03/24/2015 - 22:43

We understand now, please check your email. We send you the updated file

successiv's picture
successiv
Tue, 03/31/2015 - 14:36

Hi

Thanks - although its the wrong file? I deleted the div="intro" in page--node--%.tpl and page--blog.tpl . Then a minor change in custom.css #blog {
  margin-top: 10px;
}

cindy's picture
cindy
Tue, 03/31/2015 - 23:21

Thank you for your feedback Successiv,

So is the problem solved now?

twoflower29's picture
twoflower29
Sun, 07/12/2015 - 12:03

Hi there,

is it possible that I could get the updated file, too? I also like to show the header only on the frontpage. 

Regards, Nicole

phuonght's picture
phuonght
Mon, 07/13/2015 - 04:07

Twoflower29,

Please go to page--404.tpl.php, page--blog.tpl.php, page--node--%.tpl.php, page--taxonomy--term--%.tpl.php

and delete intro html

from <!--=============== intro ===============-->
to <!--=============== intro end ===============-->

Note: if you still would like in your site, frontpage still has 2-part header, please do not delete intro of header

twoflower29's picture
twoflower29
Tue, 07/14/2015 - 14:59

Thanks fot that - it works :-)

But when I change to this version, I get a "white header" (empty space where the header is before) and as user I have to scroll to read the additional text. Actually I hoped, this change will increase the usabilty in order to no more scrolling will be required. So I guess I will test which version works better for me.

phuonght's picture
phuonght
Tue, 07/14/2015 - 23:56

In this situation, we think you can try this way:

1, Delete intro html as above

2, In those file, change  <div id="wrapper"> into <div class="no_intro">

3, Add the following code into file sites/all/themes/md_chulan/css/front/style.css:

#wrapper.no_intro{
 position: static;
}

twoflower29's picture
twoflower29
Wed, 07/15/2015 - 09:54

Great - that works for me. Thank you!

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.