Frontpage elements
Frontpage can contain big header image if you add in the widget styles imageBg class.
Header form
Header form is based on the following code:
<h1>Start 30-Day free trial today. Set up in instant</h1> <h2>Powerful landing page theme for running serious business</h2> <form class="gk-form"> <div><input type="email" placeholder="Email address ..." /> <input type="submit" value="Get Started today!" /></div> </form> <p><a class="gk-video-link thickbox" href="URL">Watch the introduction</a></p>
As you can see it uses h1 and h2 elements for creating headers, then the form is wrapped in the form element with gk-form class. The input elements are automatically styled inside the form. Additionally under the form there is the link with classes gk-video-link and thickbox – first class is responsible for the styling, second one is responsible for the popup – it uses the WordPress built-in popup mechanism.
In every module with centered suffix you can place a paragraph with gk-centered class.
Icons
Icons placed on the frontpage uses the following structure:
<div class="gk-icons"> <div> <div class="gk-icon-area"> <a href="#" class="gk-crop">Creative</a> </div> <h2>Creative</h2> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus eget elit eu velit vehicula feugiat. </p> </div> <div> <div class="gk-icon-area"> <a href="#" class="gk-rocket">Rocket</a> </div> <h2>Powerful Control</h2> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus eget elit eu velit vehicula feugiat. </p> </div> <div> <div class="gk-icon-area"> <a href="#" class="gk-mobile">Responsive</a> </div> <h2>Responsive Design</h2> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus eget elit eu velit vehicula feugiat. </p> </div> </div>
Every column is placed in the div container which contains a container with class gk-icon-area with link using one of these classes: gk-crop, gk-rocket or gk-mobile.
Under the icon area you can place the h2 element with title and paragraph with description
Sliding notebook
To create the two columns block with the sliding image you should use the following structure:
<div class="gk-horizontal-slide"> <div class="gk-horizontal-slide-left-column"> <h2>Joomla! and WordPress blog theme inspired by Metro Windows 8 UI</h2> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus eget elit eu velit vehicula feugiat. Integer viverra metus vitae lectus dictum eleifend. Lorem ipsum dolor sit amet. Donec viverra lobortis feugiat. Sed id odio ante.</p> <p>Duis bibendum metus eu urna placerat mattis! Duis bibendum tempor massa at tristique. Integer viverr metus vitae lectus dictum eleifend amet.</p> <p><a href="#" class="button">View Details</a></p> </div> <div class="gk-horizontal-slide-right-column"> <img src="https://demo.gavick.com/wordpress/simplicity/wp-content/themes/Simplicity/images/demo/demo_notebook.png" alt="Notebook" /> </div> </div>
The most important part are the containers with classes: gk-horizontal-slide-left-column and gk-horizontal-slide-right-column – in the second container there should be placed an image which will slide on scroll.
Sliding tablet
The sliding tablet effect is created using the following structure:
<div class="gk-text-block"> <h2>We build responsive,<br />mobile-friendly website</h2> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam scelerisque faucibus risus non iaculis. Fusce a augue ante, pellentesque pretium erat. Fusce in turpis in velit tempor pretium. Integer a leo libero.</p> </div> <img src="https://demo.gavick.com/wordpress/simplicity/wp-content/themes/Simplicity/images/demo/manufacturers.png" alt="Manufacturers" /> <img src="https://demo.gavick.com/wordpress/simplicity/wp-content/themes/Simplicity/images/demo/tablet_image.png" class="gk-image-block" alt="Image block" />
The sliding image is placed in the gk-image-block wrapper. The gk-text-block class adds necessary top spacing for the text block.
Testimonials
The testimonials are created using the following structure:
<div class="gk-testimonials"> <div> <figure> <img src="https://demo.gavick.com/wordpress/simplicity/wp-content/themes/Simplicity/images/demo/avatar-1.png" alt="Robert Gavick" /> <figcaption><q>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam scelerisque faucibus risus non iaculis. Fusce a augue ante, pellentesque.</q></figcaption> </figure> </div> <div> <figure> <img src="https://demo.gavick.com/wordpress/simplicity/wp-content/themes/Simplicity/images/demo/avatar-2.png" alt="Paulina Nowakowska" /> <figcaption><q>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam scelerisque faucibus risus non iaculis. Fusce a augue ante, pellentesque.</q></figcaption> </figure> </div> <div> <figure> <img src="https://demo.gavick.com/wordpress/simplicity/wp-content/themes/Simplicity/images/demo/avatar-3.png" alt="Tomasz Dziuda" /> <figcaption><q>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam scelerisque faucibus risus non iaculis. Fusce a augue ante, pellentesque.</q></figcaption> </figure> </div> </div>
The testimonial content was wrapped up into the figure element – the image is used to create an avatar and the figcaption with the blockquote element is used to create the testimonial text.
Button area
The last custom HTML element from the frontpage uses the following structure:
<div class="gk-button-area"> <h3>The 30 day free trial includes all features.<small>Your 30-day money back guarantee starts after your 30-day free trial.</small></h3> <a href="#">Get Started</a> </div>
Every link placed in the gk-button-area element creates a big button floated to right.