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

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
mental|plate
Forum Members
Forum Members
Posts: 11
Joined: Mon Sep 17, 2007 8:23 pm

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

Post 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?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post 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}...
mental|plate
Forum Members
Forum Members
Posts: 11
Joined: Mon Sep 17, 2007 8:23 pm

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

Post 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!!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post by Dr.CSS »

Where is the CSS?...
mental|plate
Forum Members
Forum Members
Posts: 11
Joined: Mon Sep 17, 2007 8:23 pm

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

Post 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;
}
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post by Dr.CSS »

I don't know if it's what you wanted but it looks consistent now...
mental|plate
Forum Members
Forum Members
Posts: 11
Joined: Mon Sep 17, 2007 8:23 pm

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

Post by mental|plate »

Well i have set font size to a larger number do you see the difference now?!
Post Reply

Return to “Layout and Design (CSS & HTML)”