Forum Replies Created

Viewing 1 replies (of 1 total)
  • Forum: Fixing WordPress
    In reply to: Style a widget
    Thread Starter dimerbox

    (@dimerbox)

    Thank you very much for the provided information!

    For anybody looking for a simple answer on “how to style your widgets”

    Here is the basic I’ve figured out

    In your theme functions.php

    Your looking for one of the many bars that control the widget area

    register_sidebar( array(
    		'name' => __( 'Primary Widget Area', 'twentyten' ),
    		'id' => 'primary-widget-area',
    		'description' => __( 'The primary widget area', 'twentyten' ),
    		'before_widget' => <strong>'<div id="widget_test">'</strong>,'<li id="%1$s" class="widget-container %2$s">',
    		'after_widget' => '</li>',
    		'before_title' => '<h3 class="widget-title">',
    		'after_title' => '</h3>',<strong>'</div>'</strong>
    	) );

    What I’ve added
    <div id=”widget_test”>’
    ‘</div>’

    Thanks again alchymyth for the help!

    Daryl

Viewing 1 replies (of 1 total)