Subpage Styles
Overview
The page editor allows you to assign your block and inline elements, including buttons, headings, paragraphs, blockquotes, etc.). You can see all the Styles available on your site on your "Style Guide" page in Shelby CMS.
Buttons
To insert a button link, you will need to first insert the link itself. Do this by following these steps:
- Insert your button text in the content area
- Select the text, and choose "insert/edit link". Insert the line using the "Link List" option (or insert the URL directly if linking outside of your site)
- Once the link is added, select the link text and choose the "formats" drop down
- Apply whichever button style you prefer. You now have a button link!
Note: If you apply the button style and then try to insert the link, it won't work properly.
Tabs
To insert a tab snippet into a page or section select the "Insert/Edit Snippets" icon and select the "Tabs" option and click "Ok". It will then insert a preview that you can edit directly in the Content editor, or you can update the content from the source code view below. The first list is the name of each tab, and the content is attached to the corresponding tab number below.
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>
Accordions
To insert an Accordion snippet into a page or section select the "Insert/Edit Snippets" icon and select the "Accordion" option and click "Ok". It will then insert a preview that you can edit directly in the Content editor, or you can update the content from the source code view below. Each heading style is the "trigger" of the Accordion and any content below it is inside that accordion heading.
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>
Call To Action Box
To insert a special call-to-action section into a page or section select the "Insert/Edit Snippets" icon and select the "Call to Action" option and click "Ok". It will then insert a preview that you can edit directly in the Content editor, or you can update the content from the source code view below.
Example HTML:
<p class="cta-desc">Editable content goes here. Make it brief and descriptive! Sed quid sentiat, non videtis.</p>
<p><a class="btn-cta" href="#">CTA Button</a></p>
</div>
</div>
<div class="cta-image col-12 col-lg-6"><img alt="" src="http://e25aceac26bb89678405-8be5d7101d754e4c1d422ab44134d208.r76.cf2.rackcdn.com/uploaded/c/0e8348510_1550346046_cta-placeholder-image.jpg" /></div>
</div>