Archive for the ‘Programing’ Category

Styling the Text Widgets

Posted: July 2, 2013 in Programing
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">
	<li id="text-1"><h3>Widget Title for First Text Widget</h3>
		<div>Text within the text widget area.</div>
	<li id="text-2"><h3>Widget Title for Second Text Widget</h3>
		<div><p>Text for second widget text area.</p></div>

Adding Code to the Text Widget:

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