Kann ich in der Shoutbox eine scrollleiste einbauen?
Kann ich in der Shoutbox eine scrollleiste einbauen?
Mein Problem ist dass die posts in der Shoutbox zum einen recht weit auseinander stehen und dass die immer länger wird. Kann man die nicht so einstellen dass die box nur in einer bestimmte Anzahl/Höhe angezeigt wird und der Rest unter einem Scrollbalken "verschwindet?" Oder gibt es da einen andern plugin der besser einstellbar ist?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Kann ich in der Shoutbox eine scrollleiste einbauen?
Hi!
Klaro, kann man per CSS regeln, und "overflow"/"width"/"Height" Eigenschaften.
Wenn Du uns noch deine URL verrätst könnten wir da evtl. eine Empfehlung geben wie das CSS konkret auszusehen hat.
Grüße,
Garvin
Klaro, kann man per CSS regeln, und "overflow"/"width"/"Height" Eigenschaften.
Wenn Du uns noch deine URL verrätst könnten wir da evtl. eine Empfehlung geben wie das CSS konkret auszusehen hat.
Grüße,
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/
# 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/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Kann ich in der Shoutbox eine scrollleiste einbauen?
Hi!.
Ah, http://rlcsbestside.de/ ist es wohl.
Leider setzt Du als Vorlage das WP-Theme ein. Das gibt keine CSS-Ausgabe für die Shoutbox in der sidebar.tpl mit aus, so dass Du das Seitenleistenelement nicht separat stylen kanst.
Daher musst du als erstes die sidebar.tpl ändern in:
Dann kannst Du dieses CSS nutzen:
HTH,
Garvin
Ah, http://rlcsbestside.de/ ist es wohl.
Leider setzt Du als Vorlage das WP-Theme ein. Das gibt keine CSS-Ausgabe für die Shoutbox in der sidebar.tpl mit aus, so dass Du das Seitenleistenelement nicht separat stylen kanst.
Daher musst du als erstes die sidebar.tpl ändern in:
Code: Select all
<ul>
{foreach from=$plugindata item=item}
<li class="container_{$item.class}">
{if $item.title != ""}<h2>{$item.title}</h2>{/if}
{$item.content}
</li>
{/foreach}
</ul>
Code: Select all
.container_serendipity_plugin_shoutbox {
height: 100px;
overflow: scroll;
}
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/
# 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/
Danke, funktioniert wunderbar. Kann ich aber eventuell noch den unteren Scrollbalken irgendwie wegbekommen. Was zum scrollen gibt´s da ja eh nicht.
siehe http://www.ayasuki.com/
siehe http://www.ayasuki.com/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Probier mal "overflow: auto", evtl. klappt das.
Grüße,
Garvin
Probier mal "overflow: auto", evtl. klappt das.
Grüße,
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/
# 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/