PDA

View Full Version : Customising Abstract?


heimdallr
11-11-2007, 12:13 PM
Where can I customise(in css) abstract(summary) of an article? I mean font, font size etc.

Micha
11-12-2007, 08:31 AM
css\style.css

Content styles begins from line 155.

You can add following selector for summary:

.short span.summary {}

sallygreen100
02-28-2009, 07:14 PM
css\style.css

Content styles begins from line 155.

You can add following selector for summary:

.short span.summary {}

Hi,

i just tried and it did not work. any other suggestions?

thanks.

krcko
03-02-2009, 09:13 AM
open {TEMPLATE DIR}/article/default.tpl, around line 45 you should find this code:

<p><strong><vte:value select="{article.get_abstract}" /></strong></p>

just add class you want to the <p>

<p class="summary"><strong><vte:value select="{article.get_abstract}" /></strong></p>

(and you can remove <strong> tags if you don't need 'em)

add this to your style.css:

#article_body .summary {

font-size: 12px;
...
}

sallygreen100
03-02-2009, 10:16 AM
Thank you very much :D - it worked a treat.

open {TEMPLATE DIR}/article/default.tpl, around line 45 you should find this code:

<p><strong><vte:value select="{article.get_abstract}" /></strong></p>

just add class you want to the <p>

<p class="summary"><strong><vte:value select="{article.get_abstract}" /></strong></p>

(and you can remove <strong> tags if you don't need 'em)

add this to your style.css:

#article_body .summary {

font-size: 12px;
...
}