Subpage Styles
Overview
Look for the page called "Style Guide" to see all the site styles available for the Trotter theme
The content editor allows you to add different formats to your page content: headings, paragraphs, blockquotes, etc. Your theme comes with predesigned styling (color, font, size, etc.) for these different formats.
Some of these styles can be added via the Format drop down in the content editor. Some of these are added via the special snippets editor available on your theme.
Buttons
To insert a button select the "Insert/Edit Button" green icon and choose your button settings. You can choose the style, size, text, and icon.
Snippets
Clicking on the yellow star will open your Snippets editor. The options below are available in your snippets tool.
Tabbed Content
To insert a tab snippet into a page or section select the "Insert/Edit Snippets" icon and select the "Tabs" option. You can update the content from the code view below the preview or use the page source view once the code has been inserted.
Example HTML:
<div class="tabs">
<ul>
<li><a href="#tabs-1">Tab 1</a></li>
<li><a href="#tabs-2">Tab 2</a></li>
<li><a href="#tabs-3">Tab 3</a></li>
</ul>
<div id="tabs-1">
<p>Proin elit arcu, rutrum commodo..</p>
</div>
<div id="tabs-2">
<p>Morbi tincidunt, dui sit amet facilisis feugiat.</p>
</div>
<div id="tabs-3">
<p>Mauris eleifend est et turpis.</p>
</div>
</div>
Monklet Tabs
You can also use the monklet "Section Monklet - Tabs" that allows you to use a link list to power your tabs instead of using the Snippets option. Once you create a link list you can insert this monklet into the desired section or content area and then use the find tag to define which link list to use with the monklet. The find tag should be the name of the link list in lowercase with dashes in place of spaces.
Example with a link list "Tabs Example" - {{section-monklet-tabs|find="tabs-example"}}
*NOTE - The description field of the link list will display as paragraph text. If you would like to have a full html section content for a specific tab you can do so by creating a section with the desired content. Once created you will place the slug of the section in the corresponding link description field with curly braces. If you create a section labeled "My Tab Section" the link description field should contain the slug as {{my-tab-section}}.
Accordion Menus
To insert an accordion snippet into a page or section select the "Insert/Edit Snippets" icon and select the "Accordion" option. You can update the content from the code view below the preview or use the page source view once the code has been inserted.
Example HTML:
<div class="accordion">
<h4>Section 1</h4>
<div>
<p>Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.</p>
</div>
<h4>Section 2</h4>
<div>
<p>Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In suscipit faucibus urna.</p>
</div>
<h4>Section 3</h4>
<div>
<p>Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui.</p>
<ul>
<li>List item one</li>
<li>List item two</li>
<li>List item three</li>
</ul>
</div>
<h4>Section 4</h4>
<div>
<p>Cras dictum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia mauris vel est.</p>
<p>Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.</p>
</div>
</div>
Monklet Accordions
You can also use the monklet "Section Monklet - Accordions" that allows you to use a link list to power your accordions instead of using the Snippets option. Once you create a link list you can insert this monklet into the desired section or content area and then use the find tag to define which link list to use with the monklet. The find tag should be the name of the link list in lowercase with dashes in place of spaces.
Example with a link list "Accordions Example" - {{section-monklet-accordions|find="accordions-example"}}
*NOTE - The description field of the link list will display as paragraph text within the tab. If you would like to have full a html section content for a specific tab you can do so by creating a section with the desired content. Once created you will place the slug of the section in the corresponding link description field with curly braces. If you create a section labeled "My Tab Section" the link description field should contain the slug as {{my-tab-section}}.
To insert description text into a page or section select the "Insert/Edit Snippets" icon and select the "Description Text" option. This adds larger paragraph text.
Callout
To insert a callout snippet into a page or section select the "Insert/Edit Snippets" icon and select the "Callout" option. You can update the content from the code view below the preview or use the page source view once the code has been inserted.
Example HTML:
<div class="div-callout">
<h2>Heading Style H2</h2>
<p>Lenius, hic Stoicorum more nos vexat. Non quam nostram quidem, inquit Pomponius iocans; Teneo, inquit, videri nihil dolere.</p>
<p><a class="btn btn-success" href="#">Call To Action</a></p>
</div>
Section Monklet - Callout
You can also insert a callout via monklet, which allows you to use a link list to display a callout or rows of callout sections. Within the link list, the following field are used for each item:
- "Name" is the heading
- "Link" is for the button link
- "Description" is the summary/description text
- "Button Text" is required to with the url (link) for the button to show
When using the monklet, you'll need to specify which link list to display:
{{section-monklet-callout|find="link-list-name"}}
Linked Image Style
The Linked Image style will add the link color to the bottom of your image, as well as lighten the image on hover. To use this option, select the "Insert/Edit Snippets" icon and click "Linked Image". After selecting OK, you can change out the placeholder image and link with your own.
Section Heading, Section Sub Heading, Description Text and More Link
These additional text styles can be used in a page or section. To use these, select the "Insert/Edit Snippets" icon and click one of the options below. You can update the content from the code view below the preview or use the page source view once the code has been inserted.
- Section Heading - adds a large heading
- Section Sub Heading - adds a smaller heading with a background color
- Description Text - adds a block of text with a larger bottom margin
- More Link - adds a styled link with an arrow
Full Width Images
If you would like to display an image inside a column at fullwidth of the column container you can add the class "responsive-image" to the image tag.
To do this, add your image to the content of your page/section. Once the image has been inserted, select the image by clicking on it and then pressing the button in the toolbar that looks like this: "< >", which is the source code. Once the source code is opened, you will then need to locate the img tag for the image that you are working on and add the class of "responsive-image" to the tag. Once you are done the tag will look like this:
<img class="responsive-image">
Please feel free to contact your Onboarding Specialist, Project Member or our support team if you need further assistance with this.