Support » Fixing WordPress » Widget – How To Customize with images?

  • How can I add add background images for the Title and borders around all my widgets?

    I manually create my sidebar for now but would like to modify “widget” code & css once if possible.

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


    Forum Moderator

    look into the
    ‘before_widget’ and ‘after_widget’ parameter of ‘register_sidebar’

    if you could post (or use a pastebin if the code is longer) the code of your manually made ‘widgets’, someone might be able to suggest how to implement the html into the ‘register_sidebar’ parameter.

    a link to your site might help.

    Thanks alchymyth, before and after look promising.

    Here’s an example of my manual NextGEN Gallery box:

    <div class="ampBox">
    <div class="amp11">
    <h3 class="widget-title">
    <?php _e( 'Gallery', 'twentyten' ); ?>
    <div class="ampMe">
    if (function_exists("nggDisplayRecentImages"))
    <div><img src="/wp-content/themes/amp/images/Amp3.gif" alt="ampb" width="224" height="24" /></div>
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Widget – How To Customize with images?’ is closed to new replies.