Sidebar Widget – Positioning Problems – The Solution
-
Hi Alex, Im widget.php file is ne laus drin oder sonst ein bug. Das widget wird autmatisch ins linke obere eck platziert. Verantwortlich dafuer ist ein style, den du wohl nicht eingebaut hast im sylesheet. ersetzte class= ngg_sidebar widget durch class= sidebar und alles wird gut. S laesst sich durch den erzwungenen (leeren) div befehl das widget nicht mehr steuern. Und weil ich schon mal hier bin, vielen dank fuer die viele arbeit. Noch was am rande in NextGen ImageFlow ist auch der wurm drin. Nach dem upgrade auf 1.31 kann man wordpress nicht mehr automatisch updaten. oups... Gruss George Hier noch der code von widget.php zum einfachen wiedrfinden.$title = apply_filters(‘widget_title’, empty( $instance[‘title’] ) ? __(‘Slideshow’, ‘nggallery’) : $instance[‘title’], $instance, $this->id_base);
$out = $this->render_slideshow($instance[‘galleryid’] , $instance[‘width’] , $instance[‘height’]);
if ( !empty( $out ) ) {
echo $before_widget;
if ( $title)
echo $before_title . $title . $after_title;
?>
<div class=”slideshow”>
<?php echo $out; ?>
</div>
<?php
echo $after_widget;
}`
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Sidebar Widget – Positioning Problems – The Solution’ is closed to new replies.