Page 1 of 1

Heading of the NewsPostDetailTitle or {$entry->title} problem?

Posted: Mon Jul 14, 2008 8:09 pm
by mental|plate
I have searched the forum but i havent found my answer.

The problem is like this:
I have a headnig , and i want to use it to style my news title....so a make news summary and detail template put the tag around the titles... I define h4 in my css file.and........It works. but here is the catch, the font size is not displayed right in detail template.
For example i put
font-size: 1.3em;
color: #c3e245;
in my h4 tag, the summary displays the color and size correctly the detail template displays the color but the size of the fonts is not the same.

Does anyone knows what can be fault?

Re: Heading of the NewsPostDetailTitle or {$entry->title} problem?

Posted: Mon Jul 14, 2008 8:31 pm
by Dr.CSS
How did you target the h4 in the summary template?...

Most likely you need to look in the source of the page to see the diff., you may have used the summary in the side or is it in the content i can only guess as there is no link to the page or code from the source or CSS to look at...

But if you used the summary in the side you may have a CSS call for h4 in the main content that is telling it to be a certain size, any ways look at your template there may be a way to target the h4 like #NewsPostDetailTitle {your style}...

Re: Heading of the NewsPostDetailTitle or {$entry->title} problem?

Posted: Mon Jul 14, 2008 8:44 pm
by mental|plate
okay
here is the source from the page where my summary is:

Meho The manĀ 


and here is the source fo the page where the detail is:
Meho The man


i cant seem to understand where the difference is!!

Re: Heading of the NewsPostDetailTitle or {$entry->title} problem?

Posted: Mon Jul 14, 2008 8:46 pm
by Dr.CSS
Where is the CSS?...

Re: Heading of the NewsPostDetailTitle or {$entry->title} problem?

Posted: Mon Jul 14, 2008 9:08 pm
by mental|plate
pardon me..

h4, h4 a, h4 a:visited, h4 a:hover { /*naslov portfolia*/
font-size: 1.3em;
line-height: 1.1em;
color: #c3e245;
}

Re: Heading of the NewsPostDetailTitle or {$entry->title} problem?

Posted: Mon Jul 14, 2008 9:29 pm
by Dr.CSS
I don't know if it's what you wanted but it looks consistent now...

Re: Heading of the NewsPostDetailTitle or {$entry->title} problem?

Posted: Mon Jul 14, 2008 10:07 pm
by mental|plate
Well i have set font size to a larger number do you see the difference now?!