• I’m trying to add round corners and shadows to the top and bottom of my widgets. I tried the following but it doesn’t work ??

    <?php
    if ( function_exists('register_sidebars') )
    register_sidebars(1, array(
    'name'=>'Homepage',
    'before_widget' => '<class="widget_top"></div>',
    'after_widget' => '<class="widget_bottom"></div>',
    ));
    ?>

    widget_top and widget_bottom are the round corners and shadow png’s. Does someone know the correct way to do this?

Viewing 1 replies (of 1 total)
  • Thread Starter nemci7v

    (@nemci7v)

    Nvm I found the solution ??

    'before_widget' => '<div class="top"></div><div id="%1$s" class="widget %2$s">',
            'after_widget' => '</div></div><div class="bottom"></div>',
            'before_title' => '<div class="widget-title"><h3>',
            'after_title' => '</h3></div><div class="widget-content">',
Viewing 1 replies (of 1 total)
  • The topic ‘Styling widget’ is closed to new replies.