adding widget code in widget title
-
hii.
i’ve been trying to figure out how to replace the individual widget title to its own different “background-image” and noone seems to be really understand what i was talking about. however, i found this code somewhere in the source:
<div id=”widget_tag_cloud” class=”widget”>
<h4><span>tag cloud</span></h4>that is the code for widget title and i’ve checked the css for it. so, i tried putting that code in the widget title itself on custom widgets page just to test it out, and it didn’t seem to work. so, the question is how do you add that code to the individual widget? the original code for each widget is:
<li id=”text-3″ class=”widget widget_text”><h2 class=”widgettitle”>widget title</h2>
except that “text-3” does actually vary because of the different widgets that the website has, like “text-4” or “text-9” or so on.
is there a php file somewhere in the theme or elsewhere that we have to modify in order to customize each widget title like the first sample above?
thank you.
- The topic ‘adding widget code in widget title’ is closed to new replies.