Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: BP 1.2 – removing custom image header code in child theme did not work


michaelmarian
Participant

@michaelmarian

I used this successfully as well. Thanks!

I have a slightly different need. I got rid of the header and have my own, but on my home page I have a larger header area then on all other pages. I solved this by php code by detecting if on the home page:

<?php if( bp_is_front_page() ){ ?>

<link rel=’stylesheet’ href=’wp-content/themes/coffeehouse/large-masthead.css’ type=’text/css’ media=’screen’ />

<?php } ?>

I can also do this for other pages by determining the slug such as Blogs.

How do I do the same for the child pages of the Members area? Is that a different directory? I tried using the template tags without success.

Skip to toolbar