I'd like to hide the header on my homepage (the <h1 id="pageContentTitle" .. >
element.) I could use some CSS like
#pageContentTitle{ display:none; }
But because my CSS is referenced in the master file, this effects all pages on my site, where I would like to only change one.
I've also considered using some jQuery:
$('#pageContentTitle').filter(function(){
return $(this).find('a:contains(Home)').length;
}).remove();
Which works, but has issues. Firstly the header is displayed momentarily until the JavaScript is executed, secondly this still needs to run on every page which seems like overkill.
I would have thought this would be quite a common desire so was hoping to find an option in the Page Settings but couldn't find anything yet.
Is there a better way of doing this?