• 0
Sign in to follow this  
Followers 0

Delete Masthead from just one page (home)


Question

Posted · Report post

I like to remove the masthead from the homepage of my site and have it on all other pages. Any ideas on how to do this?

 

Thanks

Share this post


Link to post
Share on other sites

1 answer to this question

  • 0

Posted · Report post

HI alishabird

You can add to "Custome Code" something like

 

.page-id-660  .masthead  {display: none; }

or

.home .masthead  {display: none; }

 

 

My exemplary code is not necessarily applicable as written, to your site, so please adjust accordingly.

 

If you also wish to know how I find the page ID, all you need to do is load up FireBug or Google Chromes web dev tool and inspect your page html, at the top you should see body which has a number of classes assigned to it, one of these is page-id-XX (replace XX with your pages id value. I have added a Danny´s screenshot to assist you.

 

http://screencast.com/t/HOsjhjnUIYX 

1 person likes this

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
Sign in to follow this  
Followers 0