Hi,
I made a new content type based on story type(named: blogstory). I then copied node.tpl.php and called it node-blogstory.tpl.php . I added a two <div>
tags for formatting the size of the title, I also added a background color to the title and centered the text. I also removed the created time, only leaving the username and date.
The second<div>
tag is used to make the text size larger in the body content area. Now, in IE7 the page loads just fine, the node title is increased in size and it has a background color.
The problem is that in Firefox 2, the node is completely unformatted. I don't think its just a CSS issue because the node creation time is still displayed (i removed the code from node-blogstory.tpl.php), its as though the node override doesn't work for the front page.
added into style.css
.blogstory_title {
background-color: #DDDDDD;
font-size: 22px;
font-family: Verdana;
color: #494949;
text-align:center;
}
.blogstory_content p{
font-size:15px;
}
code from node-blogstory.tpl.php
if ($submitted):
print t('!date — !username', array('!username' => theme('username', $node), '!date' => format_date($node->created, 'custom', "D, d/m/Y")));
endif;