Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi,
I want to be able to hide the page title on my front page using my Fusion subtheme.
I saw this:
http://www.drupalace.com/blog_entry_trick_bin_hiding_node_title_2007_07_03
But I don't see how this would work with Fusion. Is there another way to do this?
Would display:none be the answer using css instead?
Thanks!
Comments
Comment #1
jeremycaldwell CreditAttribution: jeremycaldwell commentedHi lejon, you can use CSS to do a "display: none;" for the h1.title on the front page like this: ".front h1.title { display: none; }". Or you can copy the "page.tpl.php" from the Fusion Core theme folder and into your sub theme's folder and make changes to it there. Once you have added the "page.tpl.php" to your sub theme's folder be sure to clear the cache on your Performance page so it reloads the theme's files and picks up the new "page.tpl.php" file. Now you can edit it like the link you provided above and it should hide the title for you.
Comment #2
jeremycaldwell CreditAttribution: jeremycaldwell commentedAlso something like this will work in your "page.tpl.php". It will hide the title from the front page yet show it on every other page.
Comment #3
lejon CreditAttribution: lejon commentedthanks, i'll go for display:none!