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?
Heading of the NewsPostDetailTitle or {$entry->title} problem?
-
mental|plate
- Forum Members

- Posts: 11
- Joined: Mon Sep 17, 2007 8:23 pm
Re: Heading of the NewsPostDetailTitle or {$entry->title} problem?
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}...
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}...
-
mental|plate
- Forum Members

- Posts: 11
- Joined: Mon Sep 17, 2007 8:23 pm
Re: Heading of the NewsPostDetailTitle or {$entry->title} problem?
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!!
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?
Where is the CSS?...
-
mental|plate
- Forum Members

- Posts: 11
- Joined: Mon Sep 17, 2007 8:23 pm
Re: Heading of the NewsPostDetailTitle or {$entry->title} problem?
pardon me..
h4, h4 a, h4 a:visited, h4 a:hover { /*naslov portfolia*/
font-size: 1.3em;
line-height: 1.1em;
color: #c3e245;
}
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?
I don't know if it's what you wanted but it looks consistent now...
-
mental|plate
- Forum Members

- Posts: 11
- Joined: Mon Sep 17, 2007 8:23 pm
Re: Heading of the NewsPostDetailTitle or {$entry->title} problem?
Well i have set font size to a larger number do you see the difference now?!

