<?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>Styles &#8211; Focus Demo</title>
	<atom:link href="https://diythemes.com/demo/category/styles/feed/" rel="self" type="application/rss+xml" />
	<link>https://diythemes.com/demo</link>
	<description>See what you can do with the Focus WordPress Theme</description>
	<lastBuildDate>Thu, 09 Feb 2023 16:48:13 +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>Focus Text Formatting and Content Styles</title>
		<link>https://diythemes.com/demo/styles/</link>
					<comments>https://diythemes.com/demo/styles/#comments</comments>
		
		<dc:creator><![CDATA[Chris Pearson]]></dc:creator>
		<pubDate>Tue, 20 Aug 2013 19:30:26 +0000</pubDate>
				<category><![CDATA[Styles]]></category>
		<guid isPermaLink="false">https://diythemes.com/demo/?p=10</guid>

					<description><![CDATA[Focus comes equipped with everything you need to produce a professional-grade website. I personally guarantee that you’ll be positively amazed by how easy it is to put your best foot forward with this product. In this article, you&#8217;ll be able explore the styles at your disposal when using this Skin. Lists Lists are easy for readers [&#8230;]]]></description>
										<content:encoded><![CDATA[<div class="featured_image_wrap">
	<a class="featured_image_link" href="https://diythemes.com/demo/styles/"><img fetchpriority="high" decoding="async" width="2560" height="1440" src="https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis.jpg" class="attachment-full size-full wp-post-image" alt="" srcset="https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis.jpg 2560w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-300x169.jpg 300w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-1024x576.jpg 1024w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-768x432.jpg 768w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-1536x864.jpg 1536w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-2048x1152.jpg 2048w" sizes="(max-width: 2560px) 100vw, 2560px" /></a>
</div>
<div class="featured_image_wrap">
	<img fetchpriority="high" decoding="async" width="2560" height="1440" src="https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis.jpg" class="attachment-full size-full wp-post-image" alt="" srcset="https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis.jpg 2560w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-300x169.jpg 300w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-1024x576.jpg 1024w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-768x432.jpg 768w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-1536x864.jpg 1536w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-2048x1152.jpg 2048w" sizes="(max-width: 2560px) 100vw, 2560px" />
</div>
<div class="featured_image_wrap">
	<img fetchpriority="high" decoding="async" width="2560" height="1440" src="https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis.jpg" class="attachment-full size-full wp-post-image" alt="" srcset="https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis.jpg 2560w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-300x169.jpg 300w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-1024x576.jpg 1024w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-768x432.jpg 768w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-1536x864.jpg 1536w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-2048x1152.jpg 2048w" sizes="(max-width: 2560px) 100vw, 2560px" />
</div>
<div class="featured_image_wrap">
	<img fetchpriority="high" decoding="async" width="2560" height="1440" src="https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis.jpg" class="attachment-full size-full wp-post-image" alt="" srcset="https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis.jpg 2560w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-300x169.jpg 300w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-1024x576.jpg 1024w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-768x432.jpg 768w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-1536x864.jpg 1536w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-2048x1152.jpg 2048w" sizes="(max-width: 2560px) 100vw, 2560px" />
</div>
<div class="featured_image_wrap">
	<img fetchpriority="high" decoding="async" width="2560" height="1440" src="https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis.jpg" class="attachment-full size-full wp-post-image" alt="" srcset="https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis.jpg 2560w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-300x169.jpg 300w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-1024x576.jpg 1024w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-768x432.jpg 768w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-1536x864.jpg 1536w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-2048x1152.jpg 2048w" sizes="(max-width: 2560px) 100vw, 2560px" />
</div>
<div class="featured_image_wrap">
	<a class="featured_image_link" href="https://diythemes.com/demo/styles/"><img fetchpriority="high" decoding="async" width="2560" height="1440" src="https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis.jpg" class="attachment-full size-full wp-post-image" alt="" srcset="https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis.jpg 2560w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-300x169.jpg 300w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-1024x576.jpg 1024w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-768x432.jpg 768w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-1536x864.jpg 1536w, https://diythemes.com/demo/wp-content/uploads/2021/01/BackgroundParis-2048x1152.jpg 2048w" sizes="(max-width: 2560px) 100vw, 2560px" /></a>
</div>
<p><span class="drop_cap">F</span>ocus comes equipped with everything you need to produce a professional-grade website. I personally guarantee that you’ll be positively amazed by <strong>how easy it is to put your best foot forward with this product</strong>.</p>
<p>In this article, you&#8217;ll be able explore the styles at your disposal when using this Skin.</p>
<p><span id="more-10"></span></p>
<h2>Lists</h2>
<p>Lists are easy for readers to digest, and because of that, most people love ‘em. With that in mind, you oughta start using more lists in your posts! This Skin comes equipped with killer list styles<sup>1</sup>, and your job is simply to choose the one that is best-suited to your particular needs<sub>2</sub>. The first type of list is an <strong>unordered list</strong>, and it looks like this:</p>
<ul>
<li>List item 1</li>
<li>List item 2 <a href="#">with a link to nowhere</a></li>
<li>List item 3
<ul>
<li>Nested list item 1</li>
<li>Nested list item 2</li>
</ul>
</li>
<li>List item 4</li>
</ul>
<p>The second type of list is an <strong>ordered list</strong>, and it looks like this:</p>
<ol>
<li>List item 1</li>
<li>List item 2</li>
<li>List item 3</li>
<li>List item 4</li>
</ol>
<h2>Sub-Headlines</h2>
<p>Sub-headlines have already been used twice in this post…did you spot them? The first one says “Lists,” and the second one says “Sub-Headlines.” Thanks to the flexibility of our Skins, you can create similar sub-headlines without having to do any styling on-the-fly. All you have to do is wrap your sub-headline text in <code>&lt;h2&gt;</code> tags (or select &#8220;Heading 2” in the WYSIWYG editor), and BOOM, you’ll get results like you see here.</p>
<p>You can also use Heading 3 (<code>&lt;h3&gt;</code>) and Heading 4 (<code>&lt;h4&gt;</code>) for sub-sections as needed.</p>
<h3>Sub-section Heading</h3>
<p>The heading above is a third level heading, or <code>&lt;h3&gt;</code>. It&#8217;s not as significant as a sub-headline, but it is certainly useful for delineating a separate thought or idea.</p>
<h4>Specialty Heading</h4>
<p>Occasionally, you may need to differentiate between parts of an article sub-section. The fourth level heading, or <code>&lt;h4&gt;</code>, can be useful in these circumstances, but the most important thing here is simply the fact that your Skin supports this kind of text formatting.</p>
<h2>Blockquotes</h2>
<blockquote class="right"><p>This is one area where our Skins have no peers…</p></blockquote>
<p>Every Skin worth its weight in bandwidth comes with some sort of pre-defined blockquote styling, but how many WordPress themes or Skins do you know of that come with <strong>three different blockquote styles</strong>? This is one area where our Skins have no peers, and you can use these blockquote styles to your advantage as you liven up your posts for your readers.</p>
<p>The quote above is what is referred to as a “pullquote,” and you can create two types of these in your posts—one will be aligned to the right, and the other to the left. Use the following structure to make it happen: <code>&lt;blockquote class="x"&gt;</code>, where <code>x</code> is replaced by either “left” or “right,” depending on which side of the text you want your pullquote to display.</p>
<h3>Standard Blockquote</h3>
<p>And naturally, no Skin would be complete without the standard old blockquote, which comes out looking like this:</p>
<blockquote><p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Quisque pharetra velit vel purus. Nunc tempor, urna sit amet euismod elementum, erat tellus auctor erat, non condimentum dui wisi non orci. Nam fringilla leo sed dui. Vestibulum ac elit sit amet diam vehicula scelerisque.</p></blockquote>
<p>To use these, simply wrap your quoted text in <code>&lt;blockquote&gt;</code> tags.</p>
<h2>Alerts, Notes, and Highlight Boxes</h2>
<div class="alert">
Every great Skin should come with savvy alert and note classes for maximum content pwnage.</p>
<p>Sometimes, you may even want to include more than one paragraph, so the really cool Skins will be sure to account for both.
</p></div>
<p class="alert">But sometimes, you only need a single paragraph to get the job done, and you can see that in action right here.</p>
<div class="note">
Once again, we explore the styles included with this Skin and find that we have a versatile note class.</p>
<p>Perhaps you’ll be able to get away with whatever markup you like in here…or perhaps you won’t.
</p></div>
<p class="note">One thing is for sure—these notes won’t go unnoticed.</p>
<div class="box">
<p>If the Skin you&#8217;re viewing supports the <code>box</code> callout class, this paragraph will have a special background color that makes it stand out from the rest of the content on this page.</p>
<p><strong>Bonus:</strong> You can control the colors of your callouts in the Design Options.</p>
</div>
<p>In most cases, the <code>box</code> class is useful outside of the content as well, so be sure to check your Skin&#8217;s documentation to see where you can use this handy formatting class.</p>
<h2>Images</h2>
<p>Finally, be sure to take a look at <a href="/demo/images/">this Skin&#8217;s image styles</a>.</p>
<div class="footnotes">
<p><sup id="f1">1</sup> If this Skin supports footnote styling, this will appear as the first footnote.</p>
<p><sup id="f2">2</sup> How about a second footnote? This explains a lot, doesn&#8217;t it? Now, how do you get back to the main text once you&#8217;ve arrived at this footnote?</p>
<p><sup id="f3">3</sup> This is the third and final footnote. Where&#8217;s your styling now, mister?</p>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://diythemes.com/demo/styles/feed/</wfw:commentRss>
			<slash:comments>71</slash:comments>
		
		
			</item>
		<item>
		<title>Focus Image and Caption Styles</title>
		<link>https://diythemes.com/demo/images/</link>
					<comments>https://diythemes.com/demo/images/#comments</comments>
		
		<dc:creator><![CDATA[Chris Pearson]]></dc:creator>
		<pubDate>Tue, 20 Aug 2013 17:30:45 +0000</pubDate>
				<category><![CDATA[Styles]]></category>
		<guid isPermaLink="false">https://diythemes.com/demo/?p=31</guid>

					<description><![CDATA[This is a WordPress featured image with a caption. This is a WordPress featured image with a caption. This is a WordPress featured image with a caption. This is a WordPress featured image with a caption. This is a WordPress featured image with a caption. This is a WordPress featured image with a caption. The [&#8230;]]]></description>
										<content:encoded><![CDATA[<div class="featured_image_wrap">
	<a class="featured_image_link" href="https://diythemes.com/demo/images/"><img decoding="async" width="950" height="317" src="https://diythemes.com/demo/wp-content/uploads/2014/02/the-deuce.jpg" class="attachment-full size-full wp-post-image" alt="The Deuce" srcset="https://diythemes.com/demo/wp-content/uploads/2014/02/the-deuce.jpg 950w, https://diythemes.com/demo/wp-content/uploads/2014/02/the-deuce-300x100.jpg 300w" sizes="(max-width: 950px) 100vw, 950px" /></a>
<p class="caption">This is a WordPress featured image with a caption.</p>
</div>
<div class="featured_image_wrap">
	<img decoding="async" width="950" height="317" src="https://diythemes.com/demo/wp-content/uploads/2014/02/the-deuce.jpg" class="attachment-full size-full wp-post-image" alt="The Deuce" srcset="https://diythemes.com/demo/wp-content/uploads/2014/02/the-deuce.jpg 950w, https://diythemes.com/demo/wp-content/uploads/2014/02/the-deuce-300x100.jpg 300w" sizes="(max-width: 950px) 100vw, 950px" />
<p class="caption">This is a WordPress featured image with a caption.</p>
</div>
<div class="featured_image_wrap">
	<img decoding="async" width="950" height="317" src="https://diythemes.com/demo/wp-content/uploads/2014/02/the-deuce.jpg" class="attachment-full size-full wp-post-image" alt="The Deuce" srcset="https://diythemes.com/demo/wp-content/uploads/2014/02/the-deuce.jpg 950w, https://diythemes.com/demo/wp-content/uploads/2014/02/the-deuce-300x100.jpg 300w" sizes="(max-width: 950px) 100vw, 950px" />
<p class="caption">This is a WordPress featured image with a caption.</p>
</div>
<div class="featured_image_wrap">
	<img decoding="async" width="950" height="317" src="https://diythemes.com/demo/wp-content/uploads/2014/02/the-deuce.jpg" class="attachment-full size-full wp-post-image" alt="The Deuce" srcset="https://diythemes.com/demo/wp-content/uploads/2014/02/the-deuce.jpg 950w, https://diythemes.com/demo/wp-content/uploads/2014/02/the-deuce-300x100.jpg 300w" sizes="(max-width: 950px) 100vw, 950px" />
<p class="caption">This is a WordPress featured image with a caption.</p>
</div>
<div class="featured_image_wrap">
	<img decoding="async" width="950" height="317" src="https://diythemes.com/demo/wp-content/uploads/2014/02/the-deuce.jpg" class="attachment-full size-full wp-post-image" alt="The Deuce" srcset="https://diythemes.com/demo/wp-content/uploads/2014/02/the-deuce.jpg 950w, https://diythemes.com/demo/wp-content/uploads/2014/02/the-deuce-300x100.jpg 300w" sizes="(max-width: 950px) 100vw, 950px" />
<p class="caption">This is a WordPress featured image with a caption.</p>
</div>
<div class="featured_image_wrap">
	<a class="featured_image_link" href="https://diythemes.com/demo/images/"><img decoding="async" width="950" height="317" src="https://diythemes.com/demo/wp-content/uploads/2014/02/the-deuce.jpg" class="attachment-full size-full wp-post-image" alt="The Deuce" srcset="https://diythemes.com/demo/wp-content/uploads/2014/02/the-deuce.jpg 950w, https://diythemes.com/demo/wp-content/uploads/2014/02/the-deuce-300x100.jpg 300w" sizes="(max-width: 950px) 100vw, 950px" /></a>
<p class="caption">This is a WordPress featured image with a caption.</p>
</div>
<p><span class="drop_cap">T</span>he image above is a WordPress featured image for this post. By default, it will be aligned flush left with no text wrap, but you can select any alignment you like in your WordPress media gallery.</p>
<p>In addition to WordPress featured image support, Focus comes with 4 default image alignments:</p>
<p><span id="more-31"></span></p>
<ul>
<li>flush left with no text wrap (typically the default)</li>
<li>centered</li>
<li>left with text wrap</li>
<li>right with text wrap</li>
</ul>
<p>Here&#8217;s a flush left image with an inline caption:</p>
<img decoding="async" src="/demo/wp-content/uploads/2013/08/cp-speaking-2012.jpg" alt="Chris Pearson speaking at Affiliate Summit Central 2012" width="500" height="375" />
<p class="caption">Check out this cool caption style, which is built into Focus!</p>
<p>To add this nifty caption style to your post, simply switch to the text editor, and then wrap your caption text like so:</p>
<pre class="css">
&lt;p class="caption"&gt;Your caption text here.&lt;/p&gt;
</pre>
<p>And here&#8217;s the same image from above with a default WordPress caption:</p>
<div id="attachment_33" style="width: 510px" class="wp-caption alignnone"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-33" src="/demo/wp-content/uploads/2013/08/cp-speaking-2012.jpg" alt="Chris Pearson speaking at Affiliate Summit Central 2012" width="500" height="375" /><p id="caption-attachment-33" class="wp-caption-text">This image also has a caption that’s defined in the WordPress media gallery.</p></div>
<p>And this next image is centered (also note that text does not/should not wrap around centered images):</p>
<img loading="lazy" decoding="async" class="aligncenter" src="/demo/wp-content/uploads/2013/08/cp-speaking-2010.jpg" alt="Chris Pearson speaking in 2010" width="500" height="375" />
<p>You can also add a frame to any of your images; here&#8217;s that last image—still centered—but with a frame:</p>
<img loading="lazy" decoding="async" class="aligncenter frame" src="/demo/wp-content/uploads/2013/08/cp-speaking-2010.jpg" alt="Chris Pearson speaking in 2010" width="500" height="375" />
<p>Adding frames is easy, too. When editing your post, switch to the text editor, and then add a <code>frame</code> class to the image you want to frame:</p>
<pre class="extend">
&lt;img class="aligncenter frame" src="your_image_url" alt="your image alt" /&gt;
</pre>
<p><img loading="lazy" decoding="async" class="alignleft" src="/demo/wp-content/uploads/2013/08/diythemes-tall.png" alt="DIYthemes logo (tall)" width="121" height="86" />This paragraph is here to show you how text will wrap around an image that is aligned to the left. Notice how the image is surrounded by whitespace to avoid any unsightly collisions between the text and the image.</p>
<p><img loading="lazy" decoding="async" class="alignright" src="/demo/wp-content/uploads/2013/08/diythemes-black.png" alt="DIYthemes logo (black)" width="216" height="53" />Of course, you also need to see what a right-aligned image looks like. The text will wrap around this image at a safe distance to ensure easy reading.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://diythemes.com/demo/images/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
		<item>
		<title>Sample Code and Pre-formatted Code Output</title>
		<link>https://diythemes.com/demo/code/</link>
					<comments>https://diythemes.com/demo/code/#comments</comments>
		
		<dc:creator><![CDATA[Chris Pearson]]></dc:creator>
		<pubDate>Tue, 20 Aug 2013 17:00:09 +0000</pubDate>
				<category><![CDATA[Styles]]></category>
		<guid isPermaLink="false">https://diythemes.com/demo/?p=27</guid>

					<description><![CDATA[One particular HTML element that has been taking up way too much of my time lately is the &#60;code&#62; tag. Different browsers will render the contents of this tag differently depending on how the CSS properties (such as line-height, font, and/or font-size) are declared. It is a constant battle to ensure that elements will render [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><span class="drop_cap">O</span>ne particular <abbr title="HyperText Markup Language">HTML</abbr> element that has been taking up way too much of my time lately is the <code>&lt;code&gt;</code> tag. Different browsers will render the contents of this tag differently depending on how the <abbr title="Cascading Style Sheet">CSS</abbr> properties (such as <code>line-height</code>, <code>font</code>, and/or <code>font-size</code>) are declared.</p>
<p>It is a constant battle to ensure that elements will render correctly, and even when you think you&#8217;ve gotten everything worked out perfectly, you may find that Safari, for instance, doesn&#8217;t know what to do with an unordered list of encoded text:</p>
<p><span id="more-27"></span></p>
<ul>
<li><code>Safari</code></li>
<li><code>may not</code></li>
<li><code>render this</code></li>
<li><code>worth a damn</code></li>
</ul>
<p>And even when you&#8217;ve gotten all that figured out, you still have to ensure that the <code>&lt;pre&gt;</code> tag is styled properly and renders consistently across a wide range of modern browsers.</p>
<pre class="css">code {
&#9;font-family: Consolas, Monaco, Courier, sans-serif;
&#9;font-size: 14px;
&#9;line-height: 1em;
&#9;color: #050;
}
</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://diythemes.com/demo/code/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>
