Support » Fixing WordPress » Style my widget?

  • I’ve added a sidebar widget, but I don’t know how to style it. Please help…

    Here is my sidebar.php:
    <div id=”sidebar”>
    <?php if ( !function_exists(‘dynamic_sidebar’)
    || !dynamic_sidebar() ) : ?>
    <div class=”title”>About</div>
    <p>This is my blog.</p>
    <div class=”title”>Links</div>

    <?php endif; ?>

    Here is my functions.php:
    if ( function_exists(‘register_sidebar’) )
    ‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,
    ‘after_widget’ => ‘</div>’,
    ‘before_title’ => ‘<div class=”title”>’,
    ‘after_title’ => ‘</div>’,

  • The topic ‘Style my widget?’ is closed to new replies.