<?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>Longhouses &#187; CSS</title>
	<atom:link href="http://www.longhouses.nl/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.longhouses.nl</link>
	<description>creëert business</description>
	<lastBuildDate>Mon, 10 Feb 2014 12:13:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.38</generator>
	<item>
		<title>Typography button</title>
		<link>http://www.longhouses.nl/typography-button/</link>
		<comments>http://www.longhouses.nl/typography-button/#comments</comments>
		<pubDate>Wed, 11 Jul 2012 14:52:14 +0000</pubDate>
		<dc:creator><![CDATA[webmaster]]></dc:creator>
				<category><![CDATA[Theme back-end]]></category>
		<category><![CDATA[back-end]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[shortcodes]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[typography]]></category>

		<guid isPermaLink="false">http://www.longhouses.nl/?p=386</guid>
		<description><![CDATA[To simplify shortcodes use available in themes based on GavernWP framework, a button for theme&#8217;s typography has been implemented which is available in a posts editor: &#160; By clicking this button, you will see a list of available typography elements: &#160; It is possible to choose a version with a stylistic specified for the majority [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>To simplify shortcodes use available in themes based on GavernWP framework, a button for theme&#8217;s typography has been implemented which is available in a posts editor:<a href="http://www.longhouses.nl/wp-content/uploads/2012/07/Edit-Post-‹-Meet-Gavern-WP-—-WordPress-4.jpg"><img class="aligncenter size-full wp-image-705" title="button typo" src="http://www.longhouses.nl/wp-content/uploads/2012/07/Edit-Post-‹-Meet-Gavern-WP-—-WordPress-4.jpg" alt="" width="474" height="118" /></a></p>
<p>&nbsp;</p>
<p>By clicking this button, you will see a list of available typography elements:<a href="http://www.longhouses.nl/wp-content/uploads/2012/07/Edit-Post-‹-Meet-Gavern-WP-—-WordPress-5.jpg"><img class="aligncenter size-full wp-image-706" title="typo button popup" src="http://www.longhouses.nl/wp-content/uploads/2012/07/Edit-Post-‹-Meet-Gavern-WP-—-WordPress-5.jpg" alt="" width="265" height="353" /></a></p>
<p>&nbsp;</p>
<p>It is possible to choose a version with a stylistic specified for the majority of elements. After choosing a particular style, a shortcode will appear which will be replaced in entry content by scripts to structure styled in a way given.</p>
<p>Please, note that adding a new Shortcode code requires three operations:</p>
<ul>
<li>adding an entry in shortcodes.js configuration file</li>
<li>adding PHP code supporting a shortcode given</li>
<li>adding optional CSS and JavaScript code (if a shortcode given requires it)</li>
</ul>
<p><strong>shortcodes.js</strong> file in <strong>config</strong> catalog includes entries which are replaced to menu structure visible after clicking a typography button &#8211; it includes <strong>$GAVERNWP_SHORTCODES</strong> variable which is a table including objects representing elements of a menu. Each object has three features: <strong>title</strong>, <strong>code</strong> and <strong>submenu</strong>. Let&#8217;s analyze this structure with a <strong>Highlight</strong> position:</p>
<pre class="gk-code" data-style="style1"><code>{
"title": "Highlight",<br />
"code": "[highlight]Your text[/highlight]",<br />
"submenu": [<br />
{<br />
"title": "Style I",<br />
"code": "[highlight style=\"1\"]Your text[/highlight]"<br />
},<br />
{<br />
"title": "Style II",<br />
"code": "[highlight style=\"2\"]Your text[/highlight]"<br />
},<br />
{<br />
"title": "Style III",<br />
"code": "[highlight style=\"3\"]Your text[/highlight]"<br />
}<br />
]<br />
},</code></pre>
<ul>
<li><strong>title</strong> &#8211; it includes a menu positon name displayed by a script</li>
<li><strong>code</strong> &#8211; it is a shortcode code which will be added to an entry when clicking a menu position given &#8211; you have to remember that not all menu positions on the first level have a value in this field &#8211; if it was an empty sequence of symbols, it means for a script that clicking on a menu position given does not request any action.</li>
<li><strong>submenu</strong> &#8211; it is a table  of a submenu of a menu position given. Each submenu position is built the same as menu positions as these on the first level but with one difference &#8211; a submenu cannot have the next submenu, so you do not add a <strong>submenu</strong> feature in a submenu object.</li>
</ul>
<p>Let&#8217;s say, we added our shortcode to a typography button using shortcodes.js file. So, there is one thing left to do &#8211; support our shortcode from a theme side.</p>
<p>To do this, you have to open <strong>gavern/helpers/helpers.shortcodes.php</strong> file.</p>
<p>This file is divided into three main sections starting with lines similar to:</p>
<pre class="gk-code" data-style="style1"><code>if(get_option($tpl-&gt;name . '_shortcodes1_state', 'Y') == 'Y') {</code></pre>
<p>It is a conditional  IF instruction connected with a group of typography elements given. Gavern icludes three groups:</p>
<ul>
<li>typography elements &#8211; functions connected with it have <strong>gavern_ts_</strong> prefix in the title</li>
<li>interactive elements &#8211; functions connected with it have <strong>gavern_ies_</strong> prefix in the title</li>
<li>elements characteristic for a particular theme &#8211; functions connected with it have <strong>gavern_tss_</strong> prefix in the title</li>
</ul>
<p>We recommend to add new typography elements in the last group &#8211; in Meet GavernWP theme, it is empty by default. Please, remember about using an appropriate prefix in a function name for a group given, e.g. in the case of the third group, it will be <strong>gavern_tss_</strong>. The code itself of a shortcode given has to be created according to guidelines described in<a href="http://codex.wordpress.org/Shortcode_API"> Shortcode API</a>.</p>
<p>The last step is rather optional and depends on your Shortcode type. If your Shortcode requires additional CSS or JavaScript code, you have to define it in <strong>shortcodes.*.css</strong> i <strong>shortcodes.*.js</strong> files, where <strong>*</strong> is a group name to which a Shortcode given was assigned.</p>
<p>It is very important to place elements of CSS and JavaScript code in an appropriate file, as it will give a possibility of optimizing whole theme code when switching off given group of Shortcodes codes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longhouses.nl/typography-button/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Widget rules</title>
		<link>http://www.longhouses.nl/widget-rules-2/</link>
		<comments>http://www.longhouses.nl/widget-rules-2/#comments</comments>
		<pubDate>Tue, 10 Jul 2012 07:59:29 +0000</pubDate>
		<dc:creator><![CDATA[webmaster]]></dc:creator>
				<category><![CDATA[Theme Features]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[widget rules]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://www.longhouses.nl/?p=370</guid>
		<description><![CDATA[Widget rules is a mechanism which introduces a completely new way to manage widgets on a website. Thanks to it, it is possible to specify widget features such as: displaying on subpages chosen, displaying on devices chosen, displaying for a group of users chosen, displaying with a widget style use chosen. After switching on widget [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Widget rules is a mechanism which introduces a completely new way to manage widgets on a website. Thanks to it, it is possible to specify widget features such as:</p>
<ul>
<li>displaying on subpages chosen,</li>
<li>displaying on devices chosen,</li>
<li>displaying for a group of users chosen,</li>
<li>displaying with a widget style use chosen.</li>
</ul>
<p>After switching on widget rules in theme&#8217;s advanced settings, under each widget, the following options should be displayed:</p>
<p><a href="http://www.longhouses.nl/wp-content/uploads/2012/07/Widgets-‹-Meet-Gavern-WP-—-WordPress-1.jpg"><img class="aligncenter size-full wp-image-371" title="Widgets ‹ Meet Gavern WP — WordPress-1" src="http://www.longhouses.nl/wp-content/uploads/2012/07/Widgets-‹-Meet-Gavern-WP-—-WordPress-1.jpg" alt="" width="258" height="200" /></a></p>
<p>The most extensive options are those connected with a widget visibility on subpages chosen &#8211; after choosing an option to show a widget on pages chosen (or an option not showing a widget on pages chosen), such a panel will appear:</p>
<p><a href="http://www.longhouses.nl/wp-content/uploads/2012/07/Widgets-‹-Meet-Gavern-WP-—-WordPress-1-1.jpg"><img class="aligncenter size-full wp-image-372" title="Widgets ‹ Meet Gavern WP — WordPress-1-1" src="http://www.longhouses.nl/wp-content/uploads/2012/07/Widgets-‹-Meet-Gavern-WP-—-WordPress-1-1.jpg" alt="" width="240" height="203" /></a></p>
<p>Then, you have to choose a page&#8217;s type to add, e.g. Category, and then give category ID:</p>
<p><a href="http://www.longhouses.nl/wp-content/uploads/2012/07/Widgets-‹-Meet-Gavern-WP-—-WordPress-2.jpg"><img class="aligncenter size-full wp-image-373" title="Widgets ‹ Meet Gavern WP — WordPress-2" src="http://www.longhouses.nl/wp-content/uploads/2012/07/Widgets-‹-Meet-Gavern-WP-—-WordPress-2.jpg" alt="" width="242" height="216" /></a></p>
<p>After clicking &#8220;Add page&#8221; button, a page will appear on a list of pages chosen on which in our case a widget will be displayed:</p>
<p><a href="http://www.longhouses.nl/wp-content/uploads/2012/07/Widgets-‹-Meet-Gavern-WP-—-WordPress-3.jpg"><img class="aligncenter size-full wp-image-374" title="Widgets ‹ Meet Gavern WP — WordPress-3" src="http://www.longhouses.nl/wp-content/uploads/2012/07/Widgets-‹-Meet-Gavern-WP-—-WordPress-3.jpg" alt="" width="233" height="77" /></a></p>
<p>Of course, it is possible to add more pages:</p>
<p><a href="http://www.longhouses.nl/wp-content/uploads/2012/07/Widgets-‹-Meet-Gavern-WP-—-WordPress-4.jpg"><img class="aligncenter size-full wp-image-375" title="Widgets ‹ Meet Gavern WP — WordPress-4" src="http://www.longhouses.nl/wp-content/uploads/2012/07/Widgets-‹-Meet-Gavern-WP-—-WordPress-4.jpg" alt="" width="230" height="100" /></a></p>
<p>To make it clearer, , each page&#8217;s type is displayed with a different color. A page added can be removed by clicking a removing icon placed on the right side of each page.</p>
<p>In this way, you may set a widget so as to be shown on pages chosen or to be shown on all pages except the chosen ones.</p>
<p>Generally, widgets are shown on all pages.</p>
<p>An option of displaying a widget on devices chosen has five options to choose:</p>
<ul>
<li><strong>All devices</strong> &#8211; a widget will be displayed everytwhere &#8211; on every device</li>
<li><strong>Desktop</strong> &#8211; a widget will be displayed only when neither a <strong>tablet.css</strong> file nor a <strong>mobile.css</strong> is loaded <strong></strong></li>
<li><strong>Tablets</strong> &#8211; a widget displays only when a <strong>tablet.css</strong> file will be loaded and, at the same time, a <strong>mobile.css</strong> file will not be loaded <strong></strong></li>
<li><strong>Smartphones</strong> &#8211; a widget will be displayed only when a <strong>mobile.css</strong> file will be loaded</li>
<li><strong>Tablets/Smartphones</strong> &#8211; a widget will be displayed when at least one file will be loaded: <strong>tablet.css</strong> or <strong>mobile.css</strong>.</li>
</ul>
<p>Thanks to these settings, it is possible to limit significantly the amount of content displayed on devices with small screens.</p>
<p>An option of displaying widget for a chosen groups of users has four options to choose:</p>
<ul>
<li><strong>All users</strong> &#8211; a widget will be displayed to all users</li>
<li><strong>Only guests</strong> &#8211; a widget will be displayed to not logged in users</li>
<li><strong>Only registered users</strong> &#8211; a widget will be displayed to logged in users only</li>
<li><strong>Only administrator</strong> &#8211; a widget will be displayed to administrators only</li>
</ul>
<p>Thanks to this option, it is possible e.g. to display messages specified by using widgets for a group of users chosen.</p>
<p>The last optio from widget rules is an option for choosing a widget style &#8211; it causes appending to a widget main container an additional class giving styling specified by a user.</p>
<p>Widget styles are defined in widget.styles.json file and in CSS code &#8211; in this case in <strong>css/wp.extensions.css</strong>.<strong></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.longhouses.nl/widget-rules-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom Page Styles</title>
		<link>http://www.longhouses.nl/custom-page-styles-2/</link>
		<comments>http://www.longhouses.nl/custom-page-styles-2/#comments</comments>
		<pubDate>Tue, 10 Jul 2012 07:18:36 +0000</pubDate>
		<dc:creator><![CDATA[webmaster]]></dc:creator>
				<category><![CDATA[Theme Features]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[custom page styles]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.longhouses.nl/?p=367</guid>
		<description><![CDATA[GavernWP makes accessible a few own styles of subpages. Thanks to them, it is possible to use WordPress possiblitities better  and adjusting pages to themes chosen. All additional subpages styles are placed in a main catalog in template.*.php files. GavernWP has the following subpages: template.archive.php &#8211; an archive page, in includes a list of recent [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>GavernWP makes accessible a few own styles of subpages. Thanks to them, it is possible to use WordPress possiblitities better  and adjusting pages to themes chosen.</p>
<p>All additional subpages styles are placed in a main catalog in <strong>template.*.php</strong> files. GavernWP has the following subpages:</p>
<ul>
<li><strong>template.archive.php</strong> &#8211; an archive page, in includes a list of recent posts, categories and a list of links to monthly archives.</li>
<li><strong>template.contact.php</strong> &#8211; a page with a contact form which allows to send an email to an email address specified in a WordPress configuration.</li>
<li><strong>template.fullwidth.php</strong> &#8211; a page&#8217;s layout without a sidebar.</li>
<li><strong>template.gallery.php</strong> &#8211; a page generating an animated gallery of images with a mechanism of attachments available in WordPress &#8211; it is enough to assign attachments to such a page that they will show as slides in a gallery. It is recommened to choose images with the same size.</li>
<li><strong>template.login.php</strong> &#8211; a page generating a login form for users &#8211; after logging in, it displays information about his/her username and a button to log out.</li>
<li><strong>template.tagcloud.php</strong> &#8211; a page generating a tag cloud of our website.</li>
</ul>
<p>Main CSS styles of subpages are in a <strong>css/stuff.css</strong> file. However, you have to remember that some more extensive files of subpages may additionally load CSS and JavaScript files from <strong>css/templates/</strong> and <strong>js/templates/</strong>.</p>
<p>In order to load additional files in this way, it is enough to specify the second parameter of a <strong>gk_load</strong> function (see: code of requesting a <strong>gk_load</strong> function in a <strong>template.gallery.php</strong> file).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longhouses.nl/custom-page-styles-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Threaded comments</title>
		<link>http://www.longhouses.nl/threaded-comments-2/</link>
		<comments>http://www.longhouses.nl/threaded-comments-2/#comments</comments>
		<pubDate>Tue, 10 Jul 2012 07:04:27 +0000</pubDate>
		<dc:creator><![CDATA[webmaster]]></dc:creator>
				<category><![CDATA[Theme Features]]></category>
		<category><![CDATA[comments]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.longhouses.nl/?p=364</guid>
		<description><![CDATA[GavernWP has support for comments with a division into threads. Thanks to it, discussions made in comments under a post given are clearer. All options connected with comments configuration can be set by using standard options in a WordPress administration panel (Settings &#62; Discussion). Threads in comments are switched on thanks to &#8220;Enable threaded (nested) [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>GavernWP has support for comments with a division into threads. Thanks to it, discussions made in comments under a post given are clearer.</p>
<p>All options connected with comments configuration can be set by using standard options in a WordPress administration panel (Settings &gt; Discussion). Threads in comments are switched on thanks to &#8220;Enable threaded (nested) comments&#8221; and specifying maximal depth of nested comments in threads.</p>
<p>There are two files responsible for generating HTML code of comments, namely:</p>
<ul>
<li><strong>comments.php</strong> &#8211; it includes a code which generates a comments list and a form of adding comments.</li>
<li><strong>gavern/helpers/helper.layout.fragments.php</strong> &#8211; in <strong>gavern_comment_template</strong> function, there is a code responsible for generating a code of a comment given.</li>
</ul>
<p>CSS code responsible for a style of comments and a form of adding comments is in <strong>css/wp.css</strong> file.<strong></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.longhouses.nl/threaded-comments-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Theme CSS</title>
		<link>http://www.longhouses.nl/template-css/</link>
		<comments>http://www.longhouses.nl/template-css/#comments</comments>
		<pubDate>Tue, 10 Jul 2012 06:48:59 +0000</pubDate>
		<dc:creator><![CDATA[webmaster]]></dc:creator>
				<category><![CDATA[Theme essentials]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.longhouses.nl/?p=361</guid>
		<description><![CDATA[Theme&#8217;s CSS code is divided into a few files, loaded in order specified. All these files are in css catalog. You have to remember that order of these files is very important and its change may cause unpredictable changes of theme&#8217;s look because of using moving from general styling to detailed styling in CSS code. [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Theme&#8217;s CSS code is divided into a few files, loaded in order specified. All these files are in <strong>css</strong> catalog. You have to remember that order of these files is very important and its change may cause unpredictable changes of theme&#8217;s look because of using moving from general styling to detailed styling in CSS code.</p>
<p>The list of CSS files used in a theme is presented below (order according to recommended order of loading these files):</p>
<ol>
<li><strong>normalize.css</strong> &#8211; CSS code unifying page&#8217;s elements styling in all browsers</li>
<li><strong>template.css</strong> &#8211; the most important CSS file responsible for page&#8217;s layout styling , basic typography, widget styling, etc.</li>
<li><strong>wp.css</strong> &#8211; CSS rules which are responsible for WordPress elements styling, e.g. a comments form , comments themselves or posts elements.</li>
<li><strong>shortcodes.*.css</strong> (optional) &#8211; a group of CSS files responsible for typography elements styling inserting to posts with Shortcodes.</li>
<li><strong>stuff.css</strong> &#8211; it includes styling of additional theme&#8217;s elements sucha s breadcrumbs or font-size switcher.</li>
<li><strong>wp.extensions.css</strong> &#8211; CSS rules connected with styling of standard widgets available with WordPress.</li>
<li><strong>extensions.css (optional)</strong> &#8211; a CSS file which you have to add yourself in the case when you want to style additional widgets. In the case of small changes in widget styling, we recommend to use <strong>override.css</strong> file instead of this file.</li>
<li><strong>tablet.css</strong> &#8211; CSS rules used while displaying a page on tablet devices.</li>
<li><strong>mobile.css</strong> &#8211; CSS rules used while displaying  a page on smartfon devices.</li>
<li><strong>ie*.css</strong> &#8211; a file or a group of CSS files used for correcting page&#8217;s look in an Internet Explorer browser.</li>
<li><strong>style*.css</strong> &#8211; a file or a group of CSS files used for changing coloring or general style of a theme &#8211; they are loaded automatically by a mechanism responsible for theme&#8217;s coloring.</li>
<li><strong>override.css</strong> (optional) &#8211; you may add your own rules in this file which will overwrite existing rules in previous files &#8211; a perfect solution for theme modification without modifying the remaining CSS files.</li>
</ol>
<p>Additionally, CSS code used in a theme itself, you will also find in a <strong>templates</strong> catalog where there are CSS files loaded on chosen styles of subpages, e.g. needed for correct work of a gallery.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longhouses.nl/template-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Responsive Layout</title>
		<link>http://www.longhouses.nl/responsive-layout/</link>
		<comments>http://www.longhouses.nl/responsive-layout/#comments</comments>
		<pubDate>Mon, 09 Jul 2012 10:24:12 +0000</pubDate>
		<dc:creator><![CDATA[webmaster]]></dc:creator>
				<category><![CDATA[Theme Features]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[responsive]]></category>

		<guid isPermaLink="false">http://www.longhouses.nl/?p=351</guid>
		<description><![CDATA[GavernWP makes possible to create themes based on Responsive Web Design. That&#8217;s why, it has two additional CSS styles: tablet.css mobile.css Thanks to options available in an administration panel, it is possible to specify when these styles will be loaded. Two column layout (if a column is switched on) is loaded when tablet.css file is [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>GavernWP makes possible to create themes based on Responsive Web Design. That&#8217;s why, it has two additional CSS styles:</p>
<ul>
<li>tablet.css</li>
<li>mobile.css</li>
</ul>
<p>Thanks to options available in an administration panel, it is possible to specify when these styles will be loaded.</p>
<p>Two column layout (if a column is switched on) is loaded when tablet.css file is not loaded.</p>
<p>At the moment of reaching maximum width for tablet.css file, page&#8217;s layout is changed into one column and the column itself is placed before or after page&#8217;s main content.</p>
<p>Additionally, in widget positions like top or bottom1/2/3, modules from three column layout are changed into one column  layout.</p>
<p>After loading mobile.css file there is one column layout used everywhere.</p>
<p>A very important improvement is a possibility of specifying whether a module will be loaded in tablet or mobile mode. More information can be found in Widget Rules entry.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longhouses.nl/responsive-layout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Color Styles</title>
		<link>http://www.longhouses.nl/color-styles/</link>
		<comments>http://www.longhouses.nl/color-styles/#comments</comments>
		<pubDate>Mon, 09 Jul 2012 09:56:08 +0000</pubDate>
		<dc:creator><![CDATA[webmaster]]></dc:creator>
				<category><![CDATA[Theme Features]]></category>
		<category><![CDATA[colors]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[JSON]]></category>

		<guid isPermaLink="false">http://www.longhouses.nl/?p=349</guid>
		<description><![CDATA[GavernWP has an extensive mechanism allowing to create additional theme styles. We may distinguish two main groups of styles in this mechanism: style family styles included in style family given The whole configuration is included in styles.json file: As you can see, it includes color style family which has two styles, namely: Color I and [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>GavernWP has an extensive mechanism allowing to create additional theme styles. We may distinguish two main groups of styles in this mechanism:</p>
<ul>
<li>style family</li>
<li>styles included in style family given</li>
</ul>
<p>The whole configuration is included in <strong>styles.json</strong> file:</p>
<pre class="gk-code" data-style="style1"><code>[{
"family": "color",<br />
"family_desc": "Theme color",<br />
"family_tooltip": "You can select one of the theme colors",<br />
"styles": [<br />
{<br />
"name": "Color I",<br />
"value": "color1",<br />
"file": "style1.css"<br />
},<br />
{<br />
"name": "Color II",<br />
"value": "color2",<br />
"file": "style2.css"<br />
}<br />
]<br />
}]</code></pre>
<p>As you can see, it includes <strong>color</strong> style family which has two styles, namely: <strong>Color I</strong> and <strong>Color II</strong>.</p>
<p>In order to create new style family or a style for style family given, it is enough to create a next object in <strong>styles.json</strong> file and then create CSS files connected with a family given &#8211; in the case of <strong>color</strong> family, these are <strong>style1.css</strong> and <strong>style2.css</strong> files.</p>
<p>GavernWP will load CSS files of a style given in a <strong>head</strong> section &#8211; chosen in an administration panel or, if there is a tool for choosing user&#8217;s styles switched on, they will be loaded based on a Cookie file storing data about a style used by a user.</p>
<p>You have to remember that for each style family there is at least one CSS file loaded. Therefore, creating coexisting style families like:</p>
<ul>
<li><strong>dark styles</strong> and <strong>light styles</strong></li>
<li><strong>blue styles</strong> and <strong>green styles</strong></li>
</ul>
<p>is incorrect because at least one CSS style from each family will be loaded immediately. So the correct one is creating style families responsible for some elements of website styling, e.g. a separate family responsible for website coloring (<strong>colors</strong>) and a separate one for website background (<strong>patterns</strong>).</p>
<p>Generally, you have to care about particular style families in order not to overwrite one another.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longhouses.nl/color-styles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Framework structure</title>
		<link>http://www.longhouses.nl/framework-structure-2/</link>
		<comments>http://www.longhouses.nl/framework-structure-2/#comments</comments>
		<pubDate>Sun, 08 Jul 2012 09:30:56 +0000</pubDate>
		<dc:creator><![CDATA[webmaster]]></dc:creator>
				<category><![CDATA[Theme essentials]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Custom Pages]]></category>
		<category><![CDATA[fonts]]></category>
		<category><![CDATA[Framework]]></category>
		<category><![CDATA[JS]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[translations]]></category>

		<guid isPermaLink="false">http://www.longhouses.nl/?p=330</guid>
		<description><![CDATA[Gavern Framework has a quite extensive files structure. It is similar to a standard structure of majority of the themes, however, because of many functionalities, there are some new elements. The overall outline of files structure is presented below: theme&#8217;s catalog It includes all basic files and catalogs for a theme. It is worth seeing [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Gavern Framework has a quite extensive files structure. It is similar to a standard structure of majority of the themes, however, because of many functionalities, there are some new elements.</p>
<p><span id="more-330"></span></p>
<p>The overall outline of files structure is presented below:</p>
<ol>
<li><strong>theme&#8217;s catalog</strong><br />
<small>It includes all basic files and catalogs for a theme. It is worth seeing that Custom Pages templats have a <strong>theme.</strong> prefix at the beginning of their names which helps to find them in files structure.</small></p>
<ol>
<li><strong>css</strong><br />
<small>There are all CSS theme&#8217;s files in it. They are described in details in an entry about framework&#8217;s CSS code.<br />
</small></p>
<ol>
<li><strong>back-end</strong><br />
<small>To have everything ordered, CSS files connected with an administration panel were placed in this catalog.<br />
</small></li>
</ol>
</li>
<li><strong>fonts</strong><br />
<small>This catalog is used for storing files with additional fonts. You have to remember that each font must have its own catalog including a stylesheet.css file. More information about fonts service can be found in an entry about <strong>Fonts</strong> in an administration panel.<strong></strong><br />
</small></li>
<li><strong>gavern</strong><br />
<small>A catalog including the base of whole GavernWP framework work.<br />
</small></p>
<ol>
<li><strong>classes</strong><br />
<small>Files with supporting classes used in framework&#8217;s code.<br />
</small></li>
<li><strong>config</strong><br />
<small>Files including framework&#8217;s configuration. It has to be remembered that there are additional catalogs used for making transalations.<br />
</small></li>
<li><strong>form_elements</strong><br />
<small>It includes a main file with a code which generates basic form elements in an administration panel, as well as, catalogs with elements created by a user.<br />
</small></li>
<li><strong>helpers</strong><br />
<small>A collection of classes connected with specific framework&#8217;s tasks, e.g. with generating layout fragments.<br />
</small></li>
<li><strong>layouts</strong><br />
<small>Files used for generating HTML code of an administration panel.<br />
</small></li>
<li><strong>options</strong><br />
<small>Files which store options of particular sections of theme&#8217;s administration panel. Similarly to <strong>config</strong> catalog; there are also additional catalogs used for making translations.<strong></strong><br />
</small></li>
</ol>
</li>
<li><strong>images</strong><br />
<small>Graphic files used with a theme<br />
</small></p>
<ol>
<li><strong>back-end</strong><br />
<small>Files connected with an administration panel.<br />
</small></li>
<li><strong>headers</strong><br />
<small>Default header&#8217;s images.<br />
</small></li>
<li><strong>post_formats</strong><br />
<small>Images connected with entries formats.<br />
</small></li>
</ol>
</li>
<li><strong>js</strong><br />
<small>JavaScript scripts files used in a thme<br />
</small></p>
<ol>
<li><strong>back-end</strong><br />
<small>Likewise in <strong>css</strong> and <strong>images</strong> catalogs there are files included used in an administration panel.<strong></strong><strong></strong><br />
</small></li>
<li><strong>templates</strong><br />
<small>Additional JavaScript files used by some Custom Pages.<br />
</small></li>
</ol>
</li>
<li><strong>languages</strong><br />
<small>Main files used for creating translations.<br />
</small></li>
<li><strong>layouts</strong><br />
<small>Files used for generating subpages; they include elements which are used very often; e.g. a head section.<br />
</small></li>
</ol>
</li>
</ol>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.longhouses.nl/framework-structure-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Typography</title>
		<link>http://www.longhouses.nl/typography/</link>
		<comments>http://www.longhouses.nl/typography/#comments</comments>
		<pubDate>Mon, 25 Jun 2012 11:42:54 +0000</pubDate>
		<dc:creator><![CDATA[webmaster]]></dc:creator>
				<category><![CDATA[Theme Features]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[typography]]></category>

		<guid isPermaLink="false">http://www.longhouses.nl/?p=207</guid>
		<description><![CDATA[GavernWP allows to access a lot of additional typography elements created with Shortcodes use. The use is very simple thanks to an additional button in a posts editor. A typography description from a programistic side has been divided into two parts, namely: front-end and back-end. Below, there are all elements available in theme&#8217;s typography. Typography [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>GavernWP allows to access a lot of additional typography elements created with <a title="Shortcode API" href="http://codex.wordpress.org/Shortcode_API" target="_blank">Shortcodes</a> use. The use is very simple thanks to <a title="Typography button" href="http://www.longhouses.nl/back-end-features/typography-button/" target="_blank">an additional button</a> in a posts editor. A typography description from a programistic side has been divided into two parts, namely: <a title="Typography API" href="http://www.longhouses.nl/template-api/typography-api/">front-end</a> and <a title="Typography API – back-end" href="http://www.longhouses.nl/back-end-api/typography-api-back-end/">back-end</a>.</p>
<p>Below, there are all elements available in theme&#8217;s typography. Typography elements can be divided into three main groups:</p>
<ul>
<li>typography elements,</li>
<li>interactive elements,</li>
<li>elements prepared especially for a particular theme.</li>
</ul>
<h2>Warnings / Infos / Notices / Errors</h2>
<p>These elements are used for highlighting text fragments together with their importance / type of information by using appropriate colors.</p>
<p class="gk-warning">Warning text example using Shortcodes</p>
<p class="gk-info">Info text example using Shortcodes</p>
<p class="gk-notice">Notice text example using Shortcodes</p>
<p class="gk-error">Error text example using Shortcodes</p>
<h2>Labels</h2>
<p>Labels are useful for marking the importance of the text fragment or a word given. In the case of longer texts, we recommend to use elements from <em>Warnings / Infos / Notices</em> group.</p>
<p>This is a paragraph with the <strong class="gk-label" data-style="style1">labeled text</strong> using the first style.</p>
<p>This is a paragraph with the <strong class="gk-label" data-style="style2">labeled text</strong> using the second style.</p>
<p>This is a paragraph with the <strong class="gk-label" data-style="style3">labeled text</strong> using the third style.</p>
<p>This is a paragraph with the <strong class="gk-label" data-style="style4">labeled text</strong> using the fourth style.</p>
<p>This is a paragraph with the <strong class="gk-label" data-style="style5">labeled text</strong> using the fifth style.</p>
<p>This is a paragraph with the <strong class="gk-label" data-style="style6">labeled text</strong> using the sixth style.</p>
<h2>Badges</h2>
<p>Badges in their look are similar to Labels, however, you may use them mainly for highlighting shorter texts, e.g. numerical values.</p>
<p>This is a paragraph with the badge <strong class="gk-badge" data-style="style1">12</strong> using the first style.</p>
<p>This is a paragraph with the badge <strong class="gk-badge" data-style="style2">12</strong> using the second style.</p>
<p>This is a paragraph with the badge <strong class="gk-badge" data-style="style3">12</strong> using the third style.</p>
<p>This is a paragraph with the badge <strong class="gk-badge" data-style="style4">12</strong> using the fourth style.</p>
<p>This is a paragraph with the badge <strong class="gk-badge" data-style="style5">12</strong> using the fifth style.</p>
<p>This is a paragraph with the badge <strong class="gk-badge" data-style="style6">12</strong> using the sixth style.</p>
<h2>Code listings</h2>
<p>We recommend to use an element creating code listings in one out of three styles available for presenting source codes:</p>
<pre class="gk-code" data-style="style1"><code>function helloWorld() {
alert('Hello World!');
}</code></pre>
<pre class="gk-code" data-style="style2"><code>function helloWorld() {
alert('Hello World!');
}</code></pre>
<pre class="gk-code" data-style="style3"><code>function helloWorld() {
alert('Hello World!');
}</code></pre>
<h2>Text blocks</h2>
<p>Text blocks are useful for generating an element highlighting a particular part of an  entry:</p>
<div class="gk-textblock" data-style="style1">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</div>
<div class="gk-textblock" data-style="style2">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</div>
<div class="gk-textblock" data-style="style3">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</div>
<div class="gk-textblock" data-style="style4">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</div>
<p class="gk-numblock" data-style="style1"><span>01</span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</p>
<p class="gk-numblock" data-style="style2"><span>02</span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</p>
<p class="gk-numblock" data-style="style3"><span>03</span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</p>
<p class="gk-numblock" data-style="style4"><span>04</span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</p>
<p>Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. <div class="gk-floated" data-align="left">Lorem ipsum dolor sit amet</div></p>
<p>Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. <div class="gk-floated" data-align="right">Lorem ipsum dolor sit amet</div></p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Nullam id dolor id nibh ultricies vehicula ut id elit. <div class="gk-floated" data-align="center">Lorem ipsum dolor sit amet</div> Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.</p>
<h2>Quote and Citations</h2>
<p>Quotes elements are useful for highlighting the author of a sentence given:</p>
<blockquote class="gk-quote" data-style="style1"><p>The content of the quote in style 1</p><cite>Author</cite></blockquote>
<blockquote class="gk-quote" data-style="style2"><p>The content of the quote in style 2</p><cite>Author</cite></blockquote>
<blockquote class="gk-quote" data-style="style3"><p>The content of the quote in style 3</p><cite>Author</cite></blockquote>
<blockquote class="gk-quote" data-style="style4"><p>The content of the quote in style 4</p><cite>Author</cite></blockquote>
<blockquote class="gk-quote" data-style="style5"><p>The content of the quote in style 5</p><cite>Author</cite></blockquote>
<h2>Dropcap</h2>
<p>Elements creating the first letter highlighted:</p>
<p class="gk-dropcap" data-style="style1">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</p>
<p class="gk-dropcap" data-style="style2">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</p>
<p class="gk-dropcap" data-style="style3">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</p>
<h2>Lists</h2>
<p>Ordered and unordered lists:</p>
<div class="gk-columns" data-column-count="4">
<div><ol data-style="style1">
<li>item1</li>
<li>item2</li>
<li>item3</li>

</ol></div>
<div><ol data-style="style2">
<li>item1</li>
<li>item2</li>
<li>item3</li>

</ol></div>
<div><ol data-style="style3">
<li>item1</li>
<li>item2</li>
<li>item3</li>

</ol></div>
<div><ol data-style="style4">
<li>item1</li>
<li>item2</li>
<li>item3</li>

</ol></div>
</div>
<div class="gk-columns" data-column-count="4">
<div><ul data-style="style1">
<li>item1</li>
<li>item2</li>
<li>item3</li>

</ul></div>
<div><ul data-style="style2">
<li>item1</li>
<li>item2</li>
<li>item3</li>

</ul></div>
<div><ul data-style="style3">
<li>item1</li>
<li>item2</li>
<li>item3</li>

</ul></div>
<div><ul data-style="style4">
<li>item1</li>
<li>item2</li>
<li>item3</li>

</ul></div>
</div>
<h2>Buttons</h2>
<p>Buttons in many different variations:</p>
<p><button class="gk-button" data-style="style1">Your text</button> <button class="gk-button" data-style="style2">Your text</button> <button class="gk-button" data-style="style3">Your text</button> <button class="gk-button" data-style="style4">Your text</button> <button class="gk-button" data-style="style5">Your text</button> <button class="gk-button" data-style="style6">Your text</button> <button class="gk-button" data-style="style7">Your text</button></p>
<h2>Legends</h2>
<p>Elements with legend useful while creating text blocks in a frame provided with an appropriate title.</p>
<div class="gk-legend" data-style="style1"><strong>Legend style 1</strong>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</div>
<div class="gk-legend" data-style="style2"><strong>Legend style 2</strong>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</div>
<div class="gk-legend" data-style="style3"><strong>Legend style 3</strong>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</div>
<div class="gk-legend" data-style="style4"><strong>Legend style 4</strong>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</div>
<div class="gk-legend" data-style="style5"><strong>Legend style 5</strong>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam quis risus eget urna mollis ornare vel eu leo.</div>
<h2>Raw text</h2>
<p>An element useful for generating text without formatting:</p>
<pre class="gk-raw" data-style="style1">Your text</pre>
<h2>Tooltips</h2>
<p>Tooltips may occur in two forms: a link to a different website with a tooltip or a text connected with the text:</p>
<a href="URL" class="gk-tooltip" data-style="style1">Default style<dfn>Text of the tooltip</dfn></a>
<a href="URL" class="gk-tooltip" data-style="style2">Blue style<dfn>Text of the tooltip</dfn></a>
<a href="URL" class="gk-tooltip" data-style="style3">Red style<dfn>Text of the tooltip</dfn></a>
<a href="URL" class="gk-tooltip" data-style="style4">Green style<dfn>Text of the tooltip</dfn></a>
<a href="URL" class="gk-tooltip" data-style="style5">Yellow style<dfn>Text of the tooltip</dfn></a>
<h2>Other typography elements</h2>
<p>Elements which could not be groupped to other categories.</p>
<p>Columns allow to place text in multicolumn layout:</p>
<div class="gk-columns" data-column-count="3">
<div>Content for the first column</div>
<div>Content for the second column</div>
<div>Content for the third column</div>

</div>
<p>Toggle text &#8211; elements useful for creating blocks with text to toggle:</p>
<div class="gk-toggle closed"><h3>Header text</h3><div>Cras mattis consectetur purus sit amet fermentum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit sit amet non magna. Maecenas sed diam eget risus varius blandit sit amet non magna. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Sed posuere consectetur est at lobortis.</div></div>
<div class="gk-toggle opened"><h3>Header text</h3><div>Cras mattis consectetur purus sit amet fermentum. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit sit amet non magna. Maecenas sed diam eget risus varius blandit sit amet non magna. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Sed posuere consectetur est at lobortis.</div></div>
<p>Shortcode pageurl allows to place an address to a blog:</p>
http://www.longhouses.nl
<p>A link to a RSS channel:</p>
<a class="gk-rss" href="URL"><i class="icon-bullhorn"></i>Link text</a>
<p>A link to a PDF document:</p>
<a class="gk-pdf" href="http://docs.google.com/viewer?url=URL"><i class="icon-file"></i>Text of the link</a>
<p>A private note in an entry, visible for an author only:</p>

<p>Mail illegible for bots creating data bases for spammers:</p>
<a href="mailto:&#101;&#109;&#97;&#105;&#108;&#46;&#116;&#111;&#64;&#111;&#98;&#102;&#117;&#115;&#99;&#97;&#116;&#101;&#46;&#99;&#111;&#109;">&#101;&#109;&#97;&#105;&#108;&#46;&#116;&#111;&#64;&#111;&#98;&#102;&#117;&#115;&#99;&#97;&#116;&#101;&#46;&#99;&#111;&#109;</a>
<p>Content visible for logged in users only:</p>
<div class="gk-members">Content for the members only</div>
<p>Related posts:</p>
<ol class="gk-related"><li><a title="Typography button" href="http://www.longhouses.nl/typography-button/">Typography button</a></li><li><a title="Widget rules" href="http://www.longhouses.nl/widget-rules-2/">Widget rules</a></li><li><a title="Custom Page Styles" href="http://www.longhouses.nl/custom-page-styles-2/">Custom Page Styles</a></li><li><a title="Threaded comments" href="http://www.longhouses.nl/threaded-comments-2/">Threaded comments</a></li><li><a title="Theme CSS" href="http://www.longhouses.nl/template-css/">Theme CSS</a></li></ol>
]]></content:encoded>
			<wfw:commentRss>http://www.longhouses.nl/typography/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
