Hi Folks, This is probably a strange request but here goes... A long time ago when developing a D6 site I wanted to hide the node titles. Now, months later I want to use them again but for the life of me I can't find how I removed them. When using Firebug I don't see any "display: none" so I don't think I did it with CSS. I have checked the page.tpl.php and node.tpl.php files and they both have the title code. I am using a sub theme of Marinelli called Giordani so I've checked those files in both folders.

Any idea how I can find out what it keeping the "title" from displaying? If it helps, here's a link to a test node that has a title but won't show it.

http://www.ptrehabflorida.com/node/27

Thank you for reading!

Comments

nevets’s picture

A couple of things to check, look at page.tpl.php where it prints $title and/or look in template.php for hook_preprocess_page() [hook would be the theme name] and see if it unsets the title variable.

jburnard’s picture

Hi Nevets, thanks again for your help. I checked the page.tpl.php files in both the marinelli folder as well as the sub folder of giordani and it seems to be there. I looked in the template file and I see "title" referred to but something about "compact mode" so I didn't' think that was my issue. I just installed the devel module to see if that could pinpoint what was hiding it but no such luck. Not sure where to look at this point... strange.

nevets’s picture

What does the code look like that refers to "compact mode" and "title"?

jburnard’s picture

I had to step away from my computer for a bit but before I did, by using the developer add-on from Firefox I disabled the CSS for the page and the title showed up. The page was a mess of course but it was there. Wouldn't that mean that somewhere in one of the sheets it's definitely CSS causing the issue?

technicalknockout’s picture

Quick fix is delete display:none in your typography.css file at line 129:

#primary .singlepage h1{font-size:2.1em;line-height:1.2em;display:none;}

Though there may be something else misconfigured in the theme.. like it's expecting to display the node title in the page.tpl.php file or something

- - turpana.com - -

jburnard’s picture

I think that did it! What's strange is when I disabled the typography.css file in my browser it didn't show the title but when I removed the display:none it's back. Thank you both for your thoughts and help. Very much appreciated!