<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>Yakezie.com - Topic: Code snippet for yoooooou</title>
	<link>https://yakezie.com/forums/bloggers-lair/code-snippet-for-yoooooou/</link>
	<description><![CDATA[Selflessly Helping Others]]></description>
	<generator>Simple:Press Version 4.5.1</generator>
	<atom:link href="https://yakezie.com/forums/?bloggers-lair&#038;code-snippet-for-yoooooou&#038;xfeed=topic" rel="self" type="application/rss+xml" />
<item>
	<title>Jenny @ FrugalGuruGuide on Code snippet for yoooooou</title>
	<link>https://yakezie.com/forums/bloggers-lair/code-snippet-for-yoooooou/#p95072</link>
	<category>Bloggers Lair</category>
	<guid isPermaLink="true">https://yakezie.com/forums/bloggers-lair/code-snippet-for-yoooooou/#p95072</guid>
	<description><![CDATA[<p>Oh, BTW, the &#60;b&#62; wasn&#039;t necessary at all.  Ooops.</p>
]]></description>
	<pubDate>Thu, 01 Aug 2013 08:15:08 +0000</pubDate>
</item>
<item>
	<title>Jenny @ FrugalGuruGuide on Code snippet for yoooooou</title>
	<link>https://yakezie.com/forums/bloggers-lair/code-snippet-for-yoooooou/#p95071</link>
	<category>Bloggers Lair</category>
	<guid isPermaLink="true">https://yakezie.com/forums/bloggers-lair/code-snippet-for-yoooooou/#p95071</guid>
	<description><![CDATA[<p>I want to have my main menu&#039;s items&#039; individual widths constrained.  You can&#039;t do that with using CSS styling on the li&#039;s directly because they&#039;re inline-level elements (hear me scream), so I figured out how to wrap each link element with a div.  Using CSS, you can then set the divs to inline-block and give the widths.  Here&#039;s the snippet that grabs all the links inside an li that are dynamically generated by wordpress and wraps them in divs that plays nicely with WP.</p>
<p> </p>
<pre>jQuery.noConflict();
function wrapLists(){
jQuery(&#039;li a&#039;).wrap(&#039;&#60;b&#62;&#60;div class="list-item"&#62;&#60;/div&#62;&#60;/b&#62;&#039;);
}
window.onload=wrapLists;</pre>
<pre> </pre>
<pre>:)</pre>
]]></description>
	<pubDate>Thu, 01 Aug 2013 08:14:05 +0000</pubDate>
</item>
</channel>
</rss>
<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/


Served from: yakezie.com @ 2026-05-21 20:10:31 by W3 Total Cache
-->