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
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 :
margin: 0 0 30px 0;
padding: 0 0 30px 0;
border-bottom: 1px solid #ddd;
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 ?
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.