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' => '',
) );
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 !