Width of buttons 'shoutbox' and 'categories'

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
nyantyra

Width of buttons 'shoutbox' and 'categories'

Post by nyantyra »

Does anybody know how to adjust the width of the buttons that are use with the plugins 'shoutbox' and 'categories'. As you can see (http://www.nyantyra.nl), the buttons are to big for my template, so I was wondering wether it is possible to resize them. I hope someone can help me!

Thanks in advance!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Width of buttons 'shoutbox' and 'categories'

Post by garvinhicking »

Put this in your style.css:

Code: Select all

.serendipity_categories_plugin input {
  width: 60px;
}

.serendipity_plugin_shoutbox_plugin input {
  width: 60px;
}
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/
nyantyra

Post by nyantyra »

Thanks! It was not the final solution, but it helped me find it. In my style.css I had:

.serendipitySideBarContent input {
width: 175px;
}

This was the reason why the buttons were so big, but I didn't see it before. The problem is solved now, since I adjusted this width.
Post Reply