Changing quote-style in comments

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
Hokey
Regular
Posts: 141
Joined: Wed Dec 14, 2005 3:36 pm
Location: Germany
Contact:

Changing quote-style in comments

Post by Hokey »

Hi out there!

I really dislike the style of quotes in comments. You know, these grey boxes with C64-like fonts. But I don't know where to change the css for this? Has anyone a hint for me?

Hokey
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Check the style.css for serendipity_comment. It (or something like it) should have the styles you want to change.

You'll find the file in the templates/ directory, under a directory for the template you're using. If you're using the default Serendipity template, it's in default/.
Judebert
---
Website | Wishlist | PayPal
Hokey
Regular
Posts: 141
Joined: Wed Dec 14, 2005 3:36 pm
Location: Germany
Contact:

Post by Hokey »

I'm very sorry, but I can't find the parameters in the style.css. It looks the same for all templates I choosed.

Like this:
Image
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

You must look for a CSS definition to the "blockquote" element. This is responsible for it.

You might be using the "layout: quote markup" plugin? Because this is emitting the styles. You can either override them in your style.css, or uninstall the plugin and take care of your own CSS markupt for that.

Best regards,
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/
costa
Regular
Posts: 110
Joined: Wed Feb 08, 2006 5:29 pm
Location: Poland
Contact:

Post by costa »

i think hokey is using bbcode plugin. it gave me just the same ugly effects. the solution is simple.

hokey, edit your theme's style.css file and add these two style declarations:

Code: Select all

.bb-code-title {
   put your style definitions here, it's a container
   holding all quote stuff
}
.bb-code {
   it's a definition of quoted stuff. style it as you like.
   for example you can put something like that:
      font-style: italic;
}
it works just fine for my template. i wanted to show you a working example but something's with my server right now :/
"everything is under control" - kasparov demo
Hokey
Regular
Posts: 141
Joined: Wed Dec 14, 2005 3:36 pm
Location: Germany
Contact:

Post by Hokey »

@costa

That's it! Thanks to all for your help! :wink:
Post Reply