E FLUX Tutorials. If anything goes wrong with E Flux, email me with a description and live test url. I do not offer support for theme modification, or individual stacks.
*Installing Custom Styles After downloading, unzip the folder, then double click the orange style icons (this will self-install the custom styles into Rapidweaver).
Next, completely close and restart Rapidweaver. Your custom style should now be available for use.
To access your custom styles, open your Page Inspector (Shift ⌘ I) and select Styles, then click the the folder icon below.
Next, completely close and restart Rapidweaver. Your custom style should now be available for use.
To access your custom styles, open your Page Inspector (Shift ⌘ I) and select Styles, then click the the folder icon below.
*Managing Custom Styles When duplicating E Flux, you will automatically lose your custom styles. To bring them back from the dead 1) Click the little gear next to the styles folder, and select "Reveal Styles in Finder..." 2) Open the .rwstyles in a code editor (Text Wangler is a free one) 3) Change the theme name at the bottom.
Until Realmac Software addresses this issue, this is the only method to keep your custom styles.
Until Realmac Software addresses this issue, this is the only method to keep your custom styles.
07Extra Content Usage First, special thanks to Adam at seyDesign for pioneering this very cool method. Ok, the extra content areas are as follows:
EC1) This area produces content above the Content and Sidebar areas, but below the toolbar. An ExtraContent stack or snippet can be used.
EC2) This area produces content below the Content and Sidebar areas, but above the footer. An ExtraContent stack or snippet can be used.
EC3) This area produces content inside the footer bar. This container is meant for very brief text. Only an ExtraContent snippet can be used in the sidebar, or copy / paste the code below.
<div id="myExtraContent3">My Custom Text</div>This code goes in the sidebar, be sure to clear and ignore the formatting.
EC4) This area makes links appear as sub navigation with the toolbar. This is good for external links, download links, or mediabox images, etc. For proper formatting, copy / paste the code below into the sidebar. Clear and Ignore Formatting.
<div id="myExtraContent4">
<ul>
<li><a href="http://google.com">Google link</a></li>
<li><a href="your_url">My custom link</a></li>
</ul>
</div>This code goes in the sidebar, be sure to clear and ignore the formatting.
EC1) This area produces content above the Content and Sidebar areas, but below the toolbar. An ExtraContent stack or snippet can be used.
EC2) This area produces content below the Content and Sidebar areas, but above the footer. An ExtraContent stack or snippet can be used.
EC3) This area produces content inside the footer bar. This container is meant for very brief text. Only an ExtraContent snippet can be used in the sidebar, or copy / paste the code below.
<div id="myExtraContent3">My Custom Text</div>This code goes in the sidebar, be sure to clear and ignore the formatting.
EC4) This area makes links appear as sub navigation with the toolbar. This is good for external links, download links, or mediabox images, etc. For proper formatting, copy / paste the code below into the sidebar. Clear and Ignore Formatting.
<div id="myExtraContent4">
<ul>
<li><a href="http://google.com">Google link</a></li>
<li><a href="your_url">My custom link</a></li>
</ul>
</div>This code goes in the sidebar, be sure to clear and ignore the formatting.
08"iPhone Only" Content
In E Flux Extended, the sidebar has been removed from the iPhone version (for readability issues). What you have now, is the ability to create "iPhone only" content above and below the main content section. And if need, you can re-import your original sidebar material.
For iPhone only material above the main content section, copy and paste the code below into the main content section.
<div id="myExtraContent1">
<div class="iPhone">Custom iPhone only content.</div>
</div>DO NOT Place in Sidebar.
For iPhone only material below the main content section, copy and paste the code below into the main content section.
<div id="myExtraContent2">
<div class="iPhone">Custom iPhone only content.</div>
</div>DO NOT Place in Sidebar.
To re-generate your sidebar material for the iPhone place the RW tags below like so,
<div class="iPhone">
%sidebar_title%
%sidebar%
%plugin_sidebar%
</div>
Create padding and a page break above your iPhone content, copy and paste the code below into your custom css box:
.iPhone{
margin-top: 20px;
padding-top: 50px;
border-top: 10px solid #555555;
}
Create padding and a page break below your iPhone content:
.iPhone{
margin-bottom: 20px;
padding-bottom: 50px;
border-bottom: 10px solid #555555;
}
In E Flux Extended, the sidebar has been removed from the iPhone version (for readability issues). What you have now, is the ability to create "iPhone only" content above and below the main content section. And if need, you can re-import your original sidebar material.
For iPhone only material above the main content section, copy and paste the code below into the main content section.
<div id="myExtraContent1">
<div class="iPhone">Custom iPhone only content.</div>
</div>DO NOT Place in Sidebar.
For iPhone only material below the main content section, copy and paste the code below into the main content section.
<div id="myExtraContent2">
<div class="iPhone">Custom iPhone only content.</div>
</div>DO NOT Place in Sidebar.
To re-generate your sidebar material for the iPhone place the RW tags below like so,
<div class="iPhone">
%sidebar_title%
%sidebar%
%plugin_sidebar%
</div>
Create padding and a page break above your iPhone content, copy and paste the code below into your custom css box:
.iPhone{
margin-top: 20px;
padding-top: 50px;
border-top: 10px solid #555555;
}
Create padding and a page break below your iPhone content:
.iPhone{
margin-bottom: 20px;
padding-bottom: 50px;
border-bottom: 10px solid #555555;
}
093 Column EC Formatting
With using the 2nd Extra Content Section and some custom css, you can create three column formatting that will render under both the content and sidebar section. Here's the html to copy and paste into your sidebar:
<div id="myExtraContent2">
<div class="column">Your custom content goes here.</div>
<div class="column">Your custom content goes here.</div>
<div class="column">Your custom content goes here.</div>
</div> This code goes in the sidebar, be sure to clear and ignore the formatting.
Now to style the html into columns, copy and paste the code below into your custom css box:
#myExtraContent2 .column{
float: left;
position: relative;
width: 30%;
padding: 20px 30px 170px 0;
}The css can be modified to suit your needs.
*The padding values go in the following order, "top, right, bottom, left". Notice the bottom padding is 170px, this value keeps the content from being clipped from view by the fixed footer.
With using the 2nd Extra Content Section and some custom css, you can create three column formatting that will render under both the content and sidebar section. Here's the html to copy and paste into your sidebar:
<div id="myExtraContent2">
<div class="column">Your custom content goes here.</div>
<div class="column">Your custom content goes here.</div>
<div class="column">Your custom content goes here.</div>
</div> This code goes in the sidebar, be sure to clear and ignore the formatting.
Now to style the html into columns, copy and paste the code below into your custom css box:
#myExtraContent2 .column{
float: left;
position: relative;
width: 30%;
padding: 20px 30px 170px 0;
}The css can be modified to suit your needs.
*The padding values go in the following order, "top, right, bottom, left". Notice the bottom padding is 170px, this value keeps the content from being clipped from view by the fixed footer.
10Create Background Stripes
If you saw the big strips on the E Flux demo homepage, and though "How do I do that" - here's how.
Add this to your custom css box:
#background{
background-image: url("rw_common/themes/e_flux_ext/images/flare.png");
}
Then select "Repeat X", under Background Repeat in the style options. Then check out the cool stripes! This image was build into E Flux to demonstrate creative possibilities for repeating patterns in your site.
If you saw the big strips on the E Flux demo homepage, and though "How do I do that" - here's how.
Add this to your custom css box:
#background{
background-image: url("rw_common/themes/e_flux_ext/images/flare.png");
}
Then select "Repeat X", under Background Repeat in the style options. Then check out the cool stripes! This image was build into E Flux to demonstrate creative possibilities for repeating patterns in your site.
01Big Tip for Scaling Usage E Flux was was specifically made for use with the Stacks plug-in, so owning this plug is a good idea. More importantly, the toolbar footer and content section are made to be 100% flexible, while the sidebar is fixed (meaning, is not flexible). So always put scalable material in the content section, and non-scaling material in the sidebar. The sidebar has 21 variable widths for this very purpose.
02Image Scaling Effects.
To fluidly scale images, just add width="100%" to html image calls. Don't apply a height value, it will cause disproportional scaling. Here's an example to copy and paste. (Remember to highlight your code and select Format > Ignore Formatting)
<img src="http://rarepattern.com/files/category_pictures/google.jpg" width="100%" />
To apply automatic borders, Just add class="content" The border color can be adjust by color picker in the style options, under "Body Colors".
<img class="content" src="http://rarepattern.com/files/category_pictures/google.jpg" width="100%" />
To adjust the width of the border, copy / paste the code below into your custom css box:
img.content{
border: 5px;
}Adjust the "5px" value as needed.
For scaling and alignment, instead of using class="content", use class="contentLeft", and class="contentRight". When using "contentLeft" and modifing the border width, make sure to change "img.content" to "img.contentLeft" accordingly.
To fluidly scale images, just add width="100%" to html image calls. Don't apply a height value, it will cause disproportional scaling. Here's an example to copy and paste. (Remember to highlight your code and select Format > Ignore Formatting)
<img src="http://rarepattern.com/files/category_pictures/google.jpg" width="100%" />
To apply automatic borders, Just add class="content" The border color can be adjust by color picker in the style options, under "Body Colors".
<img class="content" src="http://rarepattern.com/files/category_pictures/google.jpg" width="100%" />
To adjust the width of the border, copy / paste the code below into your custom css box:
img.content{
border: 5px;
}Adjust the "5px" value as needed.
For scaling and alignment, instead of using class="content", use class="contentLeft", and class="contentRight". When using "contentLeft" and modifing the border width, make sure to change "img.content" to "img.contentLeft" accordingly.
03Image Calling TechniquesBecause scaling images requires the use of html coding, it good to know the different ways to bring images into your projects.
URL image calling.
This method is used when hosting images on a server.
<img src="http://your_site.com/images/my_image.jpg" />Adjust the url as needed.
Asset image calling.
This method is used when using RapidWeaver and you've uploaded your image as a page asset. (This is done in the Page Inspector, under Header > Assets.)
<img src="../page1/assets/my_image.jpg" />This code assumes your page folder is called "page1".
*If your page folder name is just "/" then the file path takes after the .html name, as shown below:
<img src="page1_assets/my_image.jpg" />
URL image calling.
This method is used when hosting images on a server.
<img src="http://your_site.com/images/my_image.jpg" />Adjust the url as needed.
Asset image calling.
This method is used when using RapidWeaver and you've uploaded your image as a page asset. (This is done in the Page Inspector, under Header > Assets.)
<img src="../page1/assets/my_image.jpg" />This code assumes your page folder is called "page1".
*If your page folder name is just "/" then the file path takes after the .html name, as shown below:
<img src="page1_assets/my_image.jpg" />
04MediaBox Usage 1) Open your snippets and toss the "E Flux - Mediabox Enable" snippet into your custom header box. This snippet came with E Flux, or download it from here. 2) From here I'll be redirecting you to a complete Mediabox tutorial I made for for D Scribe. The usage from here on out is the same.
05Locating the iPhone.css File iPhone modification documentation is embedded in the iPhone.css file. To get to this file 1) Open your theme tray. 2) Control + Click on the "E Flux" icon, and select "Reveal Theme Contents in Finder" 3) Go down the file path css > iphone > iPhone.css. You can edit this file with TextEdit, but I recommend using using CSSEDIT.
06Alternating Title Colors In this site you can see alternating title colors, to achieve this effect, copy / paste the code below into your Title field:
My <span style="color: #FF0000;">Website</span>
This will make the alternate color red. For more options, google, "Hex colors", and replace the "#FF0000" value.
*If you use this method, be aware when using the RW Blog page, the title code line will show up in the browser title bar on individual Blog entries.
My <span style="color: #FF0000;">Website</span>
This will make the alternate color red. For more options, google, "Hex colors", and replace the "#FF0000" value.
*If you use this method, be aware when using the RW Blog page, the title code line will show up in the browser title bar on individual Blog entries.