<?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>SharePoint.Sharon &#187; visual design</title>
	<atom:link href="http://www.sharepointsharon.com/archive/info/design/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sharepointsharon.com</link>
	<description>news and tips about SharePoint and friends</description>
	<lastBuildDate>Tue, 24 Jan 2012 12:03:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Create your own article page layouts</title>
		<link>http://www.sharepointsharon.com/2011/09/article-page-layouts/</link>
		<comments>http://www.sharepointsharon.com/2011/09/article-page-layouts/#comments</comments>
		<pubDate>Fri, 30 Sep 2011 17:19:09 +0000</pubDate>
		<dc:creator>Sharon Richardson</dc:creator>
				<category><![CDATA[articles]]></category>
		<category><![CDATA[visual design]]></category>
		<category><![CDATA[design]]></category>

		<guid isPermaLink="false">http://www.sharepointsharon.com/?p=2764</guid>
		<description><![CDATA[This post applies to SharePoint 2010 Server, Standard or Enterprise edition. SharePoint can be used for all sorts of content. For collaborative and productivity scenarios, the focus is often on document libraries and lists for managing content. Sometimes content is better suited in web pages, such as wiki sites and newsletter. But the default page [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sharepointsharon.com%2F2011%2F09%2Farticle-page-layouts%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sharepointsharon.com%2F2011%2F09%2Farticle-page-layouts%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayouts-newCQWP.jpg"><img class="aligncenter size-medium wp-image-2782" title="Content Query Web Part displaying a newsletter summary" src="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayouts-newCQWP-300x80.jpg" alt="Content Query Web Part displaying a newsletter summary" width="300" height="80" /></a></p>
<p>This post applies to SharePoint 2010 Server, Standard or Enterprise edition.</p>
<p>SharePoint can be used for all sorts of content. For collaborative and productivity scenarios, the focus is often on document libraries and lists for managing content. Sometimes content is better suited in web pages, such as wiki sites and newsletter. But the default page layouts are quite basic.</p>
<p><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayout-defaults.jpg"><img class="aligncenter size-medium wp-image-2765" title="default SharePoint web page layouts" src="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayout-defaults-165x300.jpg" alt="default SharePoint web page layouts" width="165" height="300" /></a></p>
<p>The image above (click on images here to view full size) shows the default page layouts for publishing content in web pages. There are three types of article page, two wiki pages and a web part page. We&#8217;re going to create our own article page layout.</p>
<h4>Creating a new article page layout</h4>
<p>The three article pages are very similar. The only difference is whether or not you include an image page control on the page and, if you do, whether it is on the left or right side of the page. All three include page controls for a title, article date, byline and page content.</p>
<p><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayout-content-default.jpg"><img class="aligncenter size-medium wp-image-2767" title="Default article page layout with some content" src="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayout-content-default-300x163.jpg" alt="Default article page layout with some content" width="300" height="163" /></a></p>
<p>The image above shows the article page layout Image on Right with some content in the Title, Article Date, Byline, Page Image and Page Content.  It looks fine when viewing the page, but it&#8217;s just one clump of content &#8211; the Page Content control.  The only slices we can display elsewhere are the Title and Byline.</p>
<p><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayout-cqwp-default1.jpg"><img class="aligncenter size-medium wp-image-2769" title="Content Query Web Part" src="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayout-cqwp-default1-300x113.jpg" alt="Content Query Web Part" width="300" height="113" /></a></p>
<p>The image above shows a Content Query web part (CQWP) displaying the &#8216;Latest Newsletter&#8217;.  (CQWPs can be displayed on any site in a site collection, in this case, showing part of the news letter on another site.) The active link is the Title and the text next to the image is the Byline, displayed as a description.  Instead of a Byline, I want to publish a summary without having to duplicate content in the actual article page.  To do that, I need to create my own article page layout.</p>
<h5>Create the required columns</h5>
<p>Every control on a page layout is linked to a column.  If we want to create our own page controls, we first need to create the columns. This is slightly different to creating columns in a document library or list.  Page controls must be associated with site columns, not library columns.  Site Columns includes four additional column types specifically to use in web publishing. These are not available when creating columns within lists and libraries.</p>
<ol>
<li>On your site (or site collection root if you want to re-use the columns across other sites), go to Site Actions &#8211; Site Settings</li>
<li>In Site Settings, click on Site Columns</li>
<li>In Site Columns, click Create.  For our example, we are going to split our article page into three: News Summary, Message from the Boss, and the rest of the newsletter. We need two additional columns for the Summary and Message from the Boss. The image below shows the settings for our News Summary column.  Note the column type (Full HTML content&#8230;)</li>
</ol>
<p><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayouts-columns-create1.jpg"><img class="aligncenter size-medium wp-image-2771" title="Creating Site Columns" src="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayouts-columns-create1-300x290.jpg" alt="Creating Site Columns" width="300" height="290" /></a></p>
<h5>Add the columns to the Article Page content type</h5>
<p>To make it easy to add our new columns to a page layout, we&#8217;re going to add them to the corresponding content type.</p>
<ol>
<li>In the same site where you just created your columns, go to Site Actions &#8211; Site Settings</li>
<li>In Site Settings, click on Site Content Types</li>
<li>Scroll down to the group Page Layout Content Types and click on Article Page</li>
<li>In the Article Page Content Type template, click Add from existing site columns and add your two new columns to the content type.</li>
</ol>
<h5>Create the article page layout</h5>
<ol>
<li>Edit the site in SharePoint Designer</li>
<li>In the Navigation (on the left), click on Page Layouts</li>
<li>In the ribbon menu (at the top), click New Page Layout</li>
<li>In the New dialogue box, select the Page Layout Content Types group and the Article Page Content Type. Enter a URL name (all one word) and a title for your new page layout.</li>
</ol>
<p><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayouts-spd-newpagelayout.jpg"><img class="aligncenter size-medium wp-image-2772" title="Creating a new page layout in SharePoint Designer" src="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayouts-spd-newpagelayout-300x188.jpg" alt="Creating a new page layout in SharePoint Designer" width="300" height="188" /></a></p>
<h5>Add controls to your article page layout</h5>
<p>First up, we currently have a completely blank page layout. To cheat and get us started, we are going to copy the design of one of the existing article page layouts.</p>
<ol>
<li>In the Page Layouts folder, click on the page layout ArticleRight.aspx</li>
<li>In the page layout settings, click Edit file (under Customization)</li>
<li>When prompted, do NOT check it out.  Then, when prompted, click Yes to open in advanced mode. Copy the entire contents of the code screen and paste it into the code screen of your new page layout. When finished, close the ArticleRight.aspx page layout.</li>
</ol>
<p>Side note: I personally prefer split mode in SPD to display both the code and the design of a page layout. If you can&#8217;t see any code, click on Split or Code just beneath the page layout.</p>
<p>Your new page layout should now look just like the page layout for articles with an image on the right. We are now ready to add our two additional page controls: News Summary and Message from the Boss.  We want to add these controls above the Page Content control&#8217;</p>
<ol>
<li>In the Toolbox on the right side of the screen, scroll sown to the Content Fields group. You should see your two columns. In this example, Message from the Boss and News Summary.</li>
<li>Drag the two columns onto the page layout. I have added the News Summary and Message from the Boss within the DIV for the article content.</li>
<li>Look at the settings for the Page Content control (FieldName=&#8221;PublishingPageContent&#8221;) in code, it has two properties set:
<ul>
<li>HasInitialFocus=True</li>
<li>MinimumEditHeight=400px</li>
</ul>
<p>These two settings control the height of the box on the page layout and where the cursor is placed. For mine, I am going to use HasInitialFocus=True on my News Summary control. I am also going to make both of my columns have a minimum editing height of 200px.  When you are making these changes, make sure you add the properties before runat=&#8221;server&#8221; to make sure you get them in the right place (if you&#8217;re not experienced with doing this stuff).</li>
<li>Finally, I&#8217;m going to add a title for my newsletter in the DIV for the article header, to save writing them within the page each month. Note: normally I&#8217;d format these better or replace with a banner image (I was going to go all Matrix&#8217;y), but to keep it simple&#8230;</li>
</ol>
<p><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayouts-editlayout.jpg"><img class="aligncenter size-medium wp-image-2779" title="Editing a page layout" src="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayouts-editlayout-300x195.jpg" alt="Editing a page layout" width="300" height="195" /></a></p>
<p>In the image above, you can see my two columns with field names displaying their GUIDs instead of the friendlier names of the built-in PublishingPageContent within DIV class=&#8221;article-content&#8221;. And I added a plain DIV to drop the magazine title &#8216;The Oracle&#8217; at the top of the DIV class=&#8221;article-header&#8221; with a basic style applied.  The toolbox over on the right of the page shows my two columns listed under Content Fields.</p>
<p>When you&#8217;re ready, save the page layout, check it in and publish/approve ready for use in the site.</p>
<h5>Add the page layout to the site</h5>
<p>Once published, we can add our new page layout to the list of page layouts used in the site.</p>
<ol>
<li>Back at the site, go to Site Actions &#8211; Site Settings</li>
<li>Within Site Settings, click on Page layouts and site templates (under the Look and Feel group)</li>
<li>Under Page Layouts, select &#8216;Pages in this site can only use the following layouts) and add your page layout. Click OK.</li>
</ol>
<p>Note: If you want the new page layout to be the default when new pages are created, go back into Page Layouts and set it to be the default.</p>
<h5>Use the new page layout</h5>
<p>If I go to edit my current newsletter, I can now change the page layout and select my new format.</p>
<p><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayout-newarticle.jpg"><img class="aligncenter size-medium wp-image-2780" title="Using our new page layout" src="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayout-newarticle-300x183.jpg" alt="Using our new page layout" width="300" height="183" /></a></p>
<p>In the image above, I have moved my summary and message from the boss into the new boxes on the page. Compare to the original image earlier in this post. (In hindsight, should have made the two boxes 100px <img src='http://www.sharepointsharon.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  they don&#8217;t need to be that large.) As a tip, set the default size of the box to roughly how much content you would want people to put in it.</p>
<p>When you publish the page, it looks just the same. But now that we have content segmented, we can start to display those segments elsewhere.</p>
<h5>Modifying the content query web part (CQWP)</h5>
<p>The final step in this post is going to be to display the news summary from our newsletter on the Intranet home page. We need to change the columns that are displayed in the CQWP under Title and Description.</p>
<p><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayouts-compareCQWP.jpg"><img class="aligncenter size-medium wp-image-2781" title="Comparing Content Query Web Parts" src="http://www.sharepointsharon.com/wp-content/uploads/2011/09/pagelayouts-compareCQWP-300x175.jpg" alt="Comparing Content Query Web Parts" width="300" height="175" /></a></p>
<p>In the image above, &#8216;Original Latest News&#8217; is the CQWP with its default settings, displaying the Title and Byline of the newsletter.  Beneath it, &#8216;Latest News&#8217; shows our new CQWP displaying the Byline (instead of Title) and Newsletter Summary (instead of ByLine).</p>
<p>I&#8217;m planning to go into the CQWP in a bit more detail in another post, including adding a &#8216;Read more&#8230;&#8217; link.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointsharon.com/2011/09/article-page-layouts/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 Search Master Page tweak</title>
		<link>http://www.sharepointsharon.com/2011/04/master-page-tweaks/</link>
		<comments>http://www.sharepointsharon.com/2011/04/master-page-tweaks/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 17:47:44 +0000</pubDate>
		<dc:creator>Sharon Richardson</dc:creator>
				<category><![CDATA[articles]]></category>
		<category><![CDATA[visual design]]></category>
		<category><![CDATA[master page]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://www.sharepointsharon.com/?p=2327</guid>
		<description><![CDATA[SharePoint 2010 has changed a few things regarding search. One of which is the use of a different master page to control the navigation, providing a minimal global navigation (aka top link bar) and removing the left sidebar (aka current navigation or the quick launch bar). The left sidebar needs to be removed to make [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sharepointsharon.com%2F2011%2F04%2Fmaster-page-tweaks%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sharepointsharon.com%2F2011%2F04%2Fmaster-page-tweaks%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>SharePoint 2010 has changed a few things regarding search. One of which is the use of a different master page to  control the navigation, providing a minimal global navigation (aka top link bar) and  removing the left sidebar (aka current navigation or the quick launch bar). The left sidebar needs to be removed to make way for the new search refiners but the global navigation loses an important feature &#8211; the breadcrumb to navigate back where you started (i.e. somewhere else in the site collection).</p>
<div id="attachment_2477" class="wp-caption aligncenter" style="width: 250px"><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/04/spmpage3.jpg"><img class="size-medium wp-image-2477 " title="Comparing default master pages" src="http://www.sharepointsharon.com/wp-content/uploads/2011/04/spmpage3-300x183.jpg" alt="Comparing default master pages" width="240" height="146" /></a><p class="wp-caption-text">Comparing default master pages</p></div>
<p>The top image above shows the header for a normal internal SharePoint site with it&#8217;s little breadcrumb icon expanded (the folder icon next to Site Actions). I&#8217;m on the Facilities site which is a sub-site under Resources which is a sub-site under Intranet. Intranet is the root site in the site collection.</p>
<p>The second image above shows the header for a SharePoint search site (Basic or Enterprise template). There is no icon.  It is a sub-site under Intranet but you can only tell if you look in the address bar of the browser. There is no link to click to get you back to the Intranet root. This can be annoying for users if they are not interested in any of the search results provided.</p>
<p>I do the following little hack to add the Intranet root URL before the site title.</p>
<h4>1. Create a new master page</h4>
<ul>
<li>In SharePoint designer,open the root site in the site collection. Click on Master Pages in the navigation</li>
<li>Open the minimal.master page and copy its contents (do not check it out, do not save any changes)</li>
<li>Create a new blank master page, give it a name (e.g. search.master) and replace its content with the content from the minimal.master page</li>
</ul>
<h4>2. Set up a style for the link to be added</h4>
<ul>
<li>At the end of the HEAD section of the master page, add the following style settings</li>
</ul>
<blockquote>
<pre>&lt;style type="text/css"&gt;
   .MyLinkStyle a, a.hover{  
       color: #FFFFFF;  
       text-decoration: none; }
&lt;/style&gt;</pre>
</blockquote>
<ul>
<li>Note: you can call .MyLinkStyle what ever you want, e.g. .YourLink. Just make sure it starts with a full stop (.)</li>
<li>These style settings are based on the default site theme. If you are using a different theme, change the formatting to suit. If you are doing everything properly through style sheets, make the changes in the appropriate files.</li>
</ul>
<p>The HEAD section of the file should now include your style settings as shown below (additions highlighted):</p>
<p style="text-align: center;">&nbsp;</p>
<div id="attachment_2479" class="wp-caption aligncenter" style="width: 536px"><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/04/spmpage41.jpg"><img class="size-full wp-image-2479 " title="Add style code" src="http://www.sharepointsharon.com/wp-content/uploads/2011/04/spmpage41.jpg" alt="Add style code" width="526" height="145" /></a><p class="wp-caption-text">Adding &lt;style&gt; code to master page</p></div>
<h4>3. Add the link before the site title</h4>
<ul>
<li>Whilst still editing your new master page&#8230;</li>
<li>Locate the line that contains the Heading 1 tag. It should look something like this:</li>
</ul>
<blockquote>
<pre>&lt;h1 class="s4-mini-header"&gt;</pre>
</blockquote>
<ul>
<li>Enter the following code directly beneath this tag:</li>
</ul>
<pre>    &lt;span class="MyLinkStyle"&gt;
    &lt;a href="http://intranet"&gt;Intranet&lt;/a&gt; -
    &lt;/span&gt;</pre>
<ul>
<li>Note: Replace &#8220;http://intranet&#8221; with your own URL.</li>
<li>The edited section should look something like the image below (additions highlighted, my URL is http://demo/sites/intranet/):</li>
</ul>
<div id="attachment_2480" class="wp-caption aligncenter" style="width: 511px"><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/04/spmpage5.jpg"><img class="size-full wp-image-2480" title="Finished master page" src="http://www.sharepointsharon.com/wp-content/uploads/2011/04/spmpage5.jpg" alt="Finished master page" width="501" height="237" /></a><p class="wp-caption-text">Adding the link to the master page</p></div>
<p>I&#8217;ve included the split screen mode so that you can see how the link appears visually. Don&#8217;t be confused by &#8216;Intranet &#8211; Intranet&#8217;. We are creating this master page at the root site in the site collection &#8211; called Intranet on this demo. The master page is only going to be applied to the Search sub-site.</p>
<h4>4. Finish your new master page</h4>
<ul>
<li>Save, check-in and publish your new master page.</li>
<li>Don&#8217;t forget to approve it &#8211; you&#8217;ll be prompted if you&#8217;re working with a default settings.</li>
</ul>
<h4>5. Apply the new master page to your search site</h4>
<ul>
<li>Navigate to your Search site. Go to Site Actions &#8211; Site Settings</li>
<li>Under Look and Feel, click on Master Page</li>
<li>For the Site Master Page, change the selected master page from minimal.master to search.master (or whatever you called your new master page)</li>
</ul>
<div id="attachment_2482" class="wp-caption aligncenter" style="width: 513px"><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/04/spmpage61.jpg"><img class="size-full wp-image-2482" title="Selecting the new master page" src="http://www.sharepointsharon.com/wp-content/uploads/2011/04/spmpage61.jpg" alt="Selecting the new master page" width="503" height="89" /></a><p class="wp-caption-text">Selecting the new master page</p></div>
<p>Click OK. And your search site should now look something like the following:</p>
<p style="text-align: center;">&nbsp;</p>
<div id="attachment_2483" class="wp-caption aligncenter" style="width: 493px"><a href="http://www.sharepointsharon.com/wp-content/uploads/2011/04/spmpage7.jpg"><img class="size-full wp-image-2483 " title="New Search Site look" src="http://www.sharepointsharon.com/wp-content/uploads/2011/04/spmpage7.jpg" alt="New Search Site look" width="483" height="106" /></a><p class="wp-caption-text">Link added to the Site Title</p></div>
<p>And there you have it, a basic little hack to add navigation to your site title in search sites.</p>
<h3>Related blog posts</h3>
<ul>
<li><a href="http://www.sharepointsharon.com/2010/11/search-set-up/">SharePoint 2010 Search Set-up</a></li>
<li><a href="http://www.sharepointsharon.com/2011/03/staffdirectory-sp2010/">Adding Staff Directory Search</a></li>
<li><a href="http://www.sharepointsharon.com/2010/06/sharepoint-2010-vs-with-fast-for-search/">SharePoint vs FAST for search</a></li>
<li><a href="http://www.sharepointsharon.com/2010/03/sharepoint-2010-and-adobe-pdf/">Configuring Adobe PDF indexing</a></li>
</ul>
<p>This post is filed in the SharePoint 2010 handbook under <a href="http://www.sharepointsharon.com/resources/handbook-2010/features/enterprise-search/">Enterprise Search</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointsharon.com/2011/04/master-page-tweaks/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>SharePoint 2007 CSS Properties</title>
		<link>http://www.sharepointsharon.com/2009/09/sharepoint-2007-css-properties/</link>
		<comments>http://www.sharepointsharon.com/2009/09/sharepoint-2007-css-properties/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 16:15:00 +0000</pubDate>
		<dc:creator>Sharon Richardson</dc:creator>
				<category><![CDATA[articles]]></category>
		<category><![CDATA[visual design]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[themes]]></category>

		<guid isPermaLink="false">http://www.sharepointsharon.com/?p=19</guid>
		<description><![CDATA[<p style="text-align: center;"><object style="margin: 0px;" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=sharepoint2007cssproperties-090921113913-phpapp02&#38;stripped_title=share-point-2007-css-properties" /><param name="allowfullscreen" value="true" /><embed style="margin: 0px;" type="application/x-shockwave-flash" width="425" height="355" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=sharepoint2007cssproperties-090921113913-phpapp02&#38;stripped_title=share-point-2007-css-properties" allowscriptaccess="always" allowfullscreen="true"></embed></object>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sharepointsharon.com%2F2009%2F09%2Fsharepoint-2007-css-properties%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sharepointsharon.com%2F2009%2F09%2Fsharepoint-2007-css-properties%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This is part 2 in a series of posts about how to create your own SharePoint theme. <a href="http://www.sharepointsharon.com/2009/08/create-your-own-sharepoint-theme/">Click Here to read part 1</a> (how to set-up your own theme)</p>
<p>This post is about the CSS properties to be modified.</p>
<p>When customising an existing theme, the main file to edit is &#8216;THEME.CSS&#8217; located in the folder containing your theme (created during part 1 of this series). Any changes made to the THEME.CSS file will only affect that theme. The other file you may need to edit is &#8216;CORE.CSS&#8217; located in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Layouts\1033 . However any changes made to CORE.CSS will affect all themes so use with caution. In most cases, the easiest solution is to create the same properties in the THEME.CSS.</p>
<p>The presentation embedded below contains descriptions of the main properties you will likely want to modify on a standard SharePoint 2007 site. Most properties apply equally to Microsoft Office SharePoint Server (MOSS) 2007 and Windows SharePoint Services (WSS) 3.0.</p>
<p style="text-align: center;"><object style="margin: 0px;" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=sharepoint2007cssproperties-090921113913-phpapp02&amp;stripped_title=share-point-2007-css-properties" /><param name="allowfullscreen" value="true" /><embed style="margin: 0px;" type="application/x-shockwave-flash" width="425" height="355" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=sharepoint2007cssproperties-090921113913-phpapp02&amp;stripped_title=share-point-2007-css-properties" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Click to view in Full Screen mode if details look blurred.</p>
<p>Please note that this presentation is based on existing materials created by Heather Solomon and Microsoft. References are in the presentation and also included at the end of this post. If you are modifying the theme for a web publishing site, Heather&#8217;s site will provide far more information than is included here. This presentation is related to a table detailing all properties within a standard THEME.CSS file (the Classic theme) that we use when modifying themes for customers &#8211; see Related Links below.</p>
<p><strong>Related Links:</strong></p>
<ul>
<li><a href="http://www.sharepointsharon.com/blog/2009/08/create-your-own-sharepoint-theme.htm">Create your own SharePoint theme</a> (blog post, August 2008)</li>
<li><a href="http://sharepointsharon.com/library/moss2007/themecss.html">Sample THEME.CSS file with details</a> (table on web site)</li>
<li><a href="http://sharepointsharon.com/docs/sharepoint%202007%20CSS%20properties.pdf">SharePoint CSS Properties Presentation</a> (PDF of the presentation embedded above)</li>
</ul>
<p><strong>References:</strong></p>
<ul>
<li><a href="http://www.heathersolomon.com/content/sp07cssreference.htm">Heather Solomon&#8217;s CSS Reference Chart</a></li>
<li><a href="http://sharepoint.microsoft.com/sharepoint/SPCEU2007/Breakouts/DEV05%20-%20Customizing%20The%20Look%20And%20Feel%20Of%20SharePoint%20Sites.ppt">Customising the Look and Feel of SharePoint Sites</a> by Mike Ammerlan (European SharePoint Conference, 2007)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointsharon.com/2009/09/sharepoint-2007-css-properties/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create your own SharePoint theme</title>
		<link>http://www.sharepointsharon.com/2009/08/create-your-own-sharepoint-theme/</link>
		<comments>http://www.sharepointsharon.com/2009/08/create-your-own-sharepoint-theme/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 07:00:00 +0000</pubDate>
		<dc:creator>Sharon Richardson</dc:creator>
				<category><![CDATA[articles]]></category>
		<category><![CDATA[visual design]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.sharepointsharon.com/?p=15</guid>
		<description><![CDATA[This is part 1 in a series of posts about how to create your own SharePoint theme. When you install SharePoint, it comes with a range of themes to pick from. Each theme determines the style and formatting of pages within a site. Themes are applied per site. Navigate to a site, click on Site [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sharepointsharon.com%2F2009%2F08%2Fcreate-your-own-sharepoint-theme%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sharepointsharon.com%2F2009%2F08%2Fcreate-your-own-sharepoint-theme%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This is part 1 in a series of posts about how to create your own SharePoint theme.</p>
<p>When you install SharePoint, it comes with a range of themes to pick from. Each theme determines the style and formatting of pages within a site. Themes are applied per site. Navigate to a site, click on Site Actions &#8211; Site Settings (Modify all settings). Under the second column &#8216;Look and Feel&#8217;, click on Site Theme</p>
<p><a href="http://www.sharepointsharon.com/blog/uploaded_images/spsblog-theme1-783603.jpg"><img style="text-align: center; margin: 0px auto 10px; width: 400px; display: block; height: 107px; cursor: hand;" src="http://www.sharepointsharon.com/blog/uploaded_images/spsblog-theme1-783600.jpg" border="0" alt="" /></a></p>
<p>You can click on each of theme and see a preview of what it will look like. Select one, click Apply and your site will adopt the new theme.</p>
<p>The chances are, one of themes may look vaguely similar but will not be a match for your own colour scheme. There are various solutions to create your own style and formatting for SharePoint. We will start with the easiest option &#8211; create a new theme by modifying an existing one.</p>
<p>Note: This method works with both MOSS 2007 (SharePoint Server, the licensed product) and WSS 3.0 (SharePoint Services, the bit that is free with Windows Server)</p>
<h3>Step 1: Identify the theme that is closest to the one you intend to create</h3>
<ol>
<li>Go to a SharePoint site and open Site Settings, click on Site Theme</li>
<li>Scroll through the list of themes and identify which one is closest to what you intend to create</li>
<li>Note: this does not necessarily mean the main colours such as links and text. The hardest elements to adjust are the backgrounds because they use a lot of images. Look closely at the colours used for the shaded area just beneath the tabs on the page and the background behind the Quick Launch navigation, and how Site Admin appears (we won&#8217;t be changing much here)</li>
<li>If in doubt, I tend to start with &#8216;Classic&#8217; which uses few images and has a plain background that is quite easy to adjust. It also has a simple colour scheme for admin that doesn&#8217;t need changing. &#8216;Simple&#8217; is another one but I tend not to use it as it throws up a dialogue box (&#8216;display unsecured items&#8230;&#8217;) on certain browsers. Both require extra effort on the Quick Launch navigation (quite easy to sort, that&#8217;s coming in part 2)</li>
</ol>
<h3>Step 2: Copy an existing theme into a new folder</h3>
<ol>
<li>Navigate to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\THEMES</li>
<li>Create a new folder for your theme. I recommend calling it a short word, e.g. MyTheme, this will become the name of your new theme (referred to here as newtheme)</li>
<li>Open the folder for the theme you are planning to copy (chosen in step 1, e.g. Classic) and copy its entire contents into your new folder</li>
<li>Within your new folder, open the file &#8216;oldtheme.inf&#8217; in notepad (where &#8216;oldtheme&#8217; is the name of the theme you just copied)</li>
<li>Under the [info] tag, change the title to match the name of your new theme</li>
<li>Under the [titles] tag, change the title to match the name of your new theme for each of the locales listed (the numbers represent the different languages supported by SharePoint)</li>
<li>Save and close the file</li>
<li>Rename the file from &#8216;oldtheme.inf&#8217; to &#8216;newtheme.inf&#8217; (where &#8216;oldtheme&#8217; is the original theme you copied and &#8216;newtheme&#8217; is the name of your new theme)</li>
</ol>
<h3>Step 3: Add the new theme to the list of themes displayed under Site Settings &#8211; Site Theme</h3>
<ol>
<li>Navigate from the \THEMES folder to the \LAYOUTS folder (both are listed under C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE)</li>
<li>Within \LAYOUTS, navigate to \1033 (note: this is the default language for SharePoint &#8211; US English)</li>
<li>Within \1033, open the file &#8216;SPTHEMES.XML&#8217; in NotePad. This file determines the list of themes displayed under Site Settings &#8211; Site Theme</li>
<li>Within SPTHEMES.XML, you need to add a &#8216;templates&#8217; reference for your new theme. Copy the entire contents of an existing template (starts and ends with the &#8216;templates&#8217; tags into a new row within the file, and amend the properties to reflect your new theme</li>
<li>The tag &#8216;templateid&#8217; must match the name of your theme</li>
<li>The tag&#8217;displayname&#8217; is what will appear in the Themes list (can be more than one word)</li>
<li>Rename &#8216;thumbnail&#8217; and &#8216;preview&#8217; to &#8216;images/&#8217;newtheme&#8217;.gif&#8217;. Where &#8216;newtheme&#8217; is the name of your new theme Note: You haven&#8217;t created this file yet, that&#8217;s coming in Part 2.</li>
<li>Save and close the file</li>
<li>Open a command line and run &#8216;iisreset&#8217; to restart IIS and SharePoint</li>
<li>Open a browser and navigate to a site within your SharePoint deployment. Go to Site Settings Site Theme and your new theme should now be listed (with a missing image for preview and thumbnail)</li>
</ol>
<p>That&#8217;s it. The first stage is complete. You have a fresh theme waiting to be modified to include your own style and formatting. The next stages are to modify the .css files, specifically theme.css (within your new theme folder) and core.css (affects all themes within your SharePoint deployment)</p>
<p><strong><span style="font-size: 85%;">References:</span></strong></p>
<ul>
<li><a href="http://www.sharepointblogs.com/tigirry/archive/2007/07/03/custom-site-theme-for-sharepoint-2007-moss-2007-and-wss-3-0.aspx"><span style="font-size: 85%;">Custom site theme for MOSS 2007 and WSS 3.0</span></a><span style="font-size: 85%;"> (site down at time of writing)</span></li>
<li><a href="http://beyondsharepoint.blogspot.com/2009/04/creating-custom-theme-for-sharepoint.html"><span style="font-size: 85%;">Creating a custom theme for SharePoint 2007</span></a><span style="font-size: 85%;"> (includes publishing version specific to MOSS 2007)</span></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointsharon.com/2009/08/create-your-own-sharepoint-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It might be broken, but I can&#8217;t see it&#8230;</title>
		<link>http://www.sharepointsharon.com/2005/10/it-might-be-broken-but-i-cant-see-it/</link>
		<comments>http://www.sharepointsharon.com/2005/10/it-might-be-broken-but-i-cant-see-it/#comments</comments>
		<pubDate>Tue, 11 Oct 2005 23:22:00 +0000</pubDate>
		<dc:creator>Sharon Richardson</dc:creator>
				<category><![CDATA[articles]]></category>
		<category><![CDATA[visual design]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[ribbon]]></category>
		<category><![CDATA[training]]></category>
		<category><![CDATA[UI]]></category>

		<guid isPermaLink="false">http://www.sharepointsharon.com/2005/10/it-might-be-broken-but-i-cant-see-it/</guid>
		<description><![CDATA[Good article written by Jakob Neilsen over on www.useit.com, discussing the history of the graphical user interface (GUI), and the reality that the current method of WYSIWYG (whizz-ee-wig: What You See Is What You Get) menus is going past its sell-by date. Jakob then discusses the work Microsoft is doing with the new Office 12 [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.sharepointsharon.com%2F2005%2F10%2Fit-might-be-broken-but-i-cant-see-it%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.sharepointsharon.com%2F2005%2F10%2Fit-might-be-broken-but-i-cant-see-it%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Good <a href="http://www.useit.com/alertbox/wysiwyg.html">article</a> written by Jakob Neilsen over on www.useit.com, discussing the history of the graphical user interface (GUI), and the reality that the current method of WYSIWYG (<em>whizz-ee-wig</em>: What You See Is What You Get) menus is going past its sell-by date. Jakob then discusses the work Microsoft is doing with the new <a href="http://www.microsoft.com/office/preview/uioverview.mspx">Office 12 UI</a>, and coins the term WYGIWYS (<em>wig-ee-whizz</em>: what you get is what you see). One of the main reasons Microsoft has decided to redesign the UI is that a ridiculous percentage of feature requests are for features already in the product, suggesting that people can&#8217;t find the tools they are looking for&#8230;</p>
<p>I fell into IT back in 1991, when Word Perfect led the word processing world (on DOS) and Lotus 1-2-3 was <em>the</em> spreadsheet to use (on Windows 3.x). In those days, a WYSIWYG menu was easier to access from the keyboard than the mouse. As a bit of a spreadsheet queen, I could update a formula, format the results and send the file to the printer in less time than it would take to move your hand over to the mouse. When I discovered macros, it just got easier <img src='http://www.sharepointsharon.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  You entered the commands once inside curly {} brackets, assigned a short-cut key and hey presto! Those were the days&#8230;</p>
<p>As desktop applications developed, it became more difficult to stick with the keyboard &#8211; so many extra key strokes were required, it was easier to just use the mouse. But the mouse was still not as efficient as those early days with the keyboard.</p>
<p>Radically changing the UI of such a well known application is a brave move. I&#8217;m still a bit of a spreadsheet nut, and when I first saw the O12 UI demonstrated&#8230; well&#8230; I hated it. Sure, the actual demos using data then looked very cool, but my initial reaction, when Excel was first opened, was Yuk! I was pretty disappointed with myself &#8211; I&#8217;m normally the one advocating change and here I was, hating the thought of it&#8230; So, with an Excel 12 phobia rapidly developing, I installed the code last week (note: the code is not publicly available, I work for Microosft). With trepidation, I launched Excel&#8230;. yup, same reaction. I absolutely hated looking at it. Bring back my menus I thought, I want my customised toolbar. I started to enter some data, started experimenting with formulas to play with the new visualisation capabilities (very slick), but still there was some serious animosity towards the new ribbon that has replaced my beloved menus&#8230; and then I closed Excel. I just didn&#8217;t want to play with it any more. This is the worst reaction I have ever had to a new software feature.</p>
<p>Why am I writing about all this? For one simple reason. I will learn to love the new UI, and when I do, I&#8217;ll find it easier to work with Excel than before, and I&#8217;ll wonder why I had such a problem with it in the beginning. But I need to remember and record this initial reaction, because I know I&#8217;m going to see it again, in the not-to-distant future. I&#8217;ll be analysing my own learning curve hopefully to make it easier amd smoother when others react like I did. Conveniently, my mom&#8217;s a bit of spreadsheet queen too, so I&#8217;ll have a volunteer to test the process on.</p>
<p>Back to those early days&#8230; In 1993, the company I was working for decided to switch to none other than Microsoft Word, and I was tasked with migrating the secretaries from Word Perfect (v5, still running on DOS &#8211; that&#8217;s the old blue screen version, for those who remember it). Well&#8230; Hell hath no fury like a secretary losing a customised Word Perfect menu system. You would have thought I was forcing them to switch to stone tablets. They absolutely hated Word, with a passion. I remember spending an entire weekend migrating their blessed menus, macros and short cuts to the nearest equivalents I could muster in Word. And my name was still mud for at least 6 months! I couldn&#8217;t go near one of them without receiving a lecture about why I was ruining their ability to work, how much longer it was taking them to do anything, how awful this weird GUI thingy was, yade, yade, yade. The list went on and on&#8230; But they did finally get used to it, and then they started to do stuff they couldn&#8217;t do before. When, 2 years later, it was everyone else&#8217;s turn (email had arrived and the need to swap files led to standardising on Microsoft Office &#8211; let&#8217;s not start that argument), they were the advocates who helped train everyone. Oh how they would laugh if they could see my reaction today. I seem to recall I wasn&#8217;t too sympathetic to their cause at the time&#8230;</p>
<p>Moral of the story: When we don&#8217;t think or realise a system is broken, we will be incredibly reluctant to change it for something unfamiliar, no matter how reasonable the argument for change is. Understanding that feeling makes working through it a whole lot easier&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sharepointsharon.com/2005/10/it-might-be-broken-but-i-cant-see-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

