<?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>Les James &#124; Design &#38; Stuff &#187; viewport</title>
	<atom:link href="http://lesjames.com/tag/viewport/feed/" rel="self" type="application/rss+xml" />
	<link>http://lesjames.com</link>
	<description>Les James is a web designer and beer fan. CSS and brown ales make him happy.</description>
	<lastBuildDate>Wed, 04 Aug 2010 19:09:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Breaking Away From Viewport</title>
		<link>http://lesjames.com/184/breaking-away-from-viewport/</link>
		<comments>http://lesjames.com/184/breaking-away-from-viewport/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 19:21:08 +0000</pubDate>
		<dc:creator>Les</dc:creator>
				<category><![CDATA[css3]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[usability]]></category>
		<category><![CDATA[viewport]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://lesjames.com/?p=184</guid>
		<description><![CDATA[This site&#8217;s design is reaching a crossroads. I am starting to remove major elements of the Viewport theme in a move to increase the site&#8217;s usability and layout aesthetics. This move is being done with special category templates for the web and interactive sections of my portfolio. I have removed the sliding panels and opted [...]]]></description>
			<content:encoded><![CDATA[<p>This site&#8217;s design is reaching a crossroads.  I am starting to remove major elements of the Viewport theme in a move to increase the site&#8217;s usability and layout aesthetics.  This move is being done with special category templates for the web and interactive sections of my portfolio.  I have removed the sliding panels and opted to have projects tile themselves down the page.  In addition each category archive now pulls in special page content that serves as a description.  A note about this description, I&#8217;m using CSS3 columns for the first time.  Safari and Firefox users will now see eye friendly columns instead of a super wide block of text.  The key now is to actually fill these portfolio sections with projects.</p>
<p>This brings me a decision on what to do with the blog category and the homepage.  For now I&#8217;m going to to keep the sliding panels but I think it can be done better.  I&#8217;m thinking that on the homepage I want to try and figure out a way to include only the latest blog post and then start listing out my favorite portfolio projects.  I am also going to add a panel at the end that will list out my most recent blog and twitter posts.  As for the blog archive I&#8217;m going to have to think of a new presentation but I suppose what&#8217;s in place now will suffice.  Time to start hacking the home page!</p>
]]></content:encoded>
			<wfw:commentRss>http://lesjames.com/184/breaking-away-from-viewport/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Rounding Corners</title>
		<link>http://lesjames.com/62/rounding-corners/</link>
		<comments>http://lesjames.com/62/rounding-corners/#comments</comments>
		<pubDate>Thu, 07 May 2009 20:02:48 +0000</pubDate>
		<dc:creator>Les</dc:creator>
				<category><![CDATA[css3]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[viewport]]></category>

		<guid isPermaLink="false">http://lesjames.com/?p=62</guid>
		<description><![CDATA[While writing up my portfolio entry on mobile templates, I got an idea of how I can round the corners on the viewport theme header images. I changed the template around on the single page to inject the image url into a background style on the wrapper div instead of creating a full img tag. [...]]]></description>
			<content:encoded><![CDATA[<p>While writing up my portfolio entry on mobile templates, I got an idea of how I can round the corners on the viewport theme header images.  I changed the template around on the single page to inject the image url into a background style on the wrapper div instead of creating a full img tag.  Now that the wrapper displays the image I can us CSS3 to round the corners.  Presto!  If you are in Safari I also added a drop shadow.  Come on Firefox, get your CSS3 on and display that box shadow!</p>
<p>(Hours later&#8230;)</p>
<p>I&#8217;m so excited.  So when I made the changes I mentioned above this really screwed up my jQuery default image replace code.  I tried to fix it but I&#8217;m just not good enough to work around the new way I was inserting the image as an inline style attribute.  So I had to venture into the unknown.  Instead of testing to see if the image source was empty with jQuery, I tried testing it with PHP.  This is big time wilderness for me.  My first attempt crashed and burned.  A quick look on Google for PHP if/else statements got me pointed in the right direction.  My second attempt worked perfectly!  I&#8217;ve never wrote PHP and to have it work on the second try was awesome.  I&#8217;m learning so much from customizing this the Viewport WordPress theme.</p>
]]></content:encoded>
			<wfw:commentRss>http://lesjames.com/62/rounding-corners/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Viewport Theme</title>
		<link>http://lesjames.com/31/viewport-theme/</link>
		<comments>http://lesjames.com/31/viewport-theme/#comments</comments>
		<pubDate>Fri, 01 May 2009 15:58:04 +0000</pubDate>
		<dc:creator>Les</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[viewport]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://lesjames.com/?p=31</guid>
		<description><![CDATA[Update: June 22, 2010: I am no longer using the Viewport Theme on my site. If you have a question about your Viewport Theme or WordPress in general feel free to shoot me a message through Twitter. Archived Post&#8230; I finally had a little time to work on this site. Wouldn&#8217;t you know I&#8217;ve thrown [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update: June 22, 2010:</strong><br />
I am no longer using the Viewport Theme on my site. If you have a question about your Viewport Theme or WordPress in general feel free to shoot me a message <a href="http://twitter.com/lesjames">through Twitter</a>.</p>
<h3>Archived Post&#8230;</h3>
<p>I finally had a little time to work on this site.  Wouldn&#8217;t you know I&#8217;ve thrown my lj design under the bus.  Well kind of.  I am now using the Viewport theme as my base template and skinning it with elements from my lj theme.  I&#8217;m applying this skin as a child template of Viewport and so far things are running pretty smooth.  So far I&#8217;ve only changed the header and footer templates and of course, I have a new style sheet to override the parent theme.  I like the Viewport theme because it&#8217;s perfect for a portfolio site.  I&#8217;m going to create custom pages that will group my various projects together.  General blog entries will have a default blog image that I have yet to draw.</p>
<p>Hopefully this will be the last change in direction for the theme of this site.  I want to customize the hell out of Viewport and make it my own.  Hopefully I will be able to find the time.</p>
<p>Update: May 29, 2009:</p>
<p>I&#8217;ve noticed a couple people landing on this page since it&#8217;s ranking high with a search for Viewport Theme.  So I&#8217;ll try to spell out everything I&#8217;ve done to customize it.  First off all the changes I&#8217;ve made hae been through a child theme.  This way I can customize the theme one part at a time.  If I haven&#8217;t created an override in the child theme WordPress then defaults to the actual Viewport theme files.  This ensures that if I miss something it won&#8217;t break the theme.</p>
<p>I started with the header and footer.  Since these don&#8217;t really have anything to do with the actual &#8220;viewport&#8221; they are completely customized to look like my original site design.  The header does contain conditional code to activate jQuery links depending on what page you are on.  I did have to add is_search() to the conditional statement because it wasn&#8217;t in the original header for some reason.</p>
<p>Since the Viewport theme is based on pictures I needed to come up with a default blog picture that could be automatically added when I don&#8217;t specify a picture for the post.  I changed the php code to check if the post viewport picture is blank and if so place my default blog pic in there instead.  I also made the pic appear as a css background-image so that I could round the corners of the container div and apply a box shadow (which currently only shows in Safari).  I made these changes to the index, single, archive and search template files.</p>
<p>I made a lot of changes to the single template (which controls the post page).  I took out the top and bottom divs that used to house rounded corner images in favor of a single div with css rounded corners.  I made lots of css style changes and added my Twitter status to the sidebar with Twitter Widget Pro.</p>
<p>I&#8217;ll revisit this post if I make and further Viewport specific customizations.</p>
<p>Update: <a href="http://lesjames.com/breaking-away-from-viewport/">June 15th 2009</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lesjames.com/31/viewport-theme/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
