Page 1 of 1

2 questions about comments plugin

Posted: Sat Dec 01, 2007 11:13 am
by holysjit
Hey,
Im using the Andreas08 template and my website = www.thejokersweblog.nl
Ive got two questions:

1. Where can I change the text 'said' in comments? Example: http://www.thejokersweblog.nl/archieven ... ken-2.html
You see: '#1.1 - Holy Sj!t said:' How to change?

2. How can I change the padding top of quotes? There is too much space above the quotebox.
Example:
http://www.thejokersweblog.nl/archieven ... .html#c394

Thanks for ur time.
Holy Sj!t

Re: 2 questions about comments plugin

Posted: Sun Dec 02, 2007 3:49 pm
by garvinhicking
Hi!
1. Where can I change the text 'said' in comments? Example: http://www.thejokersweblog.nl/archieven ... ken-2.html
You see: '#1.1 - Holy Sj!t said:' How to change?
Inside the comments.tpl template file. If andreas08 doesn't have that, you can use the comments.tpl from the default template.
2. How can I change the padding top of quotes? There is too much space above the quotebox.
Example:
http://www.thejokersweblog.nl/archieven ... .html#c394
you can do that with CSS already. Since you do have a lot of CSS-related questions here, it might be the right time now to get yourself more familiar with CSS? :-)

If not, maybe someone here care's to share the actual code :-)

Bestregards,
Garvin

Re: 2 questions about comments plugin

Posted: Sun Dec 02, 2007 6:14 pm
by Don Chambers
holysjit wrote:1. Where can I change the text 'said' in comments? Example: http://www.thejokersweblog.nl/archieven ... ken-2.html
You see: '#1.1 - Holy Sj!t said:' How to change?
Andreas08 uses a custom comments.tpl for comments. It also uses a language constant for the word "said". In English, this is defined in the file lang_en.inc.php within your template folder. This template did not create utf-8 subfolder, or the language file would also be located there, but in utf-8 format. You can edit the word to be anything you want. As an alternative, you can copy the file to lang_nl.inc.php and change everything to Dutch if you want.
2. How can I change the padding top of quotes? There is too much space above the quotebox.
Example:
http://www.thejokersweblog.nl/archieven ... .html#c394
You could add this to your stylesheet:

Code: Select all

.serendipity_comment p{
    padding: 0;
}
But it might affect other parts of your comments that you did not want to change.... play with it, or other css classes within the comments to get what you want.