<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>style &#8211; Thesis Docs</title>
	<atom:link href="https://diythemes.com/thesis/rtfm/tag/style/feed/" rel="self" type="application/rss+xml" />
	<link>https://diythemes.com/thesis/rtfm</link>
	<description>Documentation, How-tos, and Best Practices for the Thesis WordPress Theme System</description>
	<lastBuildDate>Wed, 08 Nov 2017 15:25:21 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.1</generator>
	<item>
		<title>Conditional CSS for IE</title>
		<link>https://diythemes.com/thesis/rtfm/conditional-css-for-ie/</link>
		
		<dc:creator><![CDATA[Shelley]]></dc:creator>
		<pubDate>Tue, 17 Nov 2009 15:38:37 +0000</pubDate>
				<category><![CDATA[Thesis 1 Documentation]]></category>
		<category><![CDATA[body]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[head]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[ie7]]></category>
		<category><![CDATA[ie8]]></category>
		<category><![CDATA[style]]></category>
		<category><![CDATA[stylesheet]]></category>
		<guid isPermaLink="false">https://diythemes.com/answers/?p=539</guid>

					<description><![CDATA[Two methods for applying IE-specific styles.
<ul>
<li>Add Custom Classes to the Body Tag</li>
<li>Add a Custom IE Stylesheet to Head Section</li>
</ul>]]></description>
										<content:encoded><![CDATA[<p>Two methods for applying IE-specific styles.</p>
<h3 id="body_classes">Add Custom Classes to the Body Tag <a href="#body_classes" title="Link to this section">∞</a></h3>
<p>Place this code in <code>custom_functions.php</code>:</p>
<pre class="php">
function add_ie_classes($classes) {
  $browser = $_SERVER['HTTP_USER_AGENT'];
  if (preg_match(&quot;/MSIE/&quot;, $browser)) {
  $classes[] .= 'ie';
    if (preg_match(&quot;/MSIE 6.0/&quot;, $browser))
	  $classes[] .= 'ie6';
    elseif (preg_match(&quot;/MSIE 7.0/&quot;, $browser))
	  $classes[] .= 'ie7';
    elseif (preg_match(&quot;/MSIE 8.0/&quot;, $browser))
	  $classes[] .= 'ie8';
  }
  return $classes;
}

add_filter('thesis_body_classes', 'add_ie_classes');
</pre>
<p>Note that if you&#8217;re using caching plugins, this method may not be ideal.</p>
<h3 id="head_styles">Add a Custom IE Stylesheet to Head Section <a href="#head_styles" title="Link to this section">∞</a></h3>
<p>Create a stylesheet (named <code>iestyles.css</code> in this example) in your Thesis custom folder to hold your IE-only styles; and then place this code in <code>custom_functions.php</code>:</p>
<pre class="php">
function add_ie_css() {
  $sheet = get_bloginfo('template_url') . '/custom/iestyles.css';
  echo &quot;\n&quot;;
  echo '&lt;!--[if lte IE 8]&gt;&lt;link rel=&quot;stylesheet&quot; href=&quot;' . $sheet . '&quot; type=&quot;text/css&quot; media=&quot;screen, projection&quot; /&gt;&lt;![endif]--&gt;';
}

add_action('wp_head','add_ie_css');
</pre>
<p>Note: By placing <code>iestyles.css</code> in the custom folder, it will also become editable using the Thesis Custom File Editor.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Style Footer Text and Links</title>
		<link>https://diythemes.com/thesis/rtfm/style-footer-text-links/</link>
		
		<dc:creator><![CDATA[Shelley]]></dc:creator>
		<pubDate>Mon, 04 May 2009 12:28:04 +0000</pubDate>
				<category><![CDATA[Thesis 1 Documentation]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[style]]></category>
		<guid isPermaLink="false">https://diythemes.com/answers/?p=210</guid>

					<description><![CDATA[How to style your footer text and links.]]></description>
										<content:encoded><![CDATA[<p>Place this code in <code>custom.css</code>, then change to your preferences:</p>
<pre class="css">
/* Customize Footer Text */
.custom #footer {
color: #888888;
text-align: right;
}

/* Customize Footer Links */

.custom #footer a {
border-bottom: 1px solid #CCCCCC;
color: #888888;
}

.custom #footer a:hover {
color: #111111;
}
</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Style Nav Menu Tabs</title>
		<link>https://diythemes.com/thesis/rtfm/style-nav-menu-tabs/</link>
		
		<dc:creator><![CDATA[Shelley]]></dc:creator>
		<pubDate>Mon, 20 Apr 2009 18:02:14 +0000</pubDate>
				<category><![CDATA[Thesis 1 Documentation]]></category>
		<category><![CDATA[borders]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[style]]></category>
		<category><![CDATA[tabs]]></category>
		<category><![CDATA[underline]]></category>
		<category><![CDATA[uppercase]]></category>
		<guid isPermaLink="false">https://diythemes.com/answers/?p=103</guid>

					<description><![CDATA[<ul>
<li>Change Color of All Menu Tabs</li>
<li>Change Color of Active Menu Tab</li>
<li>Change Colors of Menu Tabs When Hovering</li>
<li>Remove Underline on Menu Tabs When Hovering</li>
<li>Remove Uppercase Formatting on Menu Tabs Text</li>
<li>Change Color of Borders on Menu Tabs</li>
<li>Remove Borders around Menu Tabs</li>
</ul>]]></description>
										<content:encoded><![CDATA[<p class="alert">This Answer is based on the style definitions from Thesis 1.5 or lower; in 1.6+, you can set colors for the Nav Menu under <strong>Thesis Design Options</strong> (under <em>Fonts, Colors, and More!</em>). For other styling, replacing <code>#tabs</code> in the examples below with <code>.menu</code> will generally be sufficient.</p>
<h3 id="change_color_all">Change Color of All Menu Tabs <a href="#change_color_all" title="Link to this section">∞</a></h3>
<p>Place this code in <code>custom.css</code> (changing the color values to use your own choices):</p>
<pre class="css">
.custom #tabs li {
   background: #efefef;
}
</pre>
<h3 id="change_color_active">Change Color of Active Menu Tab <a href="#change_color_active" title="Link to this section">∞</a></h3>
<p>Place this code in <code>custom.css</code> (changing the color values to use your own choices):</p>
<pre class="css">
.custom ul#tabs li.current-cat a, .custom ul#tabs li.current_page_item a {
  background-color: #000000;
  color: #ffffff;
}
</pre>
<h3 id="change_color_hover">Change Colors of Menu Tabs When Hovering <a href="#change_color_hover" title="Link to this section">∞</a></h3>
<p>Place this code in <code>custom.css</code> (changing the color values to use your own choices):</p>
<pre class="css">
.custom ul#tabs li a:hover {
  background:#000000;
  color:#ffffff;
}
</pre>
<h3 id="remove_underline_hover">Remove Underline on Menu Tabs When Hovering <a href="#remove_underline_hover" title="Link to this section">∞</a></h3>
<p>Place this code in <code>custom.css</code>:</p>
<pre class="css">
.custom ul#tabs li a:hover {
  text-decoration: none;
}</pre>
<h3 id="remove_uppercase">Remove Uppercase Formatting on Menu Tabs Text <a href="#remove_uppercase" title="Link to this section">∞</a></h3>
<p>Place this code in <code>custom.css</code>:</p>
<pre class="css">
.custom ul#tabs li a {
  text-transform: none;
}</pre>
<h3 id="change_borders">Change Color of Borders on Menu Tabs <a href="#change_borders" title="Link to this section">∞</a></h3>
<p>Place this code in <code>custom.css</code> (changing the color values to use your own choices):</p>
<pre class="css">
.custom #tabs, .custom #tabs li {
   border: 1px solid #ddd;
}
</pre>
<p>Note: This also affects the left and bottom borders along the nav menu itself.</p>
<h3 id="remove_borders">Remove Borders around Menu Tabs <a href="#remove_borders" title="Link to this section">∞</a></h3>
<p>Place this code in <code>custom.css</code>:</p>
<pre class="css">
.custom #tabs, .custom #tabs li {
  border-style: none;
}</pre>
<p>Note: This also affects the left and bottom borders along the nav menu itself.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
