Slider/Banner Images

Step 1

Add all the images you want to use to the Resources section by clicking on the Add Resource button in the top left of the RapidWeaver window.

Add Resource

Step 2

Copy and Paste the code below into the main content editor or into the sidebar content.

1
2
3
<div id="sliderContent">
   <!--Paste Step 3's Code Here -->
</div>

Step 3

Select from the 3 options below and copy and paste the code into the sliderContent Div you pasted from Step 2.

1: Single banner image or a default slider image with no caption

1
2
3
<div 
   data-image-name="IMAGE_NAME.jpg"
></div>

2: Slider image with adjustable transition effect

1
2
3
4
<div 
   data-image-name="IMAGE_NAME.jpg"
   data-split="horizontal-counterclockwise"
></div>

3: Slider image with adjustable transition effect & caption

1
2
3
4
5
6
7
<div 
   data-image-name="IMAGE_NAME.jpg"
   data-split="horizontal-counterclockwise"
   data-caption-header="Title"
   data-caption-text="Place paragraph text here"
   data-caption-cite="Firstname Lastname"
></div>

You can change the “data-split” value to adjust the transition effect. Each value represents how the image will slice on transtion. The available options are:

horizontal
horizontal-right
horizontal-left
horizontal-clockwise
horizontal-counterclockwise
vertical
vertical-top
vertical-bottom
vertical-clockwise
vertical-counterclockwise

Change the “data-caption-header” value to add a title or delete this line if you do not wish to have a title.
Change the “data-caption-text” value to add text.
Change the “data-caption-cite” value to add a cited name or delete this line if you are not using a quote.

Step 4

Change “IMAGE_NAME.jpg” to exactly match the name of your image in the Resources section (case sensitive)

Step 5

Repeat Steps 3 & 4 until you have as many photos that you want to display in the slider. After you have added your images and changed your values, highlight all of the code and select “Ignore Formatting” from the Format drop down menu. Your finished code should be similar to the screen shot below.

Screen Shot 2013-12-20 at 10.30.01 AM

NOTE: RapidWeaver’s editor uses two types of quotation marks. Be sure your code uses straight quotation marks Screen Shot 2013-12-20 at 10.24.50 AM and not curly quotation marks Screen Shot 2013-12-20 at 10.25.02 AM. The curly quotation marks are not recognized as code and will cause the slider to load improperly.


Adding an Image to the Background

Step 1

Add the image you want to use to the Resources section by clicking on the Add Resource button in the top left of the RapidWeaver window.

Step 2

Copy and paste the code below into your Page Inspector > Header > CSS section.

1
2
3
.charis-background {
    background-image: url(%resource(IMAGE_NAME.jpg)%);
}

Step 3

Change “IMAGE_NAME.jpg” to exactly match the name of your image in the Resources section (case sensitive)


Extra-Content (non-Stacks page)

Step 1

Navigate to the Sidebar Tab of the Page Inspector.

Page Info - Page Inspector

Sidebar

NOTE: if you are using a styled text page you may also use the Main Content editor

Step 2

Copy and Paste the code below into the text area.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<div id="myExtraContent1">
   Extra-Content 1 content Here
</div>
<div id="myExtraContent2">
   Extra-Content 2 content Here
</div>
<div id="myExtraContent3">
   Extra-Content 3 content Here
</div>
<div id="myExtraContent4">
   Extra-Content 4 content Here
</div>
<div id="myExtraContent5">
   Extra-Content 5 content Here
</div>

Step 3

Highlight all the code & select Ignore Formatting from the Format Drop down menu (or press command + . ).

Step 4

Add your desired content to each section. Highlight everything between and & select Ignore Formatting from the Format Drop down menu (or press command + . ). This will allow you to add formatting to the content you have added.

Step 5

Preview and you are complete. Your finished code in the Sidebar(or Main Content editor) should be similar to the screen shot below.

Extra Content in Sidebar


Create Button

Step 1

Type into the editor whatever you would like the button to read.

Conversa Button Text

Step 2

Highlight your text & select the Add Link button.

Add Link or Add Link Plus Icon

Step 3

Type in the URL or select where you would like the button to navigate to.

URL Destination

Step 4

Add a new Custom Attribute Named: class with the Value: btn

NOTE: You can also add an additional color value after btn. The available values are:

red
blue
green
purple
cyan
yellow

Screen Shot 2013-12-20 at 10.48.53 AM

Step 5

Click set link.


Using Font Awesome Icons

Font Awesome’s Icons can just about be used anywhere on your site. Check out the links below to learn more about how to use Font Awesome.

How to Use Font Awesome

See all usable icons


Chocolat Lightbox

Step 1

Turn on Chocolat Lightbox in the Styles section of the Page Inspector.

Screen Shot 2013-12-20 at 11.00.30 AM

Step 2

In order for the Lightbox to work correctly you will need the original image and a thumbnail (smaller version) of the image.

Chocolat Lightbox Large & Thumbnail Images

Step 3

Drag and drop the original image into the Resources section of RapidWeaver. Then drag and drop the thumbnail image into the place you would like the image link to display.

Hemera Chocolat Lightbox Drag & Drop

Step 4

Next, right click the thumbnail image and select Add Link. (Or click the Add link button after selecting the image)

Hemera Chocolat Lightbox Add Link

Step 5

 Click on the URL drop down and select the resource from the list.

download

Step 6

Add a custom attribute titled class with the value lightbox and then click Set Link.

Hemera Chocolat Lightbox Add Class

Step 7

Switch to preview mode to see if it worked and you are done. To add more photos repeat Steps 3-6.