Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Add a footer image to my sidebar widget

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #39910
    sb0n
    Member

    Hello,

    I’m trying to add a footer image to my sidebar widget (It has to match with the background color of the widget so I can’t just add my image as a background).

    In the functions.php file I currently have :


    register_sidebar( array (
    'name' => __( 'Sidebar 2', 'yoko' ),
    'id' => 'sidebar-2',
    'description' => __( 'An second sidebar area', 'yoko' ),
    'before_widget' => '",
    'before_title' => '

    ',
    'after_title' => '

    ',
    ) );

    In the style.css I have :


    aside.widget {
    margin: 0 0 30px 0;
    padding: 0 0 30px 0;
    font-size: .8em;
    border-bottom: 1px solid #ddd;
    background-color: #eeeeee;
    padding: 10px;
    }

    But I'm trying to change both files to be able to change from that that sidebar to that one.

    Someone told me to add an extra span or div to the 'after_widget' parameter; then style that with your background image, but I have no clue how to do that..?

    Can someone help me ?

    Thanks !

    #110381
    Paulie_D
    Member

    Please don’t bump items just because you haven’t had a response.

    We’ll get round to it…if we can…and we have the time / inclination.

    #110391
    sb0n
    Member

    Ok, sorry.
    Thanks !

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Back End’ is closed to new topics and replies.