• I’m trying to use divs in my widgets in the functions.php file, but they do not work.

    This is what I’m using:

    register_sidebar(array('name'=>'Home - Above Left Center',
    	'before_widget' => '<br><div style="padding-left:10px; padding-right:10px;"',
    	'after_widget' => '</div><br>',
    	'before_title' => '<div class="widgettitle">"',
    	'after_title' => '</div>'));

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • what is the result of ‘they do not work’?

    can you post a link to your site, where this can be seen?

    Thread Starter HorrorUK

    (@horroruk)

    ok, that’s weird, I have come back to it and it is working.

    Before it seemed to just bypass whatever was written there, but now it doesn’t :/

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Using divs for widgets in functions.php not working’ is closed to new replies.