Archive for the ‘Programing’ Category

Styling the Text Widgets

Posted: July 2, 2013 in Programing
Tags:
Standard image alignment CSS styles such as alignleft, alignright, and aligncenter apply for images:

To specifically style the various default styles of the WordPress Text Widget, use the following example:

<div id="primary">
<ul>
	<li id="text-1"><h3>Widget Title for First Text Widget</h3>
		<div>Text within the text widget area.</div>
	</li>
	<li id="text-2"><h3>Widget Title for Second Text Widget</h3>
		<div><p>Text for second widget text area.</p></div>
	</li>
</ul>
</div>

Adding Code to the Text Widget:

Basic HTML, embeds, and JavaScript are added easily to the WordPress Text Widget.

(more…)