I am setting up my first WordPress site and I have managed to screw something up.
Basically I have set up a WordPress website on my server, and I am making it look like the main website. One of the 'features' on the site is that all the widgets have an image (paperclip) and a background colour (here's a screenshot).
This is achieved by using the following img and div tags:
<img class="paperclip" src="link" alt="paperclip" /> <div class="sidebar"> <!-- widget code--> </div>
I managed to add this styling to the widgets in WordPress before by adding the img and div tags in front of every widget within sidebar.php of my theme (see below):
<img class="paperclip" src="link" alt="paperclip" /> <div class="sidebar"> <li id="search" class="widget-container widget_search" style="list-style:none;"> <?php get_search_form(); ?> </li> </div>
My hard drive then stopped working and I had to re-install WordPress and stuff. The problem I'm having now is that I can't seem to add the styling to the widgets like I did before.
Before my hardware failed, I was using WordPress 3.3.1. Now I'm using the latest 3.4 version. I don't think there's a problem with the version of wordpress I'm using because I even tried installing the old version and making the same changes.
Luckily I had the whole WordPress folder backed up on my system (just before hhd crashed), so I tried uploading the files, but the widgets still don't appear like before.
So what am I missing? Or what would you suggest I do to add the same styling to the widgets in wordpress?
Your help is much appreciated. Thanks.