2 questions about comments plugin

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
holysjit
Regular
Posts: 131
Joined: Sun Apr 08, 2007 9:47 am

2 questions about comments plugin

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: 2 questions about comments plugin

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Don Chambers
Regular
Posts: 3659
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: 2 questions about comments plugin

Post 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.
=Don=
Post Reply