General Information
Thank you for purchasing Test! We’re very pleased that you have chosen our theme to build your website and we’re trying our best not to disappoint you! Before you get started, please check out these documentation pages. Test can only be use with WordPress which we assume you already have installed and ready to go. If not, please check out WordPress Codex.
Was this article helpful ?
Requirements for Test
Before using Test, please meet the following requirements:
- essentials to run WordPress – here you can find more information – in case any doubts regarding the server, contact your host provider,
- latest version of WordPress, which you can download here,
- create secure FTP and Database.
Was this article helpful ?
What’s Included
When purchasing our theme from Themeforest, you need to download the Test files from your Themeforest account. Navigate to downloads tab on Themeforest and find Test. Below you’ll find a full list of what is included the .zip file, along with a brief description of each item.
Test Folder contains:
- {theme}.zip – main installation folder
- {PSD_included}
Was this article helpful ?
Support
All of our items come with free support. For some help you can reach to our dedicated support forum. Free support is limited to questions regarding the themes features or problems. We provide premium support for code customizations or third-party plugins. If you need help with anything other than minor customizations of your theme, feel free to contact us on premium@createit.pl.
For free support, follow the steps below
- Step 1 – Click Here to create a free forum account. You’ll need your Themeforest purchase code, which can only be received when purchasing the theme from Themeforest.net.
- Step 2 – Enter your Themeforest Purchase Code, an e-mail and a password.
- Step 3 – Once you have an account, sign in to the forum and get started.
- Step 4 – Find your theme on a forum home page.
- Step 5 – Create new issue by clicking on a button at the right.
Before You Post On a Forum
We urge you to follow the steps below, before you post a new topic on the forum, to speed up your request. It’s in everyones interest and will benefit in making the entire forum more efficient:
- Step 1 – Always check the Documentation and the Knowledgebase Section. Most questions are already answered in those areas.
- Step 2 – Always use our Forum Search before you post, it’s possible that your issue has already been brought up and answered.
- Step 3 – If your question hasn’t been brought up, please post a new topic. Always be as specific as possible. Creating a topic requires entering the live URL to your home page or page that shows the issue in question. It also has bars for WP and FTP login info, which aren’t required, however, providing us with your login information can save a lot of time for both of us. Login credentials are securely stored and accessible only by our support staff.
- Step 4 – We usually answer questions in 24 hours on working days. However if you don’t get any answer in 72 hours bump up your question or send us an e-mail.
Our support hours: 10:00 AM – 6:00 PM UTC +1 on Monday to Friday.
Premium Support
We can create your website from scratch, redesign it or just extend the current ones. For more information, please take a look at our website.
Typical issues covered by Premium Support:
- Custom CSS
- Support for third party software and plug-ins
- WordPress Installation with Theme configuration
- Server configuration
- Site structure modifications
- Graphic adjustments, etc.
- WordPress general howto’s
Was this article helpful ?
Installation
There are two ways to install the theme: through WordPress, or via FTP. But first, you need to download the Test files from your Themeforest account. Navigate to downloads tab on Themeforest and find Test. Click the download button.
For more information check also this article from Knowledge Base.
Was this article helpful ?
Installation via Administration Panel
If Test files are downloaded from your Themeforest account, you can start an installation by using WordPress administration panel.
Once you’ve logged in to your administration panel go to Appearance > Themes. Depending on your version of WordPress you’ll see Add New or two other tabs: Manage Themes and Install Themes.
Here you’ll find instructions how to proceed with 3.9.0 and lower versions of WordPress.
If you’re using newer version, follow steps below to install the theme:
- Step 1 – click on Install Themes tab
- Step 2 – choose Upload option to upload .zip file
- Step 3 – choose {theme}.zip from you computer.
- Step 4 – once the file is chosen click Install Now
Common Install Error: Are You Sure You Want To Do This?
If you get the following question message when installing Test.zip file via WordPress, it means, that you have an upload file size limit. Install the theme via FTP or call your hosting company and ask them to increase the limit.
Was this article helpful ?
Installation via FTP
To install Test via FTP, follow steps below:
- Step 1 – Unarchive {theme}.zip file
- Step 2 – Access your host web server using FTP client
- Step 3 – Find directory wp-content > themes
- Step 4 – Put folder Test in directory wp-content > themes
Learn more:
Was this article helpful ?
Import demo content
The fastest and easiest way to import our demo content is to use Theme Options 1-click Demo Importer. It will import all pages and posts, several sample sliders, widgets, theme options, assigned pages, and more. We recommend this approach on a newly installed WordPress. It will not replace content such as posts, pages, portfolio, etc. and delete current menus, but configure them and replace theme options. By that, if you have created some posts, pages or portfolio content before an import, you won’t loose them.
To import our demo content, please follow the steps below:
- Step 1 – install and activate plugins listed in Recommended Plugins message {warning}
and WooCoomerce plugin, if you’d like to use shop functionalities.
- Step 2 – setup Media thumbnails sizes in Settings > Media to recommended values:
- Thumbnail size: {thumbnail_size}
- Medium size: {medium_size}
- Large size: {large_size}
If you’re using WooCommerce product images sizes in WooCoomerce > Settings > Products
- Step 3 – navigate to Appearance > Theme Options > General – 1-click Demo Import
- Step 4 – click the Import demo content button with multipage or onepager version.
(WARNING:The image below is only an example of how the 1-Click Demo section might look like. Depending on the theme, the amount of images and/or tabs of the import demo contents, this option might look different.)
- Step 5 – importing can take a few minutes. Please be patient and wait for it to complete. Once it will be loading, you will see message with indicating progress.
Learn more:
Common errors with “1-Click Demo Import”
Was this article helpful ?
Pages
You can use Pages to organize and manage any content on your website. You can create multiple pages on your website for different types of content or setup onepager with scroll-to-section menu.
Was this article helpful ?
Create pages
To create a new Page follow the steps below:
- Step 1 – select Pages > Add New
- Step 2 – add Title
- Step 3 – add content – we recommend you to create page content using shortcode generator or by modifying demo content
- Step 4 – choose page attributes:
- Parent – if you want to create subpage
- Template – you can choose one of defined page templates: {templates}
- Page order
- Step 5 – choose template settings
- Step 6 – click Publish to make your page public.
Learn more:
Was this article helpful ?
Onepager setup
Test has the ability to make one page site with a scrolling to sections menu. Most sites are traditionally setup with individual pages, each page with its own content. One page site allows you to put all the content on one page, and the menu items will link to each different section of the page. Think of it as a full site but all on one page. Please read below for information on how to set this up.
Create A New Page With Your Content And Anchor Points
- Step 1 – Navigate to the Pages section of your admin and click Add New.
- Step 2 – Create page with all sections. Each section should begin with [chapter] shortcode or any other html element with unique id, for example :
123456[chapter id="work"](...) content (...)[chapter id="services"](...) content (...)[chapter id="about"](...) content (...) - Step 3 – 2. In Appearance > Menus create new main menu (using Custom Links option), where URL will be section id with “/#” sign, for example : /#services or /#about.
And your onepager menu is ready. Remember to choose Theme Location Primary Navigation to your menu.
Was this article helpful ?
Homepage setup
If you have added some pages via Pages > Add new you can choose one and set it up as a homepage. Use {homepage_setup} and choose from the list your homepage. Remember to click Save changes at the end of editing.
{homepage-screenshot}
Was this article helpful ?
Pages Theme Options
To create a standardized template for each page some of the settings you can set globally. You need to go to Appearance > Theme Options > Pages and choose from several options:
You can change the following settings:
- show title on pages
- show breadcrumbs on pages
- show comments
- show comment form
Was this article helpful ?
Blog
Test is loaded with options for the blog. It offers many different options for you to present your blog posts, along with several different blog post layouts. In addition, there are numerous theme options and shortcode options that allow you to customize how posts are displayed.
There are several ways to display your blog posts, we will cover each method as well as describe blog post types, post options and theme options. The following sections will cover each of these aspects of the blog.
Was this article helpful ?
Creating blog posts
No matter which method you use to display your blog posts, first thing you need to do is create them.
Test offers several blog post types:
- Standard
- Aside
- Image
- Video
- Audio
- Quote
- Link
- Gallery
Follow the steps below to create a blog post
- Step 1 – navigate to Posts in your WordPress admin.
- Step 2 – click on Add New to make a new post. Create a title and insert your post content in the editing field. You can use any of our VisualComposer elements inside the post.
Add new post
If you want to use some additional fields, choose them from screen options at the top of the screen.
Screen options
- Step 3 – add Categories from the right side. To assign it to the post, check the box next to the Category name.
- Step 4 – add Tags from the right side. Type the name of the tag in the field, separate multiple tags with commas.
- Step 5 – for a single image, click the Featured Image box, select an image and click Set Featured Image.
- Step 6 – for a Gallery, insert more than one Featured Image, each image will be a slide in the gallery slideshow. Slides will be order by the date when the images was added to Media
- Step 7 – for a video post, paste the iFrame embed into the Video Embed Code field, file url to M4V file url or OGV File URL or Direct video url from Youtube, Vimeo or Dailymotion
- Step 8 – create an excerpt – Excerpts are optional hand-crafted summaries of your content that can be used in your theme. Learn more about manual excerpts
- Step 9 – once you finished, click Publish to save the post.
Was this article helpful ?
Blog index page
The most popular way of displaying blog posts is to setup blog index page. There all of your posts will be displayed and ordered by publish date.
To set the page as your post page, navigate to {blog_setup} and choose Blog index page from the ones you created.
{blog-screenshot}
Notice:
On Blog index page you will see only your posts, so don’t add any other content to it.
Was this article helpful ?
Blog Theme Options
When using the assigned blog page as described above, all the options you can select are located in Appearance > Theme Options on the Posts tab. There are dozens of options to choose from such as layout, categories, dates, etc. There are general blog options and single post page options. Each one has a title and descriptions to help you understand what they do. Any type of blog options you need to set will be set here in theme options when using the assigned blog page.
- Index – these are mainly for the assigned blog page, you change here:
- Single – these options all apply to the single post page, not the main archive page.
Was this article helpful ?
Recent Post Shortcode
The second blog method that we cover is our custom recent post shortcode. This shortcode is unique because it offers more compact design options that can work more efficently on pages with other content. This short code is a fantastic method because it allows you to place your blog posts on any page, assign custom categories to display, and so much more. You can use the short code as many times as you want, and on any page or post.
Below you can see how Recent Post shortcode will be displayed on your page:
{recent-posts}
Was this article helpful ?
Portfolio
The theme comes with a custom post type for portfolio. Portfolio pages configuration is described in Options section.
Was this article helpful ?
Creating portfolio items
Test is loaded with several options for displaying portfolio items. It offers many different options for you to present your portfolio. In addition there are numerous theme options and shortcodes options that allow you to customize how portfolio is displayed.
But first, you need to create your portfolio items. To do that, please follow the steps below:
- Step 1 – navigate to Portfolio items and click Add New
- Step 2 – create Portfolio Item title and content – you can use Test shortcodes to build content
- Step 3 – add Tags from the right side.
- Step 4 – add Categories from the right side. To assign it to the post, check the box next to the Category name.
- Step 5 – set portfolio item an order number if you want to display your portfolio item in a specific order
- Step 6 – choose featured image in Featured Image box
- Step 7 – set as many Portfolio settings as you want
- Step 8 – click Publish to save portfolio item
Learn more:
How to add multiple images to portfolio gallery?
Was this article helpful ?
Portfolio index page
One of the many ways of displaying portfolio items is to setup portfolio page. All of your portfolio items will be displayed there, ordered by publish date.
To set the page as your portfolio index page, navigate to Appearance > Theme Options – Portfolio and choose Portfolio index page from pages that you created.
Was this article helpful ?
Portfolio Theme Options
Test includes a highly advanced theme options panel organized into sections that allows users to customize many different aspects of the theme. There is a Portfolio section of theme options that allows you to personalize different forms of the portfolio items; the date formats, single post page settings, and so much more. The posts tab is organized into 2 sections; General Portfolio Options, Single Portfolio Options. See the information below for the description and screenshot of each section.
- General portfolio options – these are mainly for the assigned portfolio index page because the portfolio shortcode has many of them built in. However some do apply.
- Portfolio item options – these options all apply to the single portfolio page, not the main index page. They apply to both assigned portfolio page, and the portfolio shortcode.
Was this article helpful ?
Portfolio shortcodes
If you want to display your portfolio items in more places than portfolio index page – you can do it in several ways by Portfolio shortcodes.
Every shortcode goes with several parameters, that allows you to sort or filter items in a few ways. On the following screenshots you can find part of available options.
Full of possibilities you can find on our demo page – you can preview parameters that we used after importing demo content. You can also use shortcode generator and use as many Advanced filter options as you want.
Was this article helpful ?
Jobs
You will find Jobs section in main WordPress sidebar – above Portfolio
Was this article helpful ?
Create jobs items
Test is loaded with several options for displaying jobs items and offers many different options for you to present it. In addition there are numerous theme options and shortcode options that allow you to customize how jobs are displayed.
- To create jobs item, follow the steps below:
- Step 1 – navigate to Jobs and click Add New
- Step 2 – create Job Item title and content – you can use shortcodes to build content
- Step 3 – add Tags from the right side.
- Step 4 – add Categories from the right side. To assign it to the post, check the box next to the Category name.
- Step 5 – set job item an order number if you want to display your jobs items in a specific order
- Step 6 – choose featured image in Featured Image box
- Step 7 – set as many Job settings as you want
- Step 8 – click Publish to save job item
Was this article helpful ?
Jobs index page
One of the ways of displaying jobs items is to setup Career page. All of your jobs items will be displayed there, ordered by publish date.
To set the page as your jobs index page, navigate to Appearance > Theme Options – Job and choose Jobs index page from pages, that you created.
Was this article helpful ?
Jobs Theme Options
Test includes a theme options panel organized into sections that allows users to customize many different aspects of the theme. There is a Job section of theme options that allows you to customize different aspects of the jobs items; date formats, single post page settings, and so much more. The job tab is organized into 2 sections; General Options and Single Item Options. See the information below for a description and screenshot of each section.
- General jobs options – these are mainly for the assigned jobs index page.
- Jobs item options – these options all apply to the single job page, not the main index page. They apply for both assigned jobs index page, or the jobs shortcode.
Was this article helpful ?
Jobs shortcode
Below you can see how Jobs shortcode will be displayed on your page:
Was this article helpful ?
General Overview
Surely you can not wait to start working on your new website. And reading documentation is probably the last thing you want at the moment. Guess what? We prepared a little shortcut for you! If you feel intimidated by the number of features that this theme offers, you can use this simple screenshot-description to easily customize your website. Check out this link {general-overview-link}.
Was this article helpful ?
Plugins
Some functionalities of the Test are available because of plugins we used to create it. Once Test is activated in your WordPress admin panel you should see notification about bundled plugins we recommend to install – they are included in Test package – so you don’t have to do anything more than click install and activate.
Notice:
We can’t guarantee Test’s compatibility with third party plugins. If you want to avoid unexpected bugs and errors use as little plugins as possible.
Below you will find the list of plugins we recommend you to use with Test.
Was this article helpful ?
Visual Composer
Test can be easily customized with Visual Composer.
Simply drag and drop elements to build your page content. We prepared components which will help you determine main structure of the webpage – easily set up backgrounds, colors and styles for whole sections as well as lots of various smaller components which you can freely put wherever you want.
How to start?
We recommend you to use row as essential element of page structure.
You can edit following row attributes:
- Header text
- Level of header
- Header alignment
- Header font style
- Section type – determines section background, you can choose from predefined color styles: white, grey, dark grey, dark blue, motive or effects: pattern, parallax, kenburns, video
- Padding – top, bottom or both
- Padding size – if you don’t want to have padding, choose None
- Section height
- Type of section layout – boxed or wide
- Onepager element and ID – if you want to use section for scroll-to-section navigation
- Custom class – if you want add custom CSS styles for element
You can also check additional options in tabs: General, Design Options and Animations
Once your section row is created you can choose number of columns in section, their width and optionally offset value.
If you want to create full_width element you need to choose 1 column greed in section and set it as full_width element.
Once you set up your section – you can put inside it as many components as you want.
Learn more:
For more information about Visual Composer, please check articles below:
How to install Visual Composer
Visual Composer demo
Visual Documentation
Was this article helpful ?
WooCommerce
Installation
- Activate plugin “WooCommerce”
After activation you will see notification about installing WooCommerce pages:
Click on Install to import following WooCommerce pages:- My Account
- Checkout
- Cart
- Shop
- Configure WooCommerce settings
- Learn more about WooCommerce
- Step 1 – add products
- Step 2 – setup your products
- Step 3 – sell what you’ve got
- Step 4 – setup shipping options
- Step 5 – manage your orders
Translation
WooCommerce plugin can be translated to any language. Here you can find instructions how to do that.
Was this article helpful ?
Customization
Test appearance, which you can see on our {demo-page}, is one of many available options. You have a couple of alternatives to customize the way you want it, except changing components’ appearance.
- Theme Customizer – navigate to Appearance > Themes and click Customize to open customization panel with options to change colors and backgrounds
- Use Custom CSS
- Create your own shortcodes
- Contact us – we can create your website from scratch, redesign it or just extend existing one – just send us an mail to premium@createit.pl
Was this article helpful ?
Uber Menu
Test navigation menu is built with Uber Menu plugin, which allows you to create expanded Mega Menu.
Uber Menu plugin is not bundled with Test files and therefore it needs to be bought separately here. Detailed information regarding plugin installation can be found on Uber Menu online documentation.
Once plugin is activated, please create your menu just like any other WordPress menu and select theme location to apply UberMenu to. We recommend you to choose automatic integration to Primary Navigation
Now you can create your Menu in Appearance > Menus > Create a New Menu. Additional tab with advanced UberMenu elements, like: row, columns, tabs, dividers, etc. will help you to create expanded menu structure.
Additionally you can edit every menu item individually, by clicking Uber after hovering over an element.
Notice:
If you want to use navigation menu imported with 1 click demo import and you are not using UberMenu plugin remember to select Standard Menu as Primary Navigation.
Learn more:
Was this article helpful ?
Menu Products
Test is dedicated for restaurants and food truck owners. That’s why, the most important section is Menu Products. You can easily add new dishes served in your local. Group them using tags, categories and display anywhere you want in your page content.
Was this article helpful ?
Creating menu products
Follow the steps below to create a Menu Product items
- Step 1 – navigate to Menu in your WordPress admin.
- Step 2 – click on Add New to make a new product. Create a title and insert your description.
- Step 3 – add image via Featured Image
- Step 4 – set product price, currency and postscript in Menu item setting
- Step 5 – add menu categories, tags and order (optional) – on the right hand side of Menu edition page.
- Step 6 – click Publish to save you settings
For every menu item you can define:
1. Product Tags
2. Product Categories
3. Price
4. Currency
5. Postscript – a small text below product description (e.g. *contains nuts)
6. Featured image
7. Product thumbnail image – Multiple Featured Images plugin must be activated
Learn more:
- Menu currency can be also edited globally for all Menu items via
Appearance > Theme Options > Menu
- .
Was this article helpful ?
Menu shortcodes
Once your menu items are created you can display them in your page using Menu shortcodes.
Make it easy
- by [products tag=”recommended” limit=”3″] – 3 product items with tag “recommended” will be displayed.
Products will have custom appearance for every active theme. Please note that products need to be tagged as
“recommended’ - by [cat_name=”starters”] display every item with assigned category “starters”.
EXAMPLES:
Burger Lover items with tag “recommended”:
Seabreeze items with tag “recommended”:
Setting Product order in the menu
Creating your menu you are able to set the order in which the products will show up on the list. Just check this few easy steps!
- Creating Menu with the use of the Menu shortocde choose yes for Custom order, like on the image below.
Using custom order
- Now you are able to set the order of every single product by:
- Going from the WordPress dashboard to the
- Creating new product or or choosing from the ones arleady created
- Setting in the Attributes order of the product:
Order of the product
- Going from the WordPress dashboard to the
Or check our advanced filter options
in shortcodes > Menu > Products > Advanced filter option
EXAMPLE:
Display all product with “cake” in title or description. Start from the latest one.
Was this article helpful ?
WooCommerce for Food Truck
Notice:
If you were using Food Truck version 2.8 or lower – you will notice some structure changes due to WooCommerce products. You will find your products under the Menu tab on the sidebar menu in admin panel as well as in shortcodes.
All of your previously created products will be saved with their settings, but under new tab – Menu.
Products are now only WooCommerce products.
WooCommerce Products
You can add WooCommerce Product via Products > Add Product
You can use Simple Product option and add only basic information:
- Product Name
- Description
- Category
- Tag
- Stock keeping unit
- Regular Price
- Sale Price
- Product short description
- Product gallery
- Product feature image
Variable Product
You can also use more advanced product settings, and show available product variables. To use that option, first create a product Attributes.
To every attribute are assigned terms, which you will use to create product variations.
Once you have attributes and terms, you can go to product item edition to create product variations.
- Choose from product data Variable Product
- Go to Attributes tab and select your attributes
- Add product variations and click Link all variations once you’re finished
- Customize your product alternative by expanding variation tab – you can add here different image, dimensions, weight, price, status and shipping class
- Remember to save changes once you have finished product edition – now you can see how your product looks:
Add products to Shop page
Once your products are created you can add them to your website. Setup your products index page via WooCommerce > Settings > Products
Or add your product elsewhere on the website using Shop Shortcodes:
Products Listing Widgets
WooCommerce comes with several widgets dedicated to filter your products. You can easily set them in Products Listing Sidebar, which is by default displayed on Shop page:
Thanks to widgets your customers will be able to filter and sort products:
WooCommerce Theme Options
You can edit some of WooCommerce settings via Appearance > Theme Options. In WooCommerce tab you will find Global and Cart settings.
How to disable WooCommerce?
If you don’t want to use WooCommerce Shop and you are interested only in displaying your product in catalog mode just deactivate the plugin in Plugins section:
Notice:
If you deactivate WooCommerce plugin – Shop shortcodes will no longer work.
Was this article helpful ?
Menu setup
Depending on which version of content arrangement you choose, you can create onepager or multipage navigation menu.
To create navigation menu dedicated to multipage websites, please follow the steps below:
- Step 1 – Navigate to Appearance > Menus
- Step 2 – Click on create a new menu, enter menu Name and click on Create Menu button
- Step 3 – From the right side choose pages that you want to add to your menu and click on Add to Menu. Once menu items are added, you can reorder or nest them via drag and drop tool. Remember to click Save Menu when you finish to keep your changes saved.
- Step 4 – You can easily rename every menu item in item details.
- Step 5 – Optionally you can add to menu other items, like Links or Categories
- Step 6 – Check your menu as Primary Navigation to set it up as main menu.
- Step 7 – Always click Save Menu after providing any changes.
Was this article helpful ?
Using shortcodes
Test is build with shortcodes. Shortcode is a WordPress-specific code that lets you do nifty things with very little effort. Shortcodes can embed files or create objects in just one line, that would normally require lots of complicated and ugly code. Shortcode = shortcut.
You don’t have to know Shortcodes list, syntax or available parameters, if you decide to create your website content using shortcode generator, which you can find in your window toolbar. Generator allows you to simply put your images, text and other content to input fields and choose display options from self-explanatory boxes.
In shortcode generator you will find shortcodes for any page content element that you can see on the demo page.
Below you will find description for a few basic shortcodes types, which should give you an idea of the shortcodes possibilities.
Structure
Page structure elements: columns, rows, spacers are shortcodes – check Structure section with shortcodes, which help you to create your page grid. Layout generator can be very useful here.
Typography
Do you want to add to your page sections headers, blockquotes, a list or simply a link? In section Typography you will find all options available in Test to format text elements.
Contact
If you want to put any element to let your users contact or follow you or your profile inside your page content, you will find that in Contact shortcode section. You can easily configure elements like: Google Map, Contact form, Newsletter Form, Social buttons and put them anywhere on your page.
Sliders
Our themes come with several types of sliders. You can see preview for them on demo page. All available sliders are always in Sliders the section of shortcode generator.
In the shortcode generator you can find also several types for buttons, boxes, portfolio items, bars and other elements. We encourage you to experiment with all available options.
Was this article helpful ?
Using widgets
Widgets are small blocks of content, which you can find in theme footer or sidebar. They were originally designed to provide a simple and easy-to-use way of giving design and structure control of the WordPress Theme to the user, which is now available on WordPress Themes to include the header, footer, and elsewhere in the WordPress design and structure. Widgets require no code experience or expertise. They can be added, removed, and rearranged on the WordPress Administration Appearance > Widgets panel.
Just drag and drop the widgets you want, into the right hand side where your sidebars and footer widgets are listed. Simply drag your widgets over to the sidebar or footer column, and then populate the content.
There are various fields and settings you can choose for each individual widget and all are self explanatory. You can also use multiple widgets per footer column, just drag and drop them into place. And you can put as many widgets as you want inside sidebar. Once you have finished populating the widgets, always make sure to hit the Save button to save the settings.
Was this article helpful ?
Installation and activation
Installation via Administration Panel
When {Plugin} files are downloaded from your CodeCanyon account. You can start installation using WordPress administration panel.
Once you’ve logged into your administration panel go to Plugins > Add New
Then:
Chose Upload (1), click Select a file (2), {plugin} from your hard drive and click Install Now (3)
Installation via FTP
To install {Plugin} via FTP follow step below:
- Step 1 – Unarchive {plugin} file
- Step 2 – Access your host web server using FTP client
- Step 3 – Find directory wp-content > plugins
- Step 4 – Put folder {plugin} in directory wp-content > plugins
Was this article helpful ?
Creating a size guide
Please note that upon plugin activation there are two sample size guides created, for a quick start you can just edit them!
To create a new size guide:
Go to Size guides > Add new in your WordPress Admin Panel
Insert a title and content
Title will be the name of the size guide. In the content, you can for example describe how a customer can measure its sizes properly.
Fill the size guide

Fill the size guide table content
In the sections 1 and 3 you can specify a table header and a caption.
To add/remove columns and rows just use the plus/minus buttons (inside red squares on the screenshot). Right, it’s as simple as that!
Fill table cells by just clicking on them and inputing the text.
Everytime you create a size guide there is a basic 4×4 table attached to make your work easier.
If you wish to add or remove added extra table use the Add Table or the Remove Table button (2)
Publish it and go to the next section
Was this article helpful ?
Assigning a size guide to a product
There are two ways to get the size guide displayed:
You can assign a size guide to one category or a few, by selecting a category on the size guide editing screen
Once size guide is assigned to the whole product category or categories you can still disable it for single products by checking option Hide size guide from this product
Or you can assign a size guide to a particular product by using the “Choose size guide” box on the product editing screen:
If you select a size guide for a particular product, it will be attached to that product even if the products category has its own size guide assigned.
Was this article helpful ?
Size guide settings
On every created Size Guide you can either use the global settings or adjust them separately.
Go to WooCommerce > Settings > Size guide tab
Options to choose from:
Style
You can choose one of the existing styles or create a new one (details in Creating a style section):
Hide Size Guide
Check this field to hide size guide when the product is out of stock.
Size guide will be displayed if you allow backorders in products settings.
Open guide with
Choose whether to display a simple link or a button to open the size guide.
Button/link position
You can display it either above the product summary tabs (Description, Reviews etc.), after the ‘add to cart’ button, as a tab or use the [ct_size_guide] shortcode on the Single Product page.
Button/link hook priority
Priority of the action that outputs the button/link. Priority is “Used to specify the order in which the functions associated with a particular action are executed. Lower numbers correspond to earlier execution, and functions with the same priority are executed in the order in which they were added to the action.”
If you choose to display the Size Guide above the product summary tabs or after the ‘add to cart’ button this might help you change the position. The final outcome might depend on other plugins and theme features that use the given hooks. ‘woocommerce_after_add_to_cart_button’ hook is not used often, but the ‘woocommerce_single_product_summary’ is commonly used. The basic actions hooked in (almost) every WooCommerce theme are:
woocommerce_template_single_title – 5
woocommerce_template_single_price – 10
woocommerce_template_single_excerpt – 20
woocommerce_template_single_add_to_cart – 30
woocommerce_template_single_meta – 40
woocommerce_template_single_sharing – 50
where the numbers mean the priority. The lower the digit is, the earlier the action will be executed. For example, if you display the Size Guide above the product summary tabs, you can display it right under the title by setting the priority to 7 (or anywhere between 5 and 10) or after the price by setting it to 15 and so on.
Button/link label
Enter the text to be displayed in the link/button. Default: Size Guide.
Button/link align
Choose if the button should be aligned left or right.
Button/link clearing
Allow or disallow floating elements on the sides of the link/button.
More advanced users: if set to no, this option will add a ‘clearfix’ after the button/link.
Button class
You can add any custom class to the button.
Margins
Set the margins on the sides of the link/button.
Popup overlay color
Set the color of the background behind the Size Guide popup window.
Paddings
Set the paddings inside the Size Guide popup window.
Table hover
Option to enable hover effect on the Size Guide table.
Background for hover line
The BG color of the rows and columns of the cell you are hovering.
Background for hover active cell on hover
The BG color of the cell you are hovering.
Responsive tables
Option to enable/disable the responsive view of the table in the Size Guide.
Was this article helpful ?
Creating a style
You can add your own stylesheet to the settings tab using ct_sizeguide_styles filter.
Example:
add_filter(‘ct_sizeguide_styles’ , ‘add_sizeguide_style’);
function add_sizeguide_style($current){
$StylesheetURL = ‘http://www.example.com/assets/sg_style.css’; //link to the stylesheet
$label = ‘My custom style’; //name of the style to be displayed in the settings
$current[$StylesheetURL] = $label;
return $current;
}
This code should go to your functions.php file (or anywhere else you wish).
If you are developing a theme and want your style to be selected upon the plugin activation, simply change the body of the function to:
$current = array($StylesheetURL => $label) + $current;
return $current;
Was this article helpful ?
Creating Weekly Meal Plans
Test comes with custom post types dedicated to create and publish on website Weekly Meal Plans. From previously created Menu items you can build meal plans for as many weeks as you want to. Every meal plan by default contains areas for every four meal on five days a week, but number of meals, days and their labels can be easily edited in Theme Options.
Just navigate to Appearance > Theme Options > Meal Plan and define you options.
On the image above you can check how to edit days and mealtimes in your meal plans. You can easily edit both here.
Examples
Example 1
Your Weekly Meal Plans should contain areas for the following mealtimes: Morning Snack, Lunch, Afternoon Snack, Fruit Snack, for every day since Monday till Friday. Options should look like the following:
Effect:
Example 2
If you want to add additional mealtime: Dinner, you need to edit Theme Options (new mealtime always has to be in separate line):
Effect:
Example 3
If you want to add one more day with meals to Meal Plans. Navigate to Theme Options, and add new line in Days section.
Effect:
Theme Options
In Theme Options you can also choose, which created Menu Plan should be displayed strightaway and which one next week. Here you can choose two options:
Repeat current – to have the same Meal Plan displayed also next week, or Loop all menus – if you created more than one Menu Plan you can display all of them, one by one.
Was this article helpful ?
Creating Menu items
Test allows you to create menu items, which are components of Weekly Meal Plans. You can add here single products, for example: Oranges, Potatos, Chicken Breast. In that way every single menu item can be used in several meals of your meal plan, so it’s more universal. However your menu item base might be larger.
But single menu item can also exist as a whole meal – you can add a description what’s inside. That way, you can add a whole meal to your plan with a single click while creating the Weekly Meal plan.
To create Menu Item – navigate to Menu > Add New
Here you can define a Menu item Title and Description. You can also add featured image to the Menu item. It will be visible after hovering the product in Weekly Meal Plan.
After your menu item is created – remember to click “Publish” to save your changes. Also, after every modification you need to click “Update” to save changes.
Was this article helpful ?
Creating Testimonials
To create new Testimonial, navigate to Testimonials > Add New
In every testimonial, you can define:
- Title
- Description
- Author
- Socials – add usernames/nicks to social, that you want to display wih this testimonial
- Featured image
Remember to click Publish to save your testimonial or Update after every item modification.
Theme Options
In Appearance > Theme Options – Testimonials you can set global options for all Testimonials:
- Show or hide Tweet button
- Show or hide Facebook Share button
- Show socials icons
- Default tweet share message
- Add post permalink to tweet message?
Remember to always click Save Changes when you finish your changes in Theme Options.
Was this article helpful ?
Creating Activity
To create new acitivity, navigate to Activities > Add New.
- Title
- Description
- Activity Summary
- Socials – add usernames/nicks to social, that you want to display wih this testimonial
- Tags
- Categories
- Featured image
Remember to click Publish to save your testimonial or Update after every item modification.
Theme Options
In Appearance > Theme Options – Activities – Index you can set global options for all Activities index page:
- Choose the index page
- Define label for More button
- Show or hide pagination
- Define number of displayed activities
- Define labels for meta options
In Appearance > Theme Options > Activities – Single you can set options for every Activity single page:
- Page title
- Show or hide breadcrumbs
- Show Tweet button
- Show Facebook Share button
- Show socials icons?
- Default tweet share message
- Image displayed on the page top and its’ position
Remember to always click Save Changes when you finish your changes in Theme Options.
Was this article helpful ?
Creating Galleries
To create new Gallery, navigate to Galleries > Add New
In every gallery, you can define:
- Title
- Description
- Tags
- Gallery Images:
- Click on Set featured image
- Click Upload files to upload images for the gallery
Remember to click Publish to save your Gallery or Update after every item modification.
Theme Options
In Appearance > Theme Options – Gallery you can set global options for all Galleries:
- Galleries index page
- Gallery index thumbs limit – Number of images displayed in single gallery section on gallery index page
- Gallery single page title
- Image displayed on the top of the page and it’s position
Remember to always click Save Changes when you finish your changes in Theme Options.
Was this article helpful ?
Creating Programs
To create new acitivity, navigate to Programs > Add New.
In every activity, you can define:
- Title
- Description
- Activity Summary
- Socials – add usernames/nicks to social, that you want to display wih this testimonial
- Tags
- Categories
- Featured image
Remember to click Publish to save your testimonial or Update after every item modification.
Theme Options
In Appearance > Theme Options – Programs – Index you can set global options for all Activities index page:
- Programs index page
- Define label for More button
- Show or hide pagination
- Define number of displayed activities
- Define labels for meta options
- Programs navbar menu options:
In Appearance > Theme Options > Activities – Single you can set options for every Activity single page:
- Page title
- Show or hide breadcrumbs
- Show Tweet button
- Show Facebook Share button
- Show socials icons?
- Default tweet share message
- Image displayed on the page top and it’s position
Remember to always click Save Changes once you finished changes in Theme Options.
Was this article helpful ?
HTML Structure
This theme is built upon bootstrap framework and is fully responsive. It adapts to window resolution and looks good on all devices including iPad and iPhone.
See for yourself (resize your browser).
If you would like to read more
about bootstrap framework click here :
Grid System and Single row structure4>
The default Bootstrap grid system utilizes 12 columns. It’s responsive grid and adapts to viewport. Below 767px viewports, the columns become fluid and stack vertically. The fluid grid system uses percents instead of pixels for column widths. Each row always include 12 columns (for example col-md-8 + col-md-4 = col-md-12).
Bootstrap documentation: here
Basic grid HTML:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
<div class="row"> <div class="col-md-1">.col-md-1</div> <div class="col-md-1">.col-md-1</div> <div class="col-md-1">.col-md-1</div> <div class="col-md-1">.col-md-1</div> <div class="col-md-1">.col-md-1</div> <div class="col-md-1">.col-md-1</div> <div class="col-md-1">.col-md-1</div> <div class="col-md-1">.col-md-1</div> <div class="col-md-1">.col-md-1</div> <div class="col-md-1">.col-md-1</div> <div class="col-md-1">.col-md-1</div> <div class="col-md-1">.col-md-1</div> </div> <div class="row"> <div class="col-md-8">.col-md-8</div> <div class="col-md-4">.col-md-4</div> </div> <div class="row"> <div class="col-md-4">.col-md-4</div> <div class="col-md-4">.col-md-4</div> <div class="col-md-4">.col-md-4</div> </div> <div class="row"> <div class="col-md-6">.col-md-6</div> <div class="col-md-6">.col-md-6</div> </div> |
Page structure
Below you will find default page structure :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
<!DOCTYPE html> <html> <head> [css] </head> <body> [header] [main menu] <!-- main container --> <div id="wrapper"> [component 1] <!-- fullwidth element --> </div> [fullwidth parallax] <div class="container"> <!-- / fullwidth element --> [component 6] </div> <!-- / main container --> [footer] [javascripts] </body> </html> |
Was this article helpful ?
Test – Responsive HTML5 Template
Thank you for purchasing this theme. If you have any questions that are beyond the scope of this help file, please feel free to start new ticket on this page. Thanks so much!
Scope of free support
We can help you with:
- Responding to questions or problems regarding the item and its features
- Fixing any discovered item’s bugs
- Providing updates to ensure compatibility with new software versions
Was this article helpful ?
CSS Files and Structure
If you would like to edit the color, font, or style of any elements, you would do the following:
1 |
#primaryContent a {color: #someColor;} |
If you find that your new style is not overriding, it is most likely because of a specificity problem. Scroll down in your CSS file and make sure that there isn’t a similar style that has more weight.
I.E.
1 |
#wrap #primaryContent a {color: #someColor;} |
So, to ensure that your new styles are applied, make sure that they carry enough “weight” and that there isn’t a style lower in the CSS file that is being applied after yours.
Colors
The theme includes a css file wich you can use to edit the colors.
You just need to add the corresponding CSS file to the head of the page like this:
1 2 3 4 5 |
<head> (..) <link rel="stylesheet" type="text/css" href="css/motive.css"> (..) </head> |
Main Menu structure
Just change brand name, upload your logo to images/content/ folder and you’re ready to go!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
<nav class="navbar ct-navbar--transparent ct-navbar--logoright" role="navigation"> <div class="container"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <a class="navbar-brand" href="index.html"><img src="./assets/images/logo.png" alt="Orlando Logo"> </a> </div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse"> <ul class="nav navbar-nav ct-navbarNav--defaultActive ct-navbar--fadeIn yamm"> <li class="dropdown yamm-fw active"> <a href="index.html">Home <i class="fa fa-angle-double-down"></i></a> <ul class="dropdown-menu"> </ul> </div> <!-- /.navbar-collapse --> <div class="ct-navbar-search"> <form role="form"> <div class="form-group"> <input type="text" class="form-control" placeholder="Please type keywords..." required> </div> <button class="ct-navbar-search-button" type="submit"> <i class="fa fa-search fa-fw"></i> </button> </form> </div> </div> <!-- /.container --> </nav> |
In order to create mega menus read the documentation here:
Icons
We’ve included 360+ font icons.
Awesome Icons – http://fontawesome.io/icons/
HTML markup:
1 2 |
<!-- Awesome Icons --> <i class="fa fa-cog"></i> |
Appearing with Animation when element in viewport
Animation can be turn off just be remove “withAnimation” class from body.
Usage:
– add “animated” class to element and data-fx=”animation-type”. That’s it.
Available animation : http://daneden.github.io/animate.css/
- data-fx=”hinge”
- data-fx=”bounce”
- data-fx=”flash”
- data-fx=”pulse”
- data-fx=”shake”
- data-fx=”swing”
- data-fx=”tada”
- data-fx=”wobble”
- data-fx=”bounceIn”
- data-fx=”bounceInDown”
- data-fx=”bounceInLeft”
- data-fx=”bounceInRight”
- data-fx=”bounceInUp”
- data-fx=”bounceOut”
- data-fx=”bounceOutDown”
- data-fx=”bounceOutLeft”
- data-fx=”bounceOutRight”
- data-fx=”bounceOutUp”
- data-fx=”fadeIn”
- data-fx=”fadeInDown”
- data-fx=”fadeInDownBig”
- data-fx=”fadeInLeft”
- data-fx=”fadeInLeftBig”
- data-fx=”fadeInRight”
- data-fx=”fadeInRightBig”
- data-fx=”fadeInUp”
- data-fx=”fadeInUpBig”
- data-fx=”fadeOut”
- data-fx=”fadeOutDown”
- data-fx=”fadeOutDownBig”
- data-fx=”fadeOutLeft”
- data-fx=”fadeOutLeftBig”
- data-fx=”fadeOutRight”
- data-fx=”fadeOutRightBig”
- data-fx=”fadeOutUp”
- data-fx=”fadeOutUpBig”
- data-fx=”flip”
- data-fx=”flipInX”
- data-fx=”flipInY”
- data-fx=”flipOutX”
- data-fx=”flipOutY”
- data-fx=”lightSpeedIn”
- data-fx=”lightSpeedOut”
- data-fx=”rotateIn”
- data-fx=”rotateInDownLeft”
- data-fx=”rotateInDownRight”
- data-fx=”rotateInUpLeft”
- data-fx=”rotateInUpRight”
- data-fx=”rotateOut”
- data-fx=”rotateOutDownLeft”
- data-fx=”rotateOutDownRight”
- data-fx=”rotateOutUpLeft”
- data-fx=”rotateOutUpRight”
- data-fx=”slideInDown”
- data-fx=”slideInLeft”
- data-fx=”slideInRight”
- data-fx=”slideOutLeft”
- data-fx=”slideOutRight”
- data-fx=”slideOutUp”
- data-fx=”rollIn”
- data-fx=”rollOut”
CSS Files & Structure
We’ve included 2 files.
bootstrap.css contains Bootstrap 3 Library.
style.css file contains general styles.
1.A. Google Fonts
1.B. Revolution Slider styles
1.C. Magnific popup styles
1.D. Font Awesome styles
1.E Yamm styles
1.F Flexslider styles
1.G Animate css styles
2. GENERAL STYLES
3. Typography
4. Buttons
5. Pagination
6. Alerts
7. Inputs
8. Pophover
9. Header styles
10. Navbar styles
11. Call to action
12. Sections
13. Media sections – video/parallax/kenburns
14. Process circles
15. Person box
16. Service box
17. Pre footer section
18. Footer
19. Articles
20. Counters
21. Blockquote
22. Tabs
23. Images widget
24. Project single
25. Project images
26. Lists
27. Pricing box
28. Accordion
29. Socials
30. Square icons
31. Charts
32. Progress bar
33. Twitter
34. Google map
35. Flexslider
36. Revslider
37. Time circle counter
38. Thumbnail scroller
39. Magnific popup
40. Isotope
41. Helpers
42. D3 swimmers
43. WordPress
44. Media queries, adjustments
45. Motive colors
Utilities
Utility classes are low-level structural and positional traits. Utilities can be applied directly to any element, multiple utilities can be used tohether and utilities can be used alongsie component classes.
Utilities are intended for frequently used CSS properties and patterns, like: floats, containing floats, vertical alignemnt, text tryncation. Relying on utilities can help to reduce repetition and provide consistend implementations.
- Test uses utilities for the following categories:
- Typography
- Display Types
- Paddings
- Margins
- Colors
- Borders
- Background Colors
- Triangles
- Diagonals
- Shadows
Was this article helpful ?
Media Sections
Test supports media sections with Parallax, KenBurns effect and videos.
Parallax Section
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
<section class="ct-mediaSection ct-u-paddingBoth70" data-stellar-background-ratio="0.3" data-height="650" data-type="parallax" data-bg-image="./assets/images/demo-content/bigImage1.jpg" data-bg-image-mobile="./assets/images/demo-content/bigImage1-mobile.jpg" style="min-height: 650px; height: 650px; background-image: url(http://orlando.html.themeforest.createit.pl/light/assets/images/demo-content/bigImage1.jpg); background-position: 50% 50%;"> <div class="ct-mediaSection-inner"> <div class="container"> <div class="row"> <div class="col-sm-4"> <header class="ct-pageSectionHeader"> <h3 class="text-lowercase ct-fw-600"> Parallax <small class="ct-fw-700 text-uppercase">Yes, we are the absolute best in the business </small> </h3> </header> </div> <div class="col-sm-8"> <p> Donec justo mauris, sagittis sed vulputate ut, commodo dapibus massa. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Cras ut mi lacus. Morbi accumsan mauris ac posuere vehicula. Donec bibendum tellus rutrum turpis varius dictum. Maecenas tristique arcu sed rhoncus laoreet. Praesent eget fermentum nisi. Donec ac velit aliquet, bibendum sem in, convallis est. Phasellus sodales ultricies cursus. Vivamus leo nunc, pretium vitae dictum a, mollis ut sapien. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec porttitor tristique sem, dictum vehicula nisi accumsan eget. Pellentesque habitant morbi tristique senectus et netus. </p> <a href="contact.html" class="btn btn-primary ct-btn--rounded text-uppercase">Contact Us</a> <a href="features-p-tables.html" class="btn ct-btn--black ct-btn--rounded text-uppercase">Pricing Options</a> </div> </div> </div> </div> </section> |
We are using stellar.js for the parallax effect. Check their documentation to check which attributes you can use in each parallax section.
http://markdalgleish.com/projects/stellar.js/docs/
Our custom data-attributes for the parallax section are:
- data-height: Define the minimun height for the sections
- data-type: Type of Media Section (parallax/kenburns/video)
- data-image: Background image for the section.
- data-image-mobile: Fallback image (Should be smaller than the original) that is loaded for small devices. This will help you with the bandwidth, you’re welcome! 🙂
Ken Burns Sections
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
<section class="ct-mediaSection ct-u-paddingBoth70 ct-u-colorWhite" data-height="650" data-type="kenburns" data-bg-image-mobile="./assets/images/demo-content/bigImage5-mobile.jpg" style="min-height: 650px; height: 650px;"> <div class="ct-mediaSection-kenburnsImageContainer"> <img src="./assets/images/demo-content/bigImage5.jpg" alt="demo image" class="fx"> <img src="./assets/images/demo-content/bigImage4.jpg" alt="demo image" class=""> <img src="./assets/images/demo-content/bigImage5.jpg" alt="demo image" class="fx"> </div> <div class="ct-mediaSection-inner"> <div class="container"> <div class="row"> <div class="col-sm-4"> <header class="ct-pageSectionHeader"> <h3 class="text-lowercase ct-fw-600 ct-u-colorWhite"> Ken Burns <small class="ct-fw-700 text-uppercase ct-u-colorWhite">Yes, we are the absolute best in the business </small> </h3> </header> </div> <div class="col-sm-8"> <p> Donec justo mauris, sagittis sed vulputate ut, commodo dapibus massa. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Cras ut mi lacus. Morbi accumsan mauris ac posuere vehicula. Donec bibendum tellus rutrum turpis varius dictum. Maecenas tristique arcu sed rhoncus laoreet. Praesent eget fermentum nisi. Donec ac velit aliquet, bibendum sem in, convallis est. Phasellus sodales ultricies cursus. Vivamus leo nunc, pretium vitae dictum a, mollis ut sapien. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec porttitor tristique sem, dictum vehicula nisi accumsan eget. Pellentesque habitant morbi tristique senectus et netus. </p> <a href="contact.html" class="btn btn-primary ct-btn--rounded text-uppercase">Contact Us</a> <a href="features-p-tables.html" class="btn btn-default ct-btn--rounded text-uppercase">Pricing Options</a> </div> </div> </div> </div> </section> |
KenBurns section supports one or more images that you should add inside .media-section-image-container
Our custom data-attributes for the kenburns section are:
- data-height: Define the minimun height for the sections
- data-type: Type of Media Section (parallax/kenburns/video)
- data-image-mobile: Fallback image (Should be smaller than the original) that is loaded for small devices. Kenburns it too much for ipads, iphones and so on, so we allow you to fallback to a normal image section. This way your browser won’t crash 🙂
Video Sections
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
<section class="ct-mediaSection ct-u-paddingBoth70 ct-u-colorWhite" data-height="700" data-type="video" data-bg-image-mobile="./assets/images/demo-content/bigImage3-mobile.jpg" style="min-height: 700px; height: 700px;"> <div class="ct-mediaSection-video embed-responsive embed-responsive-16by9"> <!-- in order for video to be muted you must add &api=1&player_id=vimeoplayer1 to the end of the video src If you have more than one video, make sure that player_id and id have dif names on each video --> <video id="video1" muted="" loop="" autoplay="autoplay" preload="auto"> <source src="http://orlando.html.themeforest.createit.pl/light/assets/videos/loopbookeh.mp4" type="video/mp4"> <source src="http://orlando.html.themeforest.createit.pl/light/assets/videos/loopbookeh.webm" type="video/webm"> </video> </div> <div class="ct-u-displayTable" style="height: 700px;"> <div class="ct-mediaSection-inner"> <div class="container"> <div class="row"> <div class="col-sm-4"> <header class="ct-pageSectionHeader"> <h3 class="text-lowercase ct-fw-600 ct-u-colorWhite"> Video <small class="ct-fw-700 text-uppercase ct-u-colorWhite">Yes, we are the absolute best in the business </small> </h3> </header> </div> <div class="col-sm-8"> <p> Donec justo mauris, sagittis sed vulputate ut, commodo dapibus massa. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Cras ut mi lacus. Morbi accumsan mauris ac posuere vehicula. Donec bibendum tellus rutrum turpis varius dictum. Maecenas tristique arcu sed rhoncus laoreet. Praesent eget fermentum nisi. Donec ac velit aliquet, bibendum sem in, convallis est. Phasellus sodales ultricies cursus. Vivamus leo nunc, pretium vitae dictum a, mollis ut sapien. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec porttitor tristique sem, dictum vehicula nisi accumsan eget. Pellentesque habitant morbi tristique senectus et netus. </p> <a href="contact.html" class="btn btn-primary ct-btn--rounded text-uppercase">Contact Us</a> <a href="features-p-tables.html" class="btn btn-default ct-btn--rounded text-uppercase">Pricing Options</a> </div> </div> </div> </div> </div> </section> |
We recommend you to use html5 video instead of vimeo, since in some specific browsers the sound won’t be muted.
Our custom data-attributes for the video section are:
- data-height: Define the minimun height for the sections
- data-type: Type of Media Section (parallax/kenburns/video)
- data-image-mobile: Fallback image (Should be smaller than the original) that is loaded for small devices. Phones don’t autoplay video, so we just replace it for an image
Was this article helpful ?
Charts
Progress Bars
This theme has 2 types of layout and all you have to do is change one class. Also, everything is done via data attribute.
1 2 3 4 5 6 7 8 |
<div class="progress"> <div class="progress-bar animating" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;"> <span class="ct-progressBar-text">60% Complete</span> <div class="ct-progressBar-tr"></div> </div> </div> </div> |
1 2 3 4 5 6 7 8 |
<div class="progress"> <div class="progress-bar progress-bar-success progress-bar-striped animating" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%;"> <span class="ct-progressBar-text">40% Complete (success)</span> <div class="ct-progressBar-tr"></div> </div> </div> </div> |
- aria-valuenow: Percentage this bar should have
- aria-valuemax: Max value
- aria-valuemin: Min value
Was this article helpful ?
Typography
We use google font service to include fonts or font face sets.
Ligh Font used: Open Sans
Credits:
Open Sans
Was this article helpful ?
JavaScript
All javascripts are placed in folder /js. In main.js file we implement all functions calls.
This theme uses following Javascript files:
- Bootstrap v 3 framework (powerful front-end framework for faster and easier web development)
- jQuery v1.10.2 (A fast javascript library that Foodtruckifies how to traverse HTML documents, handle events, perform animations.)
- jQuery FlexSlider v2.2.0
- GMAP3 Plugin for JQuery v. 5.1.1
- jQuery.appear
- FitVids 1.0.3
- jQuery Stellar
- jQuery tweet
- Modernizr 2.0.6
- PageScroller
- final-countdown.js
- snap.js
- device.js 0.1.58
- chart.js
Google Map (GMAP3 Plugin)
This is google map with custom marker, you can define couple parameters:
- data-location – address to show
- data-height – map height (if undefined height will be 220px)
- data-offset – by how many map should be repositioned from marker center point (default -30)
It uses gmap3 plugin.
Documentation: here
HTML Markup:
1 |
<div class="ct-googleMap" data-location="Narbutta 24, Warsaw" data-zoom="15" data-height="500"></div> |
All javascript code can be found in js/main.js file.
Flexslider
Content / Images Slider.
Each parameter can be defined as data attribute :
- data-namespace
- data-selector
- data-animation
- data-easing
- data-direction
- data-reverse
- data-animationloop
- data-smoothheight
- data-startat
- data-slideshow
- data-slideshowspeed
- data-animationspeed
- data-initdelay
- data-randomize
- data-thumbcaptions
- data-pauseonaction
- data-pauseonhover
- data-pauseinvisible
- data-usecss
- data-touch
- data-video
- data-controlnav
- data-directionnav
- data-prevtext
- data-nexttext
- data-keyboard
- data-multiplekeyboard
- data-mousewheel
- data-pauseplay
- data-pausetext
- data-playtext
- data-itemwidth
- data-itemmargin
- data-minitems
- data-maxitems
- data-move
- data-allowoneslide
- data-controlscontainer
- data-manualcontrols
- data-sync
- data-asnavfor
Read the documentation here:
1 2 3 |
div class="flexslider" data-animation="slide" data-height="100" data-loop="true" data-smooth="true" data-slideshow="true" data-speed="15000" data-animspeed="550" data-controls="true" data-dircontrols="true" data-controlscontainer=".controls"> (...) </div> |
And js initialization (js/main.js file), there you can change slider parameters:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 |
/* ==================== */ /* ==== FLEXSLIDER ==== */ if(jQuery().flexslider){ if (jQuery(".flexslider").length > 0) { jQuery(".flexslider").each(function(){ $this=jQuery(this); var ctnamespace = validatedata($this.attr("data-namespace"),"flex-"); var ctselector = validatedata($this.attr("data-selector"),".slides > li"); var ctanimation = validatedata($this.attr("data-animation"),"slide"); var cteasing = validatedata($this.attr("data-easing"),"swing"); var ctdirection = validatedata($this.attr("data-direction"),"horizontal"); var ctreverse = parseBoolean($this.attr("data-reverse"), false); var ctanimationloop = parseBoolean($this.attr("data-animationloop"), false); var ctsmoothheight = parseBoolean($this.attr("data-smoothheight"), false); var ctstartat = parseInt(validatedata($this.attr("data-startat"), 0)); var ctslideshow = parseBoolean($this.attr("data-slideshow"), true); var ctslideshowspeed = parseInt(validatedata($this.attr("data-slideshowspeed"), 7000)); var ctanimationspeed = parseInt(validatedata($this.attr("data-animationspeed"), 600)); var ctinitdelay= parseInt(validatedata($this.attr("data-initdelay"), 0)); var ctrandomize = parseBoolean($this.attr("data-randomize"), false); var ctthumbcaptions = parseBoolean($this.attr("data-thumbcaptions"), false); var ctpauseonaction= parseBoolean($this.attr("data-pauseonaction"), true); var ctpauseonhover = parseBoolean($this.attr("data-pauseonhover"), false); var ctpauseinvisible= parseBoolean($this.attr("data-pauseinvisible"), true); var ctusecss= parseBoolean($this.attr("data-usecss"), true); var cttouch= parseBoolean($this.attr("data-touch"), true); if(device.mobile()){ cttouch = false; } var ctvideo = parseBoolean($this.attr("data-video"), false); var ctcontrolnav= parseBoolean($this.attr("data-controlnav"), true); if(ctcontrolnav == false){ $this.addClass("no-margin"); } var ctdirectionnav= parseBoolean($this.attr("data-directionnav"), false); var ctprevtext = validatedata($this.attr("data-prevtext"),"Previous"); var ctnexttext = validatedata($this.attr("data-nexttext"),"Next"); var ctkeyboard= validatedata(parseBoolean($this.attr("data-keyboard")), true); var ctmultiplekeyboard= parseBoolean($this.attr("data-multiplekeyboard"), false); var ctmousewheel= parseBoolean($this.attr("data-mousewheel"), false); var ctpauseplay= parseBoolean($this.attr("data-pauseplay"), false); var ctpausetext = validatedata($this.attr("data-pausetext"),"Pause"); var ctplaytext = validatedata($this.attr("data-playtext"),"Play"); var ctitemwidth= parseInt(validatedata($this.attr("data-itemwidth"), 0)); var ctitemmargin= parseInt(validatedata($this.attr("data-itemmargin"), 0)); var ctminitems= parseInt(validatedata($this.attr("data-minitems"), 0)); var ctmaxitems= parseInt(validatedata($this.attr("data-maxitems"), 0)); var ctmove= parseInt(validatedata($this.attr("data-move"), 0)); var ctallowoneslide= parseBoolean($this.attr("data-allowoneslide"), false); var ctcontrolscontainer= validatedata($this.attr("data-controlscontainer"), ""); var ctmanualcontrols= validatedata($this.attr("data-manualcontrols"), ""); var ctsync = validatedata($this.attr("data-sync"), ""); var ctasnavfor = validatedata($this.attr("data-asnavfor"), ""); $this.flexslider({ namespace: ctnamespace, //{NEW} String: Prefix string attached to the class of every element generated by the plugin selector: ctselector, //{NEW} Selector: Must match a simple pattern. "{container} > {slide}" -- Ignore pattern at your own peril animation: ctanimation, //String: Select your animation type, "fade" or "slide" easing: cteasing , //{NEW} String: Determines the easing method used in jQuery transitions. jQuery easing plugin is supported! direction: ctdirection, //String: Select the sliding direction, "horizontal" or "vertical" reverse: ctreverse, //{NEW} Boolean: Reverse the animation direction animationLoop: ctanimationloop, //Boolean: Should the animation loop? If false, directionNav will received "disable" classes at either end smoothHeight: ctsmoothheight, //{NEW} Boolean: Allow height of the slider to animate smoothly in horizontal mode startAt: ctstartat, //Integer: The slide that the slider should start on. Array notation (0 = first slide) slideshow: ctslideshow, //Boolean: Animate slider automatically slideshowSpeed: ctslideshowspeed, //Integer: Set the speed of the slideshow cycling, in milliseconds animationSpeed: ctanimationspeed, //Integer: Set the speed of animations, in milliseconds initDelay: ctinitdelay, //{NEW} Integer: Set an initialization delay, in milliseconds randomize: ctrandomize, //Boolean: Randomize slide order thumbCaptions: ctthumbcaptions, //Boolean: Whether or not to put captions on thumbnails when using the "thumbnails" controlNav. // Usability features pauseOnAction: ctpauseonaction, //Boolean: Pause the slideshow when interacting with control elements, highly recommended. pauseOnHover: ctpauseonhover, //Boolean: Pause the slideshow when hovering over slider, then resume when no longer hovering pauseInvisible: ctpauseinvisible, //{NEW} Boolean: Pause the slideshow when tab is invisible, resume when visible. Provides better UX, lower CPU usage. useCSS: ctusecss, //{NEW} Boolean: Slider will use CSS3 transitions if available touch: cttouch, //{NEW} Boolean: Allow touch swipe navigation of the slider on touch-enabled devices video: ctvideo, //{NEW} Boolean: If using video in the slider, will prevent CSS3 3D Transforms to avoid graphical glitches // Primary Controls controlNav: ctcontrolnav, //Boolean: Create navigation for paging control of each clide? Note: Leave true for manualControls usage directionNav: ctdirectionnav, //Boolean: Create navigation for previous/next navigation? (true/false) prevText: ctprevtext, //String: Set the text for the "previous" directionNav item nextText: ctnexttext, //String: Set the text for the "next" directionNav item // Secondary Navigation keyboard: ctkeyboard, //Boolean: Allow slider navigating via keyboard left/right keys multipleKeyboard: ctmultiplekeyboard, //{NEW} Boolean: Allow keyboard navigation to affect multiple sliders. Default behavior cuts out keyboard navigation with more than one slider present. mousewheel: ctmousewheel, //{UPDATED} Boolean: Requires jquery.mousewheel.js (https://github.com/brandonaaron/jquery-mousewheel) - Allows slider navigating via mousewheel pausePlay: ctpauseplay, //Boolean: Create pause/play dynamic element pauseText: ctpausetext, //String: Set the text for the "pause" pausePlay item playText: ctplaytext, //String: Set the text for the "play" pausePlay item // Special properties controlsContainer: ctcontrolscontainer, //{UPDATED} jQuery Object/Selector: Declare which container the navigation elements should be appended too. Default container is the FlexSlider element. Example use would be $(".flexslider-container"). Property is ignored if given element is not found. manualControls: ctmanualcontrols, //{UPDATED} jQuery Object/Selector: Declare custom control navigation. Examples would be $(".flex-control-nav li") or "#tabs-nav li img", etc. The number of elements in your controlNav should match the number of slides/tabs. sync: ctsync, //{NEW} Selector: Mirror the actions performed on this slider with another slider. Use with care. asNavFor: ctasnavfor, //{NEW} Selector: Internal property exposed for turning the slider into a thumbnail navigation for another slider // Carousel Options itemWidth: ctitemwidth, //{NEW} Integer: Box-model width of individual carousel items, including horizontal borders and padding. itemMargin: ctitemmargin, //{NEW} Integer: Margin between carousel items. minItems: ctminitems, //{NEW} Integer: Minimum number of carousel items that should be visible. Items will resize fluidly when below this. maxItems: ctmaxitems, //{NEW} Integer: Maxmimum number of carousel items that should be visible. Items will resize fluidly when above this limit. move: ctmove, //{NEW} Integer: Number of carousel items that should move on animation. If 0, slider will move all visible items. allowOneSlide: ctallowoneslide //{NEW} Boolean: Whether or not to allow a slider comprised of a single slide }) }) } |
jquery.appear
This plugin call function when element appear in viewport. This is used in custom animation, progress bars, counter timer.
Documentation: https://github.com/bas2k/jquery.appear/
1 2 3 4 5 6 7 8 9 10 11 12 13 |
if (jQuery().appear) { if (device.mobile()) { // disable animation on mobile jQuery("body").removeClass("withAnimation"); } else { jQuery('.withAnimation .animated').appear(function () { jQuery(this).each(function () { jQuery(this).addClass('activate'); jQuery(this).addClass($(this).data('fx')); }); }, {accY: -150}); } } |
fitVids
Just make video responsive.
Documentation: http://fitvidsjs.com/
HTML Markup:
1 2 3 |
<div class="fit-video"> <iframe width="853" height="480" src="//www.youtube.com/embed/HJ2F7eptn_A?rel=0" frameborder="0" allowfullscreen></iframe> </div> |
and js:
1 2 3 4 5 |
/* ================================= */ /* ==== FIT VIDEOS TO CONTAINER ==== */ if (($().fitVids)){ $(".fit-video").fitVids(); } |
Charts.js
This plugin is used to make graphics.
Documentation: http://www.chartjs.org/
Was this article helpful ?
Flexslider
Below you will find HTML markup for flexslider:
1 2 3 4 5 |
<div class="flexslider ct-flexslider--controlsVertical ct-flexslider--controlsWhite ct-js-flexslider" data-animations="true" data-height="100%"> (...) </div> |
You can change number of flexslider parameters using javascript – learn more about parameters.
Was this article helpful ?
Contact form
Template comes with ready to use:
- Contact Form
- Newsletter Form
All needed files are in /form directory.
Remember to includeon page.
To configure form just edit form/config.php and change e-mails to your own :
1 2 |
$to = "mail@example.com"; $from = "mail@example.com"; |
That’s it!
Contact Form
HTML Markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
<div class="ct-contactForm"> <div class="successMessage alert alert-success" style="display: none"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> Thank You! </div> <div class="errorMessage alert alert-danger" style="display: none"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> Ups! An error occured. Please try again later. </div> <form role="form" action="./assets/form/send.php" method="post" class="contactForm validateIt" data-email-subject="Contact Form" data-show-errors="true"> <div class="row"> <div class="col-md-6"> <div class="form-group"> <input id="contact_name" placeholder="Name" required="" type="text" name="field[]" class="form-control"> <label for="contact_name">Name</label> </div> <div class="form-group"> <input id="contact_email" placeholder="Email" required="" type="email" name="field[]" class="form-control"> <label for="contact_email">Email</label> </div> <div class="form-group"> <input id="contact_subject" placeholder="Subject" required="" type="text" name="field[]" class="form-control"> <label for="contact_subject">Subject</label> </div> </div> </div> <div class="row"> <div class="col-xs-12"> <div class="form-group"> <textarea id="contact_message" placeholder="Message" class="form-control" rows="8" name="field[]" required=""></textarea> <label for="contact_message">Message</label> </div> </div> </div> <div class="row"> <div class="col-xs-12"> <button type="submit" class="btn ct-btn--perspective btn-primary btn-lg text-uppercase pull-right"><i class="fa fa-paper-plane"></i> Send Message </button> </div> </div> </form> </div> |
Newsletter Form
HTML Markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<h4 class="uppercase motive section-top">Subscribe to Newsletter</h4> <div class="successMessage alert alert-success" style="display: none;"><button class="close" type="button" data-dismiss="alert">×</button> Thank You!</div> <div class="errorMessage alert alert-danger" style="display: none;"><button class="close" type="button" data-dismiss="alert">×</button> Ups! An error occured. Please try again later.</div> <form class="form-inline validateIt" action="../../assets/form/send.php" method="post" data-email-subject="Newsletter Form" data-show-errors="true" data-hide-form="true"> <div class="input-group"><input class="form-control" name="field[]" type="email" placeholder="Enter your email address" /> <input name="msg_subject" type="hidden" value="New Newsletter subscription" /> <span class="input-group-btn"> <button class="btn btn-brick" type="submit">GO</button> </span></div> </form> |
Options (can be changed in HTML) :
- Mail Subject – just change value in :
- Success Message – change successMessage div content
- Error Message – change errorMessage div content
Was this article helpful ?
Twitter Feed
This is live twitter feed. This plugin will grab your latest tweets and display them on page.
Configuration: – just edit twitter/config.php file :
1 2 3 4 5 6 7 8 9 |
$config = array( 'username' => "XXX", //username 'limit' => 3, //how many tweets we would like to display? 'with_replies' => true, //show replies? true or false 'oauth_access_token' => 'TOKEN', 'oauth_access_token_secret' => 'TOKEN_SECRET', 'consumer_key' => 'KEY', 'consumer_secret' => 'KEY_SECRET', ); |
Where can I get these keys, tokens, etc?
Twitter API requires authentication to display tweets from your account.
To twiiter feed work you need to create the ‘application’
and generate 4 special keys for your twitter account via https://dev.twitter.com/apps:
– Consumer key (key)
– Consumer secret (secret)
– Access token (token)
– Access token secret (token_secret)
Video tutorial : “How to create Twitter App”
http://vimeo.com/60891535
Was this article helpful ?
Sources & Credits
The following sources and files have been used to build up this theme
- Twitter Bootstrap – http://twitter.github.com/bootstrap/
- jQuery – http://www.jquery.com
Was this article helpful ?
Creating Header Blocks
Using Test allows you to add custom area above main content container. In this place you may display the selected Header Block. To every page you can assign separate Header Block.
To create your blocks navigate in main admin menu to Header Blocks > Add New
Add title and content to your new header block. In block content you can use all elements available in Test. Use for it Visual Composer or Shortcodes.
Notice:
Using Full width option in column settings allows you to create full width Header Block
Assign Header Block to page
You can assign to each page different Header Block. Just go to Template Settings while you are editing your page and choose Header Block.
Remember to click Update once Header Block is assigned to page.
Was this article helpful ?
Settings
Upon plugin activation the {Plugin} will be enabled. Every product will be by default displayed without Add to cart button, price and without any custom button for {Plugin} information.
To change the catalog mode settings go to WooCommerce > Settings > Catalog mode tab.
Settings Options:
- Disable Catalog Mode – You can check this field to disable the catalog mode on all screens, the Add to cart button and all the cart functionalities will be enabled again.
- Disable for logged in users – Check this field if you want to disable catalog mode for logged in users.
- Remove Price Tag From Site – Remove the price from all products
- Remove price tag from not logged in users – Check this field if you want to hide price tag from not logged in users.
- Create Item list Button – Enable the single product button and his styles.
- Create shop list Button – Enable the shop list button and its styles.
Was this article helpful ?
Catalog Mode Button
When the button is enabled the corresponding area will be displayed below the main settings.
Here you can add your custom styles for a button.
The style settings are the same for both item and shop buttons, but the values can be changed separately.
There are 8 buttons included on the plugin:
- WooCommerce Default – only supports margins, paddings and custom class,
- flat,
- minimalistic,
- basic,
- rounded,
- slick,
- volume
- solid
They can be selected from the field Button Style, it’s possible to change the default button’s styles by filling the desired field.
Was this article helpful ?
Custom style
To add a custom style, the Custom style needs to be selected in Button style field.
After that fill the style fields and click Save.
All custom styles including the defaults from the plugin can be added with a custom class, simply add the class string to the Custom class field.
Was this article helpful ?
Single product settings
Every single product have the option to enable or disable catalog mode or use global settings from the woocommerce setting bar. You can also disable Catalog Mode for logged in users.
With this options the products will be differentiated, for example one product can have the “add to cart button” and the price enabled if the option of the catalog mode is set to disable and the other products will continue to have the normal settings.
Was this article helpful ?
PlugIn Hooks
The default button can be changed with the ct_catalog.css_template.default (path) hook
If you want to minify the buttons CSS this hook will do it for you,
1 |
ct_catalog.css.minify(true) |
by default the minify functionality is set to true.
Add custom template button
With the ct_catalog.css_template hook can be added new templates to the plugin
Example:
Lets add a new button style to the settings select list:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
add_filter('ct_catalog.css_template.styles','addCatalogstyleSelect'); function 'addCatalogstyleSelect'($list){ $list['custom-style-name'] = __('New Button Style','custom'); return $list; } Once we have the button on the list lets add the path for the stylesheet file add_filter('ct_catalog.css_template','addCatalogStyle',10,2); function 'addCatalogStyle'($current,$name){ if ($name=='custom-style-name'){ $current ='http://www.example.com/assets/custom_style.css'; } return $current; } |
All done, now have button will have your custom stylsheet.
If for some reason the price need to be hidden or shown there is a hook for that too:
1 |
‘ct_catalog.price.enable’ |
On this example lets hide a price if the value is bigger than 5
1 2 3 4 5 6 7 8 9 10 11 |
add_filter('ct_catalog.price.enable', 'changePriceVisibility', 10, 2); function changePriceVisibility($status, $price) { $status = 'yes'; if ($price > 5) { $status = 'no'; } return $status; } |
Was this article helpful ?
Theme Flavours
As you can see on our Demo page Test comes with {variations}.
{parent-theme} is a main theme, which always needs to be installed if you want your website to work correctly. Styles such as {child-theme-1} and {child-theme-2} are child themes, which can be installed additionally (once {parent-theme} is installed) if you want to use {child-theme-1} or {child-theme-2} style on your website.
Child Theme installation is analogous process to Main Theme installation. Every child theme has its own zip package with installation files, which you will find in downloaded package.
Example:
You downloaded .zip package with theme files from ThemeForest and want to use on you website {child-theme-2} version of Test.
STEP BY STEP
- STEP 1: Unarchive downloaded package from ThemeForest
- STEP 2: Install {theme}.zip file via Administration Panel or FTP
- STEP 3: install {child-theme-2}.zip package via Administration Panel or FTP
- STEP 4: go to Appearance > Themes and activate {child-theme-2}
- STEP 5: Import demo content for {child-theme-2} Theme
And it’s ready to customize! In analogous way you can install every child theme.
Was this article helpful ?
Global settings
You can change View360 plugin options via View360 > Global Settings
You can manage there the following options:
- Width – You can change Width of Window Frames (You can also use percentages);
- Height – You can change Height of Window Frames (You can also use percentages);
- Number of frames – You can change Height of Window Frames (You can also use percentages);
- Number of frames for standard image – Number of frames per line (when horizontal) or per column (when vertical);
- Speed – You Can change Animated rotation speed;
- Duration of stop motion – Duration of opening animation (in seconds);
- Stop motion time – Delay before View360 starts playing by itself (in seconds);
- Enable gyroscope – You can switch on the box to enable interaction via device’s built-in gyroscope;
- Mouse scroll interaction – You can switch on the box to enable interaction mouse scroll;
- View progress – You can switch on the box if you want to see you strip progress;
- Responsiveness – If switched to responsive mode, View will obey dimensions of its parent container, will grow to fit and will adjust the interaction and UI accordingly (and also on resize);
- Cursor type – You can select which cursor to be Hand or Arrow;
- Draggable Cursor – You can switch on the box if you want switch off the ability to interact;
- Play Animation on mouse over – You can switch on the box if you want to interact PUT after driving over a photo (Draggable Cursor option is required);
- Follow the mouse – If your View image motion doesn’t follow the mouse when dragged (moves in opposite direction), set this to true to indicate clockwise organization of frames;
Was this article helpful ?
Button Settings
You can set also custom settings for a plugin button:
- Open view with – select how you want your button: Link, Button or Icon;
- Button/link position – choose where be placed your button (Above the product summary tabs ,After Add To Cart button,Make it a tab, Embed manually (shortcode), Add Button to Product Gallery);
- Add Buttons Control – add buttons to control the View360 right and left;
- Button/link label – enter the text to be displayed in the link/button. Default: view360
- Button/link align – choose if the button should be aligned left or right
- Button class – you can add yours class for button (if you add Button_ct you make change color button/border/text);
- Button/link align – choose if the button should be aligned left or right;
- Button color – set the background color;
- Border/Text button color – set the borders and text color;
- Margins – add marigns;
- Paddings – add paddings;
Woocommerce Integration
Replace default gallery image – if you want to use View360 as a single product gallery – use the code generated in textarea.
Was this article helpful ?
Add new View360
To create new View360 navigate to View360 > Add New in your WordPress admin panel.
Define a title – it will be name for your new View360
Choose Gallery images for View360:
You can setup the following settings for every View360
Was this article helpful ?
Assign View360
You can display View360 as a product gallery in product edition page using Choose Gallery for View360 box:
Using the Choose location add View360 allows you to setup Button View360 location.
You can create a gallery for each product for View360 in box on the product edition page:
Was this article helpful ?
Product category settings
Since version 1.4 Catalog Mode gives you an option to enable or disable the plugin for every product category or subcategory. By default all categories will get global settings, defined via WooCommerce > Settings – Catalog Mode. However you can change this settings per product category or subcategory.
To enable or disable Catalog Mode per product category you need to navigate to Products > Catogories and choose the category, that you want to edit.
On the left hand side, below the category Description you will find Catalog Mode settings:
You can choose one of:
- Use Global Settings – selected category will get settings from WooCoomerce > Settings – Catalog Mode;
- Enable – Catalog Mode for products from selected category will be enabled;
- Disable – Catalog Mode for products from selected cateogry will be disabled;
Notice: if you are editing subcategory instead of Use Global Settings you can choose Use Parents Settings – subcategory will use the closest parents settings then.
Notice:
If a product has more than one category, and assigned categories has different Catalog Mode settings (for example 1 category has enabled category and second one has disabled Catalog Mode) – Catalog Mode will be enabled.
Was this article helpful ?
CSS files and structure
If you would like to edit the color, font, or style of any elements, you would do the following:
1 |
#primaryContent a {color: #someColor;} |
If you find that your new style is not overriding, it is most likely because of a specificity problem. Scroll down in your CSS file and make sure that there isn’t a similar style that has more weight.
I.E.
1 |
#wrap #primaryContent a {color: #someColor;} |
So, to ensure that your new styles are applied, make sure that they carry enough “weight” and that there isn’t a style lower in the CSS file that is being applied after yours.
Colors
The theme includes a css file wich you can use to edit the colors.
You just need to add the corresponding CSS file to the head of the page like this:
1 2 3 4 5 |
<head> (..) <link rel="stylesheet" type="text/css" href="css/red.css"> (..) </head> |
Main Menu structure
Just change brand name, upload your logo to images/content/ folder and you’re ready to go!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
<nav class="navbar ct-navbar--transparent ct-navbar--logoright" role="navigation"> <div class="container"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <a class="navbar-brand" href="index.html"><img src="./assets/images/logo.png" alt="Orlando Logo"> </a> </div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse"> <ul class="nav navbar-nav ct-navbarNav--defaultActive ct-navbar--fadeIn yamm"> <li class="dropdown yamm-fw active"> <a href="index.html">Home <i class="fa fa-angle-double-down"></i></a> <ul class="dropdown-menu"> </ul> </div> <!-- /.navbar-collapse --> <div class="ct-navbar-search"> <form role="form"> <div class="form-group"> <input type="text" class="form-control" placeholder="Please type keywords..." required> </div> <button class="ct-navbar-search-button" type="submit"> <i class="fa fa-search fa-fw"></i> </button> </form> </div> </div> <!-- /.container --> </nav> |
In order to create mega menus read the documentation here:
Icons
We’ve included 360+ font icons.
Awesome Icons – http://fontawesome.io/icons/
HTML markup:
1 2 |
<!-- Awesome Icons --> <i class="fa fa-cog"></i> |
CSS Files & Structure
We’ve included 2 files.
bootstrap.css contains Bootstrap 3 Library.
style.css file contains general styles.
1. Font Awesome
2. Animate.css
3. Typography
4. Buttons
5. Menu
6. Forms
7. Hovers
8. Tables
9. Utilities
10. Media Sections – video/parallax/kenburns
11. Accordions
12. Progress Bar
13. Tabs
14. Mixins
15. Select2
16. Wrapper
17. Page Header
18. Footer
19. Socials Types
20. Counter
21. Blog
22. Blog Panel
23. Blog Comments
24. Pricing Boxes
25. Blockquote
26. Sliders
27. Google Maps
28. Widgets
29. Magnific Popup
30. After & before slider(twentytwenty)
31. Templates
Utilities
Utility classes are low-level structural and positional traits. Utilities can be applied directly to any element, multiple utilities can be used tohether and utilities can be used alongsie component classes.
Utilities are intended for frequently used CSS properties and patterns, like: floats, containing floats, vertical alignemnt, text tryncation. Relying on utilities can help to reduce repetition and provide consistend implementations.
- Test uses utilities for the following categories:
- Typography
- Display Types
- Paddings
- Margins
- Line height
- Borders
- Colors
- Transform
- Section elements
Was this article helpful ?
Magnific popup
Test comes with Magnific popup gallery.
To use ajax gallery with Magnific popup, please use the following HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
<div class="row ct-gallery"> <div class="col-sm-6 col-md-4 ct-u-paddingBottom50 ct-js-magnificPortfolioPopupGroup"> <a href="galleryajax.html" title="Tailoring a men's shirt"> <figure class="ct-hover ct-hover-type5"> <img src="../assets/images/tailor/demo-content/examples-1.jpg" alt=""> <figcaption> <h2>We make it with passion.</h2> </figcaption> </figure> </a> </div> <div class="col-sm-6 col-md-4 ct-u-paddingBottom50 ct-js-magnificPortfolioPopupGroup"> <a href="galleryajax2.html" title="Tailoring a men's shirt"> <figure class="ct-hover ct-hover-type5"> <img src="../assets/images/tailor/demo-content/examples-4.jpg" alt=""> <figcaption> <h2>We make it with passion.</h2> </figcaption> </figure> </a> </div> </div> |
You can use one 15 hover types:
Check hovers demo here.
You can change hover effects with the following CSS classes:
- .ct-hover-type1,
- .ct-hover-type2,
- .ct-hover-type3,
- .ct-hover-type4,
- .ct-hover-type5,
- .ct-hover-type6,
- .ct-hover-type7,
- .ct-hover-type8,
- .ct-hover-type9,
- .ct-hover-type10,
- .ct-hover-type11,
- .ct-hover-type12,
- .ct-hover-type13,
- .ct-hover-type14,
- .ct-hover-type15
Was this article helpful ?
Animations
You can load your HTML conent with awesome animations enabled on scroll.
To animate your HTML element, use the markup below:
1 2 3 4 |
<header class="ct-pageSectionHeader text-center ct-js-animationDynamic"> <h2 class="ct-js-animation--item" data-when="span" data-from="0.5" data-to="0" data-opacity="0" data-translatey="-50">Let's</h2> <h3 class="ct-u-text--white ct-js-animation--item ct-u-hdr3" data-when="span" data-from="0.5" data-to="0" data-opacity="0" data-translatey="50">GET IN TOUCH</h3> </header> |
You can adjust animations with the following data-attributes:
- data-when
- data-from
- data-to
- data-easing
- data-crop
- data-opacity
- data-scale
- data-scalex
- data-scaley
- data-scalez
- data-rotatex
- data-rotatey
- data-rotatez
- data-translatex
- data-translatey
- data-translatez
And CSS classes:
- .ct-js-animationDynamic,
- .ct-js-animation–item
Here you will find full plugin documentation.
Was this article helpful ?
Dividers
Test comes with 7 types of dividers. We designed one for each template style, but feel free to use theme wherever you want.
To add Divider use the following HTML markup:
1 2 3 4 5 6 7 8 9 10 11 |
<div class="row"> <div class="ct-header-text col-md-12 text-center ct-js-animationDynamic"> <h1 class="ct-js-animation--item" data-when="span" data-from="0" data-to="0.5" data-opacity="0" data-translatey="-100">Hello<br><span class="ct-u-hdr2 ct-js-animation--item">I'M ELLEN HOLGATE<br>& I SEW STUFF</span></h1> <div class="ct-divider ct-divider--type1 ct-js-animation--item" data-when="span" data-from="0" data-to="0.5" data-opacity="0" data-translatey="100"> <div class="ct-line ct-line--left"></div> <i class="icon-button"></i> <div class="ct-line ct-line--right"></div> </div> <a href="#prices" class="btn btn-default ct-js-btnScroll btn--radius ct-js-animation--item" data-when="span" data-from="0" data-to="0.5" data-opacity="0" data-translatey="100">SEE WHAT I CAN OFFER YOU</a> </div> </div> |
You can adjust divider style with the following CSS classes:
- .ct-divider–type1,
- .ct-divider–type2,
- .ct-divider–type3,
- .ct-divider–type4,
- .ct-divider–type5,
- .ct-divider–type6,
- .ct-divider–type7
Was this article helpful ?
Section buttons
There are 7 types of section buttons – each for every template style, but feel free to use them wherever you want.
To add button, use the following HTML markup:
1 2 3 4 5 6 7 8 9 10 11 |
<div class="ct-header-arrow--circleD"> <div class="ct-arrow--outer"> <a class="ct-js-btnScroll" href="#about"> <div class="ct-arrow--inner"> <div class="ct-arrow--icon"> <div class="ct-arrow"></div> </div> </div> </a> </div> </div> |
and CSS classes:
- .ct-header-arrow–circle,
- .ct-header-arrow–circleD,
- .ct-header-arrow–circleDecoration,
- .ct-header-arrow–circleDecoration2,
- .ct-header-arrow–circleDecoration3,
- .ct-header-arrow–triangle,
- .ct-header-arrow–shape
Was this article helpful ?
Decorations types
In Test you can use one of 7 decoration types. Every styles has it’s own rotate variation.
Use the following HTML markup:
1 2 |
<section class="ct-mediaSection ct-decoration--type1 ct-u-paddingBoth80 ct-glyph--text scroll" <section class="ct-mediaSection ct-u-paddingBoth80 ct-decoration--type1-rotate scroll" id="prices"> |
And choose your type with CSS classes:
- .ct-decoration–type1,
- .ct-decoration–type1-rotate,
- .ct-decoration–type2,
- .ct-decoration–type2-rotate,
- .ct-decoration–type3,
- .ct-decoration–type3-rotate,
- .ct-decoration–type4,
- .ct-decoration–type4-rotate,
- .ct-decoration–type5,
- .ct-decoration–type5-rotate,
- .ct-decoration–type6,
- .ct-decoration–type6-rotate,
- .ct-decoration–type7,
- .ct-decoration–type7-rotate
Was this article helpful ?
Socials
You can choose from 3 types of Socials:
- -rounded
- -square
- -square with rounded border
Use the following HTML markup to add socials:
1 2 3 4 5 6 7 |
<div class="ct-item--contact ct-socials--contact"> <span class="ct-header--contact">Follow me</span> <a href="index.html" class="ct-socials--circle"><i class="fa fa-facebook"></i></a> <a href="index.html" class="ct-socials--circle"><i class="fa fa-twitter"></i></a> <a href="index.html" class="ct-socials--circle"><i class="fa fa-google-plus"></i></a> <a href="index.html" class="ct-socials--circle"><i class="fa fa-pinterest"></i></a> </div> |
And adjust it with CSS classes:
- .ct-socials–circle,
- .ct-socials–square,
- .ct-socials–square-rounded
Was this article helpful ?
Javascript
All javascripts are placed in folder /js. In main.js file we implement all functions calls.
This theme uses following Javascript scripts:
- Bootstrap
- jQuery
- counter(jquery.countTo.js)
- ct-mediaSections(with stellar.js)
- flexslider
- gmaps API
- isotope (http://isotope.metafizzy.co/)
- magnific-popup (http://dimsemenov.com/plugins/magnific-popup/)
- scrollme(jquery.scrollme.js)
- select2.js http://ivaynberg.github.io/select2/
- stacktable.js (http://johnpolacek.github.io/stacktable.js/)
- before & after slider(jquery.twentytwenty.js)
- device.js
- jquery.appear.js
- jquery.pagescroller.lite.js
- smoothscroll.js
- snap.js
- animate.css
jquery.appear
This plugin call function when element appear in viewport. This is used in custom animation, progress bars, counter timer.
Documentation: https://github.com/bas2k/jquery.appear/
1 2 3 4 5 6 7 8 9 10 11 12 13 |
if (jQuery().appear) { if (device.mobile()) { // disable animation on mobile jQuery("body").removeClass("withAnimation"); } else { jQuery('.withAnimation .animated').appear(function () { jQuery(this).each(function () { jQuery(this).addClass('activate'); jQuery(this).addClass($(this).data('fx')); }); }, {accY: -150}); } } |
Was this article helpful ?
Google Map
Google Map (GMAP3 Plugin)
This is google map with custom marker, you can define couple parameters:
- data-location – address to show
- data-height – map height (if undefined height will be 220px)
- data-offset – by how many map should be repositioned from marker center point (default -30)
- data-icon – adding custom icon to map in html
It uses gmap3 plugin.
Documentation: here
HTML Markup:
1 2 3 4 5 6 7 8 |
<div class="hidemap"> <button class="mapToggle"> SHOW THE MAP </button> <div class="googlemapcontainer"> <div class="ct-googleMap" data-location="Richmond" data-height="460" data-offset="0" data-zoom="16" data-icon="../assets/images/tailor/map-marker-tailor.png"></div> </div> </div> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
function initmap() { var icongmap = $('.ct-googleMap').attr('data-icon'); if (($(".ct-googleMap").length > 0) && (typeof google === 'object' && typeof google.maps === 'object')) { $('.ct-googleMap').each(function () { var atcenter = ""; var $this = $(this); var location = $this.data("location"); var zoom = $this.data("zoom"); var offset = -30; if (validatedata($this.data("offset"))) { offset = $this.data("offset"); } if (validatedata(location)) { $this.gmap3({ marker: { //latLng: [40.616439, -74.035540], address: location, options: { //visible: false icon: new google.maps.MarkerImage(icongmap) }, callback: function (marker) { atcenter = marker.getPosition(); } |
Was this article helpful ?
Flexslider
Flexslider
Content / Images Slider.
Each parameter can be defined as data attribute :
- data-namespace
- data-selector
- data-animation
- data-easing
- data-direction
- data-reverse
- data-animationloop
- data-smoothheight
- data-startat
- data-slideshow
- data-slideshowspeed
- data-animationspeed
- data-initdelay
- data-randomize
- data-thumbcaptions
- data-pauseonaction
- data-pauseonhover
- data-pauseinvisible
- data-usecss
- data-touch
- data-video
- data-controlnav
- data-directionnav
- data-prevtext
- data-nexttext
- data-keyboard
- data-multiplekeyboard
- data-mousewheel
- data-pauseplay
- data-pausetext
- data-playtext
- data-itemwidth
- data-itemmargin
- data-minitems
- data-maxitems
- data-move
- data-allowoneslide
- data-controlscontainer
- data-manualcontrols
- data-sync
- data-asnavfor
Read the documentation here:
1 2 3 |
div class="flexslider" data-animation="slide" data-height="100" data-loop="true" data-smooth="true" data-slideshow="true" data-speed="15000" data-animspeed="550" data-controls="true" data-dircontrols="true" data-controlscontainer=".controls"> (...) </div> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 |
/* ==================== */ /* ==== FLEXSLIDER ==== */ if(jQuery().flexslider){ if (jQuery(".flexslider").length > 0) { jQuery(".flexslider").each(function(){ $this=jQuery(this); var ctnamespace = validatedata($this.attr("data-namespace"),"flex-"); var ctselector = validatedata($this.attr("data-selector"),".slides > li"); var ctanimation = validatedata($this.attr("data-animation"),"slide"); var cteasing = validatedata($this.attr("data-easing"),"swing"); var ctdirection = validatedata($this.attr("data-direction"),"horizontal"); var ctreverse = parseBoolean($this.attr("data-reverse"), false); var ctanimationloop = parseBoolean($this.attr("data-animationloop"), false); var ctsmoothheight = parseBoolean($this.attr("data-smoothheight"), false); var ctstartat = parseInt(validatedata($this.attr("data-startat"), 0)); var ctslideshow = parseBoolean($this.attr("data-slideshow"), true); var ctslideshowspeed = parseInt(validatedata($this.attr("data-slideshowspeed"), 7000)); var ctanimationspeed = parseInt(validatedata($this.attr("data-animationspeed"), 600)); var ctinitdelay= parseInt(validatedata($this.attr("data-initdelay"), 0)); var ctrandomize = parseBoolean($this.attr("data-randomize"), false); var ctthumbcaptions = parseBoolean($this.attr("data-thumbcaptions"), false); var ctpauseonaction= parseBoolean($this.attr("data-pauseonaction"), true); var ctpauseonhover = parseBoolean($this.attr("data-pauseonhover"), false); var ctpauseinvisible= parseBoolean($this.attr("data-pauseinvisible"), true); var ctusecss= parseBoolean($this.attr("data-usecss"), true); var cttouch= parseBoolean($this.attr("data-touch"), true); if(device.mobile()){ cttouch = false; } var ctvideo = parseBoolean($this.attr("data-video"), false); var ctcontrolnav= parseBoolean($this.attr("data-controlnav"), true); if(ctcontrolnav == false){ $this.addClass("no-margin"); } var ctdirectionnav= parseBoolean($this.attr("data-directionnav"), false); var ctprevtext = validatedata($this.attr("data-prevtext"),"Previous"); var ctnexttext = validatedata($this.attr("data-nexttext"),"Next"); var ctkeyboard= validatedata(parseBoolean($this.attr("data-keyboard")), true); var ctmultiplekeyboard= parseBoolean($this.attr("data-multiplekeyboard"), false); var ctmousewheel= parseBoolean($this.attr("data-mousewheel"), false); var ctpauseplay= parseBoolean($this.attr("data-pauseplay"), false); var ctpausetext = validatedata($this.attr("data-pausetext"),"Pause"); var ctplaytext = validatedata($this.attr("data-playtext"),"Play"); var ctitemwidth= parseInt(validatedata($this.attr("data-itemwidth"), 0)); var ctitemmargin= parseInt(validatedata($this.attr("data-itemmargin"), 0)); var ctminitems= parseInt(validatedata($this.attr("data-minitems"), 0)); var ctmaxitems= parseInt(validatedata($this.attr("data-maxitems"), 0)); var ctmove= parseInt(validatedata($this.attr("data-move"), 0)); var ctallowoneslide= parseBoolean($this.attr("data-allowoneslide"), false); var ctcontrolscontainer= validatedata($this.attr("data-controlscontainer"), ""); var ctmanualcontrols= validatedata($this.attr("data-manualcontrols"), ""); var ctsync = validatedata($this.attr("data-sync"), ""); var ctasnavfor = validatedata($this.attr("data-asnavfor"), ""); $this.flexslider({ namespace: ctnamespace, //{NEW} String: Prefix string attached to the class of every element generated by the plugin selector: ctselector, //{NEW} Selector: Must match a simple pattern. "{container} > {slide}" -- Ignore pattern at your own peril animation: ctanimation, //String: Select your animation type, "fade" or "slide" easing: cteasing , //{NEW} String: Determines the easing method used in jQuery transitions. jQuery easing plugin is supported! direction: ctdirection, //String: Select the sliding direction, "horizontal" or "vertical" reverse: ctreverse, //{NEW} Boolean: Reverse the animation direction animationLoop: ctanimationloop, //Boolean: Should the animation loop? If false, directionNav will received "disable" classes at either end smoothHeight: ctsmoothheight, //{NEW} Boolean: Allow height of the slider to animate smoothly in horizontal mode startAt: ctstartat, //Integer: The slide that the slider should start on. Array notation (0 = first slide) slideshow: ctslideshow, //Boolean: Animate slider automatically slideshowSpeed: ctslideshowspeed, //Integer: Set the speed of the slideshow cycling, in milliseconds animationSpeed: ctanimationspeed, //Integer: Set the speed of animations, in milliseconds initDelay: ctinitdelay, //{NEW} Integer: Set an initialization delay, in milliseconds randomize: ctrandomize, //Boolean: Randomize slide order thumbCaptions: ctthumbcaptions, //Boolean: Whether or not to put captions on thumbnails when using the "thumbnails" controlNav. // Usability features pauseOnAction: ctpauseonaction, //Boolean: Pause the slideshow when interacting with control elements, highly recommended. pauseOnHover: ctpauseonhover, //Boolean: Pause the slideshow when hovering over slider, then resume when no longer hovering pauseInvisible: ctpauseinvisible, //{NEW} Boolean: Pause the slideshow when tab is invisible, resume when visible. Provides better UX, lower CPU usage. useCSS: ctusecss, //{NEW} Boolean: Slider will use CSS3 transitions if available touch: cttouch, //{NEW} Boolean: Allow touch swipe navigation of the slider on touch-enabled devices video: ctvideo, //{NEW} Boolean: If using video in the slider, will prevent CSS3 3D Transforms to avoid graphical glitches // Primary Controls controlNav: ctcontrolnav, //Boolean: Create navigation for paging control of each clide? Note: Leave true for manualControls usage directionNav: ctdirectionnav, //Boolean: Create navigation for previous/next navigation? (true/false) prevText: ctprevtext, //String: Set the text for the "previous" directionNav item nextText: ctnexttext, //String: Set the text for the "next" directionNav item // Secondary Navigation keyboard: ctkeyboard, //Boolean: Allow slider navigating via keyboard left/right keys multipleKeyboard: ctmultiplekeyboard, //{NEW} Boolean: Allow keyboard navigation to affect multiple sliders. Default behavior cuts out keyboard navigation with more than one slider present. mousewheel: ctmousewheel, //{UPDATED} Boolean: Requires jquery.mousewheel.js (https://github.com/brandonaaron/jquery-mousewheel) - Allows slider navigating via mousewheel pausePlay: ctpauseplay, //Boolean: Create pause/play dynamic element pauseText: ctpausetext, //String: Set the text for the "pause" pausePlay item playText: ctplaytext, //String: Set the text for the "play" pausePlay item // Special properties controlsContainer: ctcontrolscontainer, //{UPDATED} jQuery Object/Selector: Declare which container the navigation elements should be appended too. Default container is the FlexSlider element. Example use would be $(".flexslider-container"). Property is ignored if given element is not found. manualControls: ctmanualcontrols, //{UPDATED} jQuery Object/Selector: Declare custom control navigation. Examples would be $(".flex-control-nav li") or "#tabs-nav li img", etc. The number of elements in your controlNav should match the number of slides/tabs. sync: ctsync, //{NEW} Selector: Mirror the actions performed on this slider with another slider. Use with care. asNavFor: ctasnavfor, //{NEW} Selector: Internal property exposed for turning the slider into a thumbnail navigation for another slider // Carousel Options itemWidth: ctitemwidth, //{NEW} Integer: Box-model width of individual carousel items, including horizontal borders and padding. itemMargin: ctitemmargin, //{NEW} Integer: Margin between carousel items. minItems: ctminitems, //{NEW} Integer: Minimum number of carousel items that should be visible. Items will resize fluidly when below this. maxItems: ctmaxitems, //{NEW} Integer: Maxmimum number of carousel items that should be visible. Items will resize fluidly when above this limit. move: ctmove, //{NEW} Integer: Number of carousel items that should move on animation. If 0, slider will move all visible items. allowOneSlide: ctallowoneslide //{NEW} Boolean: Whether or not to allow a slider comprised of a single slide }) }) } |
Was this article helpful ?
Before & After slider
You can use Before & After slider with magnific popup(Ajax).
HTML markup:
1 2 3 4 |
<div class="ct-slider-afterANDbefore center-block"> <img src="../assets/images/tailor/demo-content/sample-before.jpg"> <img src="../assets/images/tailor/demo-content/sample-after.jpg"> </div> |
CSS class:
- .ct-slider-afterANDbefore
Javascripts:
1 2 3 |
$(window).load(function(){ $(".ct-slider-afterANDbefore").twentytwenty(); }); |
Options:
- default_offset_pct: 0.7, // How much of the before image is visible when the page loads
- orientation: ‘vertical’ // Orientation of the before and after images (‘horizontal’ or ‘vertical’)
Was this article helpful ?
Responsive tables
In Test we used responsive tables from http://johnpolacek.github.io/stacktable.js/
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
<table class="ct-js-table-stack"> <tr> <th class="ct-u-paddingBoth10 text-center">#</th> <th class="ct-u-paddingBoth10">Service</th> <th class="ct-u-paddingBoth10">Price range</th> <th class="ct-u-paddingBoth10">Description</th> </tr> <tr> <td class="text-center">1</td> <td>Skirts & Dresses</td> <td>from $14.00 to $45.00</td> <td>Shorten or lengthen, waist in or out, rehem, sides in or out, new zipper, add bra cups</td> </tr> <tr> <td class="text-center">2</td> <td>Jackets & Coats</td> <td>from 35.00 to $175.00</td> <td>Shorten or lengthen sleeves, sides in or out, new pockets, new lining</td> </tr> <tr> <td class="text-center">3</td> <td>Pants</td> <td>from $17.50 to $39.00</td> <td>Shorten or lengthen, cuffs,lined,waist/seat/crotch in or out </td> </tr> <tr> <td class="text-center">4</td> <td>Miscellaneous</td> <td>from $4.50 to $50.00</td> <td>Buttons, button holes, sew on patches/stripes on sleeves, new zipper/sliders/snaps</td> </tr> </table> |
CSS classes:
- .ct-js-table-stack
Javascripts:
1 2 3 4 5 6 7 |
(function ($) { "use strict"; $(document).ready(function () { $('.ct-js-table-stack').stacktable(); }) }(jQuery)); |
Was this article helpful ?
HTML Structure
This theme is built upon bootstrap framework and is fully responsive. It adapts to window resolution and looks good on all devices including iPad and iPhone.See for yourself (resize your browser).If you would like to read more about bootstrap framework click here: Bootstrap Documentation.
1.1. Grid System and Single row structure
The default Bootstrap grid system utilizes 12 columns. It’s responsive grid and adapts to viewport. Below 767px viewports, the columns become fluid and stack vertically. The fluid grid system uses percents instead of pixels for column widths. Each row always include 12 columns (for example col-md-8 + col-md-4 = col-md-12).
Bootstrap documentation: here
Basic grid HTML:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
<div class="row"> <div class="col-md-1">.col-md-1</div> <div class="col-md-1">.col-md-1</div> <div class="col-md-1">.col-md-1</div> <div class="col-md-1">.col-md-1</div> <div class="col-md-1">.col-md-1</div> <div class="col-md-1">.col-md-1</div> <div class="col-md-1">.col-md-1</div> <div class="col-md-1">.col-md-1</div> <div class="col-md-1">.col-md-1</div> <div class="col-md-1">.col-md-1</div> <div class="col-md-1">.col-md-1</div> <div class="col-md-1">.col-md-1</div> </div> <div class="row"> <div class="col-md-8">.col-md-8</div> <div class="col-md-4">.col-md-4</div> </div> <div class="row"> <div class="col-md-4">.col-md-4</div> <div class="col-md-4">.col-md-4</div> <div class="col-md-4">.col-md-4</div> </div> <div class="row"> <div class="col-md-6">.col-md-6</div> <div class="col-md-6">.col-md-6</div> </div> |
1.2. Page structure
Below you will find default page structure (default.hbs files):
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
<!DOCTYPE html> <html> <head> {{! Document Settings }} <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> {{! Page Meta }} <title>Orlando - Blog</title> <meta name="description" content="{{meta_description}}" /> <meta name="HandheldFriendly" content="True" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="shortcut icon" href="{{asset "/favicon.ico"}}"> {{! Styles'n'Scripts }} <link rel="stylesheet" type="text/css" href="{{asset "css/bootstrap.css"}}" /> <link rel="stylesheet" type="text/css" href="{{asset "css/mb-slider.css"}}"> <link rel="stylesheet" type="text/css" href="{{asset "css/style.css"}}" /> <link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Merriweather:300,700,700italic,300italic|Open+Sans:700,400" /> <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="{{asset "bootstrap/js/html5shiv.min.js"}}"></script> <script src="{{asset "bootstrap/js/respond.min.js"}}"></script> <![endif]--> <script src="{{asset "js/modernizr.custom.js"}}"></script> <script src="{{asset "js/device.min.js"}}"></script> {{! Ghost outputs important style and meta data with this tag }} {{ghost_head}} </head> <!-------------------TYPES OF MENU------------------> <!--If you want to can change the type of menu here. Just add or remove the class: ct-navbar--fixedTop ct-navbar--fixedBottom ct-navbar-isTransparent-toDefault ct-navbar-isTransparent-toInverse ct-navbar--logoright - user can use logo on the right or on the left side ct-js-navbarMakeSmaller - user may decide if he wants the navbar to be smaller or not on scroll ct-js-enableWayPoints - user may decide if he wants the waypoints sections to appear or not .ct-js-wayPoint added to header ct--darkMotive - dar flavour option <!---------------------------------------------------> <body class="cssAnimate ct-navbar--fixedTop ct-js-navbarMakeSmaller ct-js-enableWayPoints"> {{> responsive-menu}} {{> menu}} {{{body}}} {{ghost_foot}} {{! The main JavaScript file for Corpress }} <script type="text/javascript" src="{{asset "js/jquery.min.js"}}"></script> <script type="text/javascript" src="{{asset "bootstrap/js/bootstrap.min.js"}}"></script> <script type="text/javascript" src="{{asset "js/jquery.placeholder.min.js"}}"></script> <script type="text/javascript" src="{{asset "js/jquery.easing.1.3.js"}}"></script> <script type="text/javascript" src="{{asset "js/jquery.appear.js"}}"></script> <script type="text/javascript" src="{{asset "js/counter/jquery.countTo.js"}}"></script> <script type="text/javascript" src="{{asset "js/counter/init.js"}}"></script> <script type="text/javascript" src="{{asset "js/jquery.browser.min.js"}}"></script> <script type="text/javascript" src="{{asset "js/snap.min.js"}}"></script> <script type="text/javascript" src="{{asset "js/waypoints.min.js"}}"></script> <script type="text/javascript" src="{{asset "js/waypoints-sticky.min.js"}}"></script> <script type="text/javascript" src="{{asset "js/ct-mediaSection/jquery.stellar.min.js"}}"></script> <script type="text/javascript" src="{{asset "js/ct-mediaSection/init.js"}}"></script> <script type="text/javascript" src="{{asset "js/charts/Chart.min.js"}}"></script> <script type="text/javascript" src="{{asset "js/charts/init.js"}}"></script> <!--Flexslider below--> <script type="text/javascript" src="{{asset "js/flexslider/jquery.flexslider-min.js"}}"></script> <script type="text/javascript" src="{{asset "js/flexslider/init.js"}}"></script> <script type="text/javascript" src="{{asset "js/jquery.fitvids.js"}}"></script> <!--This is main files--> <script type="text/javascript" src="{{asset "js/main.js"}}"></script> <!-- Google Maps --> <script src="http://maps.google.com/maps/api/js?sensor=false"></script> <script type="text/javascript" src="{{asset "js/gmaps/gmap3.min.js"}}"></script> <script type="text/javascript" src="{{asset "js/gmaps/init.js"}}"></script> <!--This is for picture--> <script type="text/javascript" src="{{asset "js/magnific-popup/jquery.magnific-popup.min.js"}}"></script> <script type="text/javascript" src="{{asset "js/magnific-popup/init.js"}}"></script> <!-- Contact form validation --> <script type="text/javascript" src="{{asset "form/js/contact-form.js"}}"></script> <!--This is ghost slider--> <script type="text/javascript" src="{{asset "js/mb-ghost-slider.js"}}"></script> <!--Files needed for portfolio--> <script type="text/javascript" src="{{asset "js/portfolio/jquery.isotope.min.js"}}"></script> <script type="text/javascript" src="{{asset "js/portfolio/imagesloaded.js"}}"></script> <script type="text/javascript" src="{{asset "js/portfolio/infinitescroll.min.js"}}"></script> <script type="text/javascript" src="{{asset "js/portfolio/init.js"}}"></script> <script type="text/javascript" src="{{asset "js/uniqueTags.js"}}"></script> <script type="text/javascript" src="{{asset "js/less.min.js"}}"></script> </body> </html> |
The most important pages in ghost are home.hbs and index.hbs. The pages are almost the same. Below you can see how looks like the structure of those pages:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
<!-- This is home.hbs page--> {{!< default}} <!-- If you would like to have a push effect, just change a class to ct-pageWrapper ct-intro--push--> <!-- If you would like to have a slice effect, just change a class to ct-pageWrapper ct-intro--sliced--> <!-- If you would like to have a flexslider effect or particles effect, just change a class to " "--> <div id="ct-js-wrapper" class="ct-pageWrapper ct-intro--push"> <header class="ct-pageHeader ct-pageHeader--motive ct-pageHeader--hasDescription ct-u-paddingBoth10"> <div class="container ct-u-triangleBottomLeft"> <div class="row"> <div class="col-md-8"> <h1 class=" ct-fw-600 ct-u-colorWhite"> Welcome<sup><i class="fa fa-paper-plane"></i></sup> </h1> </div> <div class="col-md-4"> <span class="ct-u-size20 ct-u-colorWhite"> Aliquam erat volutpat. in vitae gravida sem. praesent nec fermentum erat. </span> </div> </div> </div> </header> {{!>simply-slider2}} <!--This is simply slider, tis is the same slider like in page-office.hbs file--> {{!> flexslider-effect}} <!--This is the big slider on the main side of tha page, if you want to enable the effect just remove ! and change the wrapper class to " "--> {{!> slice-effect}} <!--this is slice effect, if you want to enable the effect just remove ! and change the wrapper class to ct-pageWrapper ct-intro--sliced and add this class ct-intro-content below --> {{!> push-effect}} <!--this is push effect, if you want to enable the effect just remove ! and change the wrapper class to ct-pageWrapper ct-intro--push and add this class ct-intro-content below--> {{!>particles-effect}} <!--This is the particles effect, if you want to enable the effect just remove ! and change the wrapper class to " "--> <!--If we use a effect like slice or push, all the content must be in this section--> <!--If you have to use a effect like above , you have add this class ct-intro-content--> {{>blog_infinity}} <!--Here you can eneable infinity blog, This type of blog is different than else, so it must be activate here--> <div class="ct-u-paddingBoth100 ct-u-diagonalBottomRight"> <div class=""> <!--THIS EFECT IS ONLY FOR THE PUSH AND SLICE EFFECT, IF YOU WANT TO USE PARTICLES YOU MUST DELETE THIS CLASS--> <div class="container"> <div class="row"> {{!> blog_default}} <!--if you want to have a default blog on your page--> {{!> blog_secundary}} <!--if you want to have a secundary blog on your page--> {{!> blog_masonry}} <!--if you want to have a blog small on your page--> </div> </div> </div> </div> {{> footer}} </div> |
This is index.hbs page. Here you can set the four types of blog and the effect for second,3,4..n pages of blog.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
<!-- This is index.hbs page--> {{!< default}} <div id="ct-js-wrapper" class="ct-pageWrapper"> {{>main-header}} {{>blog_infinity}} <!--Here you can eneable infinity blog, This type of blog is different than else, so it must be activate here--> <div class=""> <!--If you have to use a effect like above , you have add this class ct-intro-content--> <div class="ct-u-paddingBoth100 ct-u-diagonalBottomRight"> <div class="container"> <div class="row"> {{!> blog_default}} <!--if you want to have a default blog on your page--> {{!> blog_secundary}} <!--if you want to have a secundary blog on your page--> {{!> blog_masonry}} <!--if you want to have a blog small on your page--> </div> </div> </div> {{> footer}} </div> </div> |
Author page in ghost is the page has information about the author, locatiom, posts… Below you can see the structure of the page:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
<link rel="stylesheet" type="text/css" href="{{asset "css/author_style.css"}}"/> {{!< default}} <div id="ct-js-wrapper" class="ct-pageWrapper"> {{>main-header}} <div class="ct-u-paddingBoth100 ct-u-diagonalTopLeft ct-u-diagonalBottomRight"> <div class="container"> <div class="row"> <div class="col-sm-10 col-sm-offset-1"> {{#author}} <section class="author-profile2 inner2"> {{#if image}} <figure class="author-image2"> <div class="img" style="background-image: url({{image}})"><span class="hidden">{{name}}'s Picture</span></div> </figure> {{/if}} <h1 class="author-title2">{{name}}</h1> <h2 class="author-bio2">{{bio}}</h2> <div class="author-meta"> {{#if location}}<span class="fa fa-home fa fa-lg"></span> {{location}}{{/if}} {{#if website}}<span class=""><a href="{{website}}">{{website}}</a></span>{{/if}} <span class="author-stats" style="padding-left: 10px;"><i class="fa fa-bar-chart fa fa-lg"></i> {{plural ../pagination.total empty='No posts' singular='% post' plural='% posts'}}</span> </div> </section> {{/author}} {{! This is the post loop - each post will be output using this markup }} </div> {{>loop}} </div> </div> </div> {{> footer}} </div> |
Was this article helpful ?
CSS Files and Structure
If you would like to edit the color, font, or style of any elements, you would do the following:
1 |
1#primaryContent a {color: #someColor;} |
If you find that your new style is not overriding, it is most likely because of a specificity problem. Scroll down in your CSS file and make sure that there isn’t a similar style that has more weight.
1 |
2. I.E #wrap #primaryContent a {color: #someColor;} |
So, to ensure that your new styles are applied, make sure that they carry enough “weight” and that there isn’t a style lower in the CSS file that is being applied after yours.
2.1. Main Menu structure
If you would like to change your logo, just go to the ghost administrative panel and change it. If you can you are able to change brand name. In orlando ghost we have different types of menu: typical menu for desktops and menu for tablets and phones:
Typical menu for desktop:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
<!--You can edit your navbar. Change the classs of nav like below: navbar navbar-inverse ct-navbar--logoright navbar ct-navbar--motive ct-navbar--logoright navbar-default navbar-inverse ct-navbar--transparent ct-navbar--motive If you changed the navbar you have to change the logo in ghost administrative panel--> <nav class="navbar navbar-inverse ct-navbar--logoright" role="navigation"> <div class="container"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <a class="navbar-brand" href="/"> {{#if @blog.logo}} <img src="{{@blog.logo}}" title="companyname" alt="companyname"> {{/if}} </a> </div> <div class="collapse navbar-collapse"> <!--If you want to have a big space between the logo and text, just change the class like below: nav navbar-nav navbar-right ct-navbarNav--secundaryActive nav navbar-nav ct-navbarNav--defaultActive ct-navbar--fadeIn yamm--> <ul class="nav navbar-nav ct-navbarNav--defaultActive ct-navbar--fadeIn yamm"> <li><a href="/">Home</a></li> <li class="dropdown"> <a href="/about-us/">Pages <i class="fa fa-angle-double-down"></i></a> <ul class="dropdown-menu"> <li> <div class="yamm-content"> <div class="row"> <div class="col-sm-6"> <h5 class="text-uppercase ct-fw-600 ct-menu-header">Normal Pages <small>Beautiful Pages</small> </h5> <ul class="list-unstyled"> <li><a href="/about-us/"><i class="fa fa-fw fa-chevron-right"></i> About Us</a></li> <li><a href="/services/"><i class="fa fa-fw fa-chevron-right"></i> Services</a></li> <li><a href="/Contact-us/"><i class="fa fa-fw fa-chevron-right"></i> Contact Us</a></li> <li><a href="/Our-office/"><i class="fa fa-fw fa-chevron-right"></i> Our Office</a></li> </ul> </div> <div class="col-sm-6"> <h5 class="text-uppercase ct-fw-600 ct-menu-header">Special Pages</h5> <ul class="list-unstyled"> <li><a href="/maintenance/"><i class="fa fa-fw fa-cogs"></i> Maintenance</a></li> <li><a href="/blank/"><i class="fa fa-fw fa-file-o"></i> Blank Page</a></li> </ul> </div> </div> </div> </li> </ul> </li> <li><a href="/Contact-us/">Contact</a></li> </ul> </div> </div> </nav> |
Responsive menu for tablets and phones:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
<div class="ct-navbarMobile ct-navbarMobile--inverse"> <a class="navbar-brand" href="/"><img src="{{asset "images/demo-content/logo.png"}}" alt="Orlando Logo"> </a> <button type="button" class="navbar-toggle"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> </div> <div class="ct-menuMobile"> <ul class="ct-menuMobile-navbar"> <li> <a href="/" data-target="dropdown">Home</a> </li> <li class="dropdown"> <a href="/about-us/">Pages <i class="fa fa-angle-double-down"></i></a> <ul class="dropdown-menu"> <li><a href="/about-us/"><i class="fa fa-fw fa-chevron-right"></i> About Us</a></li> <li><a href="/services/"><i class="fa fa-fw fa-chevron-right"></i> Services</a></li> <li><a href="/Contact-us/"><i class="fa fa-fw fa-chevron-right"></i> Contact Us</a></li> <li><a href="/Our-office/"><i class="fa fa-fw fa-chevron-right"></i> Our Office</a></li> <li><a href="/maintenance/"><i class="fa fa-fw fa-cogs"></i> Maintenance</a></li> <li><a href="/blank/"><i class="fa fa-fw fa-file-o"></i> Blank Page</a></li> </ul> </li> <li><a href="/Contact-us/">Contact</a></li> </ul> </div> |
In order to create mega menus read the documentation here: Yamm 3 Documentation
2.2. Blog Options
This sections shows three methods of displaying the posts:
- Blog Default
- Blog Secundary
- Blog Masonry
- Blog Infinity
1. Blog Default:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
<!--This is default blog--> <div class="col-md-10 col-md-offset-1"> {{#foreach posts}} <article class="ct-articleBox ct-articleBox--default animated" data-fx="fadeInUp"> <div class="ct-articleBox-date"> <div class="ct-articleBox-dateDay"> {{date published_at format="DD"}} </div> <div class="ct-articleBox-dateMonth"> {{date published_at format="MMM"}} </div> </div> <div class="ct-articleBox-media"> {{#if image}} <div class=""> <a href="{{url}}"><img src="{{image}}" alt="{{title}}"></a> </div> {{else}} <div class="mbslider embed-responsive embed-responsive-16by9 text-center"> <a href="{{url}}" title="{{title}}">{{content words="0"}}</a> </div> {{/if}} </div> <div class="ct-articleBox-titleBox"> <h4><a href="{{url}}">{{{title}}}</a></h4> <div class="ct-articleBox-meta"> Posted on {{date published_at format="MMMM DD YYYY"}} </div> </div> <div class="ct-articleBox-description"> <div class="mbslider-source" style="display:none"> {{content}} </div> <p> {{excerpt words="100"}} </p> </div> <a class="text-uppercase ct-fw-600 pull-right ct-articleBox-button" href="{{url}}">Read More <i class="fa fa-long-arrow-right"></i></a> <div class="clearfix"></div> </article> {{/foreach}} {{#if pagination}} {{{pagination}}} {{/if}} </div> |
2. Blog Secondary:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
<!--This is secondary blog--> <div class="col-md-10 col-md-offset-1"> {{#foreach posts}} <article class="ct-articleBox ct-articleBox--secundary animated" data-fx="fadeInUp"> <div class="ct-articleBox-date"> <div class="ct-articleBox-dateDay"> {{date published_at format="DD"}} </div> <div class="ct-articleBox-dateMonth"> {{date published_at format="MMM"}} </div> </div> <div class="ct-articleBox-media"> {{#if image}} <div class=""> <a href="{{url}}"><img src="{{image}}" alt="{{title}}"></a> </div> {{else}} <div class="mbslider embed-responsive embed-responsive-16by9 text-center"> <a href="{{url}}" title="{{title}}">{{content words="0"}}</a> </div> {{/if}} </div> <div class="ct-articleBox-titleBox"> <h4><a href="{{url}}">{{{title}}}</a></h4> <div class="ct-articleBox-meta"> Posted on {{date published_at format="MMMM DD YYYY"}} </div> <div class="ct-articleBox-icon"> {{#has tag="picture, image"}} <i class="fa fa-picture-o"></i> {{else}} {{#has tag="video, wideo, film, movie"}} <i class="fa fa-youtube-play"></i> {{else}} {{#has tag="gallery"}} <i class="fa fa-refresh"></i> {{else}} {{#has tag="music"}} <i class="fa fa-music"></i> {{else}} {{#has tag="text"}} <i class="fa fa-font"></i> {{else}} <i class=""></i> {{/has}} {{/has}} {{/has}} {{/has}} {{/has}} </div> </div> <div class="ct-articleBox-description"> <div class="mbslider-source" style="display:none"> {{content}} </div> <p> {{excerpt words="100"}} </p> </div> <a class="text-uppercase ct-fw-600 pull-right ct-articleBox-button" href="{{url}}">Read More <i class="fa fa-long-arrow-right"></i></a> <div class="clearfix"></div> </article> {{/foreach}} {{#if pagination}} {{{pagination}}} {{/if}} </div> |
3. Blog Masonry:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
<!--This is masonry blog--> <div class="col-md-12"> {{#foreach posts}} <div class="ct-js-blogMasonry"> <div class="col-md-4 ct-js-blogMasonry-item"> <article class="ct-articleBox ct-articleBox--thumbnail"> <div class="ct-articleBox-date"> <div class="ct-articleBox-dateDay"> {{date published_at format="DD"}} </div> <div class="ct-articleBox-dateMonth"> {{date published_at format="MMM"}} </div> </div> <div class="ct-articleBox-media"> {{#if image}} <div class=""> <a href="{{url}}"><img src="{{image}}" alt="{{title}}"></a> </div> {{else}} <div class="mbslider embed-responsive embed-responsive-16by9 text-center"> <a href="{{url}}" title="{{title}}">{{content words="0"}}</a> </div> {{/if}} </div> <div class="ct-articleBox-titleBox"> <h4><a href="{{url}}">{{{title}}}</a></h4> </div> <div class="ct-articleBox-description"> <div class="mbslider-source" style="display:none"> {{content}} </div> <p> {{excerpt words="40"}} </p> </div> </article> </div> </div> {{/foreach}} </div> {{#if pagination}} {{{pagination}}} {{/if}} |
4. Blog Infinity:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
<div class="ct-u-backgroundDarkMotive clearfix ct-js-fixOnScroll"> <div class="text-center"> <ul id="my_tags" class="ct-gallery-filters list-unstyled list-inline"> <!--tags generated from js--> </ul> <div class="clearfix"></div> </div> </div> <div id="ct-gallery" class="ct-gallery ct-gallery--col5 ct-js-magnificPortfolioPopupGroup"> {{#foreach posts}} <div class="ct-gallery-item ct-gallery-item--masonry ct-gallery-item--default ct-gallery-item--normal ct-js-galleryTags"> <!--here should be the name of tgat that you would like to display--> <div class="ct-gallery-itemInner"> <a class="ct-js-magnificPortfolioPopup" href="{{url}}"> <div class="ct-gallery-itemImage "> {{#if image}} <a href="{{url}}"><img src="{{image}}" alt="{{title}}"></a> {{else}} <a href="{{url}}"><img src="{{asset "images/demo-content/no_image.gif"}}" alt="no-image" /></a> {{/if}} </div> <div class="ct-gallery-itemDescription"> <span class="ct-gallery-itemDescription-title"><a href="{{url}}">{{{title}}}</a></span> <span class="ct-gallery-itemDescription-category"> {{#if tags}} <i class="fa fa-long-arrow-right"></i> {{tags separator=", "}} {{else}} <i class=""></i> {{/if}} </span> </div> </a> </div> </div> <div class="ct-js-hiddenTags hidden"> {{tags}} </div> {{/foreach}} </div> {{#if pagination}} {{{pagination}}} {{/if}} |
How to make available the blog in home.hbs and index.hbs?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
{{>blog_infinity}} <!--Here you can eneable infinity blog, This type of blog is different than else, so it must be activate here--> <div class="ct-u-paddingBoth100 ct-u-diagonalBottomRight"> <div class=""> <!--THIS EFECT IS ONLY FOR THE PUSH AND SLICE EFFECT, IF YOU WANT TO USE PARTICLES YOU MUST DELETE THIS CLASS--> <div class="container"> <div class="row"> {{!> blog_default}} <!--if you want to have a default blog on your page--> {{!> blog_secundary}} <!--if you want to have a secundary blog on your page--> {{!> blog_masonry}} <!--if you want to have a blog small on your page--> </div> </div> </div> </div> |
2.4. Icons
We’ve included 360+ font icons. Awesome Icons – http://fontawesome.io/icons/
HTML markup:
1 2 |
<!-- Awesome Icons --> <i class="fa fa-cog"></i> |
Appearing with Animation when element in viewport
Animation can be turn off just be remove “withAnimation” class from body.
Usage: – add “animated” class to element and data-fx=”animation-type”. That’s it.
Available animation : http://daneden.github.io/animate.css/
- data-fx=”hinge”
- data-fx=”bounce”
- data-fx=”flash”
- data-fx=”pulse”
- data-fx=”shake”
- data-fx=”swing”
- data-fx=”tada”
- data-fx=”wobble”
- data-fx=”bounceIn”
- data-fx=”bounceInDown”
- data-fx=”bounceInLeft”
- data-fx=”bounceInRight”
- data-fx=”bounceInUp”
- data-fx=”bounceOut”
- data-fx=”bounceOutDown”
- data-fx=”bounceOutLeft”
- data-fx=”bounceOutRight”
- data-fx=”bounceOutUp”
- data-fx=”fadeIn”
- data-fx=”fadeInDown”
- data-fx=”fadeInDownBig”
- data-fx=”fadeInLeft”
- data-fx=”fadeInLeftBig”
- data-fx=”fadeInRight”
- data-fx=”fadeInRightBig”
- data-fx=”fadeInUp”
- data-fx=”fadeInUpBig”
- data-fx=”fadeOut”
- data-fx=”fadeOutDown”
- data-fx=”fadeOutDownBig”
- data-fx=”fadeOutLeft”
- data-fx=”fadeOutLeftBig”
- data-fx=”fadeOutRight”
- data-fx=”fadeOutRightBig”
- data-fx=”fadeOutUp”
- data-fx=”fadeOutUpBig”
- data-fx=”flip”
- data-fx=”flipInX”
- data-fx=”flipInY”
- data-fx=”flipOutX”
- data-fx=”flipOutY”
- data-fx=”lightSpeedIn”
- data-fx=”lightSpeedOut”
- data-fx=”rotateIn”
- data-fx=”rotateInDownLeft”
- data-fx=”rotateInDownRight”
- data-fx=”rotateInUpLeft”
- data-fx=”rotateInUpRight”
- data-fx=”rotateOut”
- data-fx=”rotateOutDownLeft”
- data-fx=”rotateOutDownRight”
- data-fx=”rotateOutUpLeft”
- data-fx=”rotateOutUpRight”
- data-fx=”slideInDown”
- data-fx=”slideInLeft”
- data-fx=”slideInRight”
- data-fx=”slideOutLeft”
- data-fx=”slideOutRight”
- data-fx=”slideOutUp”
- data-fx=”rollIn”
- data-fx=”rollOut”
2.5. CSS Files & Structure
We’ve included 2 files.
bootstrap.css contains Bootstrap 3 Library.
style.css file contains general styles.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
1.A. Google Fonts 1.B. Revolution Slider styles 1.C. Magnific popup styles 1.D. Font Awesome styles 1.E Yamm styles 1.F Flexslider styles 1.G Animate css styles 2. GENERAL STYLES 3. Typography 4. Buttons 5. Pagination 6. Alerts 7. Inputs 8. Pophover 9. Header styles 10. Navbar styles 11. Call to action 12. Sections 13. Media sections – video/parallax/kenburns 14. Process circles 15. Person box 16. Service box 17. Pre footer section 18. Footer 19. Articles 20. Counters 21. Blockquote 22. Tabs 23. Images widget 24. Project single 25. Project images 26. Lists 27. Pricing box 28. Accordion 29. Socials 30. Square icons 31. Charts 32. Progress bar 33. Twitter 34. Google map 35. Flexslider 36. Revslider 37. Time circle counter 38. Thumbnail scroller 39. Magnific popup 40. Isotope 41. Helpers 42. D3 swimmers 43. WordPress 44. Media queries, adjustments 45. Motive colors |
2.6. Utilities
Utility classes are low-level structural and positional traits. Utilities can be applied directly to any element, multiple utilities can be used tohether and utilities can be used alongsie component classes.
Utilities are intended for frequently used CSS properties and patterns, like: floats, containing floats, vertical alignemnt, text tryncation. Relying on utilities can help to reduce repetition and provide consistend implementations.
Orlando uses utilities for the following categories:
- Typography
- Display Types
- Paddings
- Margins
- Colors
- Borders
- Background Colors
- Triangles
- Diagonals
- Shadows
Was this article helpful ?
Features
3.1. Media Sections
Orlando supports media sections with Slice effect, Push effect, Particles effect, slider effect, Parallax, KenBurns effect and videos.
3.1.1. Slice Effect:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
<!--This is the slice effect--> <header class="ct-intro-topImage"> <div class="bg-img"><img src="{{@blog.cover}}" alt="Background Image"/></div> <div class="ct-intro-title"> <h1 class="ct-u-colorWhite ct-fw-600">welcome. <small class="ct-u-colorMotive ct-fw-300">We have a passion for design and code</small> </h1> </div> <div class="bg-img"><img src="{{@blog.cover}}" alt="Background Image"/></div> </header> <button class="trigger" data-info="Continue"><span>Trigger</span></button> <script type="text/javascript" src="{{asset "js/intro-effects/classie.js"}}"></script> <script type="text/javascript" src="{{asset "js/intro-effects/slice.js"}}"></script> |
3.1.2. Push Effect:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
<!--This is the push effect--> <header class="ct-intro-topImage"> <div class="bg-img"><img src="{{@blog.cover}}" alt="Background Image"/></div> <div class="ct-intro-title"> <h3 class="ct-u-colorMotive ct-fw-600 ct-u-hrMid"> <small class="text-uppercase ct-u-colorWhite">We create unique and inovative</small> <span class="ct-fw-300">User</span> Xperiences </h3> <p class="ct-u-colorWhite">Lorem ipsum dolor sit amet, consectetur adipiscing elit dont<br>emet suspendisse, condimentum porttitor cursus duis neclim.</p> </div> </header> <button class="trigger" data-info="Continue"><span>Trigger</span></button> <script type="text/javascript" src="{{asset "js/intro-effects/classie.js"}}"></script> <script type="text/javascript" src="{{asset "js/intro-effects/push.js"}}"></script> |
3.1.3. Particles Effect:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
<!--this is particle effect--> <section class="ct-mediaSection ct-u-borderMotiveBottom" data-height="100%"> <div class="ct-mediaSection-inner"> <div id="particles-js"></div> <div class="ct-u-displayTableVertical"> <div class="ct-u-displayTableCell"> <div class="container text-center" data-stellar-ratio="0.5"> <h3 class="ct-u-colorMotive ct-fw-600 ct-u-hrMid"> <small class="text-uppercase ct-u-colorWhite">We create unique and inovative</small> <span class="ct-fw-300">User</span> Xperiences </h3> <p class="ct-u-colorWhite">Lorem ipsum dolor sit amet, consectetur adipiscing elit dont<br>emet suspendisse, condimentum porttitor cursus duis neclim.</p> </div> </div> </div> </div> <a class="ct-sectionButton ct-js-btnScroll" href="#section1"><span class="ct-sectionButton-circle animated pulse activate infinite"><i class="fa fa-angle-down animated activate bounce infinite"></i></span>Continue</a> </section> <div id="section1"></div> <script type="text/javascript" src="{{asset "js/jquery.min.js"}}"></script> <script type="text/javascript" src="{{asset "js/ct-mediaSection/jquery.stellar.min.js"}}"></script> <script type="text/javascript" src="{{asset "js/ct-mediaSection/init.js"}}"></script> <script type="text/javascript" src="{{asset "js/particles/particles.js"}}"></script> <script type="text/javascript" src="{{asset "js/particles/init.js"}}"></script> |
3.1.4. Flexslider:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
<!--this is flexslider effect--> <section class="ct-mediaSection ct-u-borderMotiveBottom" data-height="100%"> <div class="flexslider ct-flexslider--controlsVertical ct-flexslider--controlsWhite ct-js-flexslider" data-animations="true" data-height="100%"> <ul class="slides"> <li data-bg="{{asset "images/demo-content/bigImage4.jpg"}}"> <div class="inner ct-u-paddingBoth100"> <div class="container"> <div class="row"> <div class="col-sm-6 col-md-5"> <span class="h2 ct-fw-300 ct-u-colorMotive animated" data-fx="zoomIn">01</span> <h3 class="ct-u-colorWhite ct-u-hrLeft animated" data-fx="fadeInUp"> <small class="text-uppercase ct-u-colorWhite">We create unique and inovative</small> <span class="ct-fw-300">User</span> Experiences </h3> <p class="ct-u-colorWhite animated" data-fx="zoomInDown">Lorem ipsum dolor sit amet, consectetur adipiscing elit dont emet suspendisse, condimentum porttitor cursus duis neclim.</p> <a href="../demo/buy.php" class="btn ct-btn--rounded btn-primary text-uppercase animated" data-fx="fadeInUp" data-time="800">Buy Orlando Ghost</a> <a href="/about-us/" class="btn ct-btn--rounded btn-default text-uppercase animated" data-fx="fadeInUp" data-time="1250">About us</a> </div> </div> </div> </div> </li> <li data-bg="{{asset "images/demo-content/orlando-slider-image-2.jpg"}}"> <div class="inner ct-u-paddingBoth100"> <div class="container"> <div class="row"> <div class="col-sm-6 col-md-5"> <span class="h2 ct-fw-300 ct-u-colorMotive animated" data-fx="zoomIn">02</span> <h3 class="ct-u-colorWhite ct-u-hrLeft animated" data-fx="fadeInUp"> <small class="text-uppercase ct-u-colorWhite">We create unique and inovative</small> <span class="ct-fw-300">User</span> Experiences </h3> <p class="ct-u-colorWhite animated" data-fx="zoomInDown">Lorem ipsum dolor sit amet, consectetur adipiscing elit dont emet suspendisse, condimentum porttitor cursus duis neclim.</p> <a href="../demo/buy.php" class="btn ct-btn--rounded btn-primary text-uppercase animated" data-fx="fadeInUp" data-time="800">Buy Orlando Ghost</a> <a href="/about-us/" class="btn ct-btn--rounded btn-default text-uppercase animated" data-fx="fadeInUp" data-time="1250">About us</a> </div> </div> </div> </div> </li> <li data-bg="{{asset "images/demo-content/orlando-slider-image-3.jpg"}}"> <div class="inner ct-u-paddingBoth100"> <div class="container"> <div class="row"> <div class="col-sm-6 col-md-5"> <span class="h2 ct-fw-300 ct-u-colorMotive animated" data-fx="zoomIn">03</span> <h3 class="ct-u-colorWhite ct-u-hrLeft animated" data-fx="fadeInUp"> <small class="text-uppercase ct-u-colorWhite">We create unique and inovative</small> <span class="ct-fw-300">User</span> Experiences </h3> <p class="ct-u-colorWhite animated" data-fx="zoomInDown">Lorem ipsum dolor sit amet, consectetur adipiscing elit dont emet suspendisse, condimentum porttitor cursus duis neclim.</p> <a href="../demo/buy.php" class="btn ct-btn--rounded btn-primary text-uppercase animated" data-fx="fadeInUp" data-time="800">Buy Orlando Ghost</a> <a href="/about-us/" class="btn ct-btn--rounded btn-default text-uppercase animated" data-fx="fadeInUp" data-time="1250">About us</a> </div> </div> </div> </div> </li> <li data-bg="{{asset "images/demo-content/orlando-slider-image-4.jpg"}}"> <div class="inner ct-u-paddingBoth100"> <div class="container"> <div class="row"> <div class="col-sm-6 col-md-5"> <span class="h2 ct-fw-300 ct-u-colorMotive animated" data-fx="zoomIn">04</span> <h3 class="ct-u-colorWhite ct-u-hrLeft animated" data-fx="fadeInUp"> <small class="text-uppercase ct-u-colorWhite">We create unique and inovative</small> <span class="ct-fw-300">User</span> Experiences </h3> <p class="ct-u-colorWhite animated" data-fx="zoomInDown">Lorem ipsum dolor sit amet, consectetur adipiscing elit dont emet suspendisse, condimentum porttitor cursus duis neclim.</p> <a href="/services/" class="btn ct-btn--rounded btn-primary text-uppercase animated" data-fx="fadeInUp" data-time="800">Services</a> <a href="/about-us/" class="btn ct-btn--rounded btn-default text-uppercase animated" data-fx="fadeInUp" data-time="1250">About us</a> </div> </div> </div> </div> </li> </ul> </div> <a class="ct-sectionButton ct-js-btnScroll" href="#section1"><span class="ct-sectionButton-circle animated pulse activate infinite"><i class="fa fa-angle-down animated activate bounce infinite"></i></span>Continue</a> </section> <div id="section1"></div> |
3.1.5. Parallax Section:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
<header class="ct-mediaSection" data-stellar-background-ratio="0.3" data-height="400" data-type="parallax" data-bg-image="{{asset "images/demo-content/bigImage3.jpg"}}" data-bg-image-mobile="{{asset "images/demo-content/bigImage3-mobile.jpg"}}"> <div class="ct-mediaSection-inner"> <header class="ct-pageHeader ct-pageHeader--type5 ct-pageHeader--hasDescription ct-u-paddingTop150" data-stellar-ratio="0.5"> <div class="container"> <div class="row"> <div class="col-md-8"> <h1 class="ct-fw-600 text-uppercase"> Blog </h1> </div> <div class="col-md-4"> <span> Aliquam erat volutpat. in vitae gravida sem. praesent nec fermentum erat. </span> </div> </div> </div> </header> </div> </header> |
http://markdalgleish.com/projects/stellar.js/docs/
Our custom data-attributes for the parallax section are:
- data-height: Define the minimun height for the sections
- data-type: Type of Media Section (parallax/kenburns/video)
- data-image: Background image for the section.
- data-image-mobile: Fallback image (Should be smaller than the original) that is loaded for small devices. This will help you with the bandwidth, you’re welcome! 🙂
3.1.6. Ken Burns Section:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
<section class="ct-mediaSection" data-height="400" data-type="kenburns" data-bg-image-mobile="{{asset "images/demo-content/bigImage4-mobile.jpg"}}"> <div class="ct-mediaSection-kenburnsImageContainer"> <img src="{{asset "images/demo-content/bigImage4.jpg"}}" alt="demo image"> <img src="{{asset "images/demo-content/bigImage5.jpg"}}" alt="demo image"> <img src="{{asset "images/demo-content/bigImage4.jpg"}}" alt="demo image"> </div> <div class="ct-mediaSection-inner"> <header class="ct-pageHeader ct-pageHeader--type5 ct-pageHeader--hasDescription ct-u-paddingTop150" data-stellar-ratio="0.5"> <div class="container"> <div class="row"> <div class="col-md-8"> <h1 class="ct-fw-600 text-uppercase"> Blog </h1> </div> <div class="col-md-4"> <span> Aliquam erat volutpat. in vitae gravida sem. praesent nec fermentum erat. </span> </div> </div> </div> </header> </div> </section> |
Our custom data-attributes for the kenburns section are:
- data-height: Define the minimun height for the sections
- data-type: Type of Media Section (parallax/kenburns/video)
- data-image-mobile: Fallback image (Should be smaller than the original) that is loaded for small devices. Kenburns it too much for ipads, iphones and so on, so we allow you to fallback to a normal image section. This way your browser won’t crash 🙂
3.1.7. Video Section:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
<header class="ct-mediaSection" data-height="400" data-type="video" data-bg-image-mobile="../assets/images/demo-content/bigImage3-mobile.jpg"> <div class="ct-mediaSection-video embed-responsive embed-responsive-16by9"> <video id="video1" muted loop autoplay="autoplay" preload="auto"> <source src='http://orlando.html.themeforest.createit.pl/light/assets/videos/loopbookeh.mp4' type='video/mp4'/> <source src='http://orlando.html.themeforest.createit.pl/light/assets/videos/loopbookeh.webm' type='video/webm'/> </video> </div> <div class="ct-u-displayTable"> <div class="ct-mediaSection-inner"> <header class="ct-pageHeader ct-pageHeader--type5 ct-pageHeader--hasDescription ct-u-paddingTop150" data-stellar-ratio="0.5"> <div class="container"> <div class="row"> <div class="col-md-8"> <h1 class="ct-fw-600 text-uppercase"> Blog </h1> </div> <div class="col-md-4"> <span> Aliquam erat volutpat. in vitae gravida sem. praesent nec fermentum erat. </span> </div> </div> </div> </header> </div> </div> </header> |
Our custom data-attributes for the video section are:
- data-height: Define the minimun height for the sections
- data-type: Type of Media Section (parallax/kenburns/video)
- data-image-mobile: Fallback image (Should be smaller than the original) that is loaded for small devices. Phones don’t autoplay video, so we just replace it for an image
3.1.3. How to make available the effect (fragment of Home.hbs file)
1 2 3 4 5 6 7 8 |
{{!>simply-slider2}} <!--This is simply slider, tis is the same slider like in page-office.hbs file--> {{!> flexslider-effect}} <!--This is the big slider on the main side of tha page, if you want to enable the effect just remove ! and change the wrapper class to " "--> {{!> slice-effect}} <!--this is slice effect, if you want to enable the effect just remove ! and change the wrapper class to ct-pageWrapper ct-intro--sliced and add this class ct-intro-content below --> {{!> push-effect}} <!--this is push effect, if you want to enable the effect just remove ! and change the wrapper class to ct-pageWrapper ct-intro--push and add this class ct-intro-content below--> {{!>particles-effect}} <!--This is the particles effect, if you want to enable the effect just remove ! and change the wrapper class to " "--> <!--If we use a effect like slice or push, all the content must be in this section--> <!--If you have to use a effect like above , you have add this class ct-intro-content--> |
Was this article helpful ?
Javascript
4.1. Javascrpt library and files
All javascripts are placed in folder /js. In main.js file we implement all functions calls.
This theme uses following Javascript files:
- Bootstrap v 3 framework (powerful front-end framework for faster and easier web development)
- jQuery v1.10.2 (A fast javascript library that Foodtruckifies how to traverse HTML documents, handle events, perform animations.)
- jQuery FlexSlider v2.2.0
- GMAP3 Plugin for JQuery v. 5.1.1
- jQuery.appear
- FitVids 1.0.3
- jQuery Stellar
- jQuery tweet
- Modernizr 2.0.6
- PageScroller
- final-countdown.js
- snap.js
- device.js 0.1.58
- chart.js
4.2. Google Map (GMAP3 Plugin)
This is google map with custom marker, you can define couple parameters:
- data-location – address to show
- data-height – map height (if undefined height will be 220px)
- data-offset – by how many map should be repositioned from marker center point (default -30)
It uses gmap3 plugin. Documentation: here
HTML Markup:
1 |
<div class="ct-googleMap" data-location="Narbutta 24, Warsaw" data-zoom="15" data-height="500"></div> |
All javascript code can be found in js/main.js file.
Content / Images Slider.
Each parameter can be defined as data attribute :
- data-namespace
- data-selector
- data-animation
- data-easing
- data-direction
- data-reverse
- data-animationloop
- data-smoothheight
- data-startat
- data-slideshow
- data-slideshowspeed
- data-animationspeed
- data-initdelay
- data-randomize
- data-thumbcaptions
- data-pauseonaction
- data-pauseonhover
- data-pauseinvisible
- data-usecss
- data-touch
- data-video
- data-controlnav
- data-directionnav
- data-prevtext
- data-nexttext
- data-keyboard
- data-multiplekeyboard
- data-mousewheel
- data-pauseplay
- data-pausetext
- data-playtext
- data-itemwidth
- data-itemmargin
- data-minitems
- data-maxitems
- data-move
- data-allowoneslide
- data-controlscontainer
- data-manualcontrols
- data-sync
- data-asnavfor
Read the documentation here: Flexslider Documentation
1 2 3 |
<div class="flexslider" data-animation="slide" data-height="100" data-loop="true" data-smooth="true" data-slideshow="true" data-speed="15000" data-animspeed="550" data-controls="true" data-dircontrols="true" data-controlscontainer=".controls"> (...) </div> |
And js initialization (js/main.js file), there you can change slider parameters:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 |
* ==================== */ /* ==== FLEXSLIDER ==== */ if(jQuery().flexslider){ if (jQuery(".flexslider").length > 0) { jQuery(".flexslider").each(function(){ $this=jQuery(this); var ctnamespace = validatedata($this.attr("data-namespace"),"flex-"); var ctselector = validatedata($this.attr("data-selector"),".slides > li"); var ctanimation = validatedata($this.attr("data-animation"),"slide"); var cteasing = validatedata($this.attr("data-easing"),"swing"); var ctdirection = validatedata($this.attr("data-direction"),"horizontal"); var ctreverse = parseBoolean($this.attr("data-reverse"), false); var ctanimationloop = parseBoolean($this.attr("data-animationloop"), false); var ctsmoothheight = parseBoolean($this.attr("data-smoothheight"), false); var ctstartat = parseInt(validatedata($this.attr("data-startat"), 0)); var ctslideshow = parseBoolean($this.attr("data-slideshow"), true); var ctslideshowspeed = parseInt(validatedata($this.attr("data-slideshowspeed"), 7000)); var ctanimationspeed = parseInt(validatedata($this.attr("data-animationspeed"), 600)); var ctinitdelay= parseInt(validatedata($this.attr("data-initdelay"), 0)); var ctrandomize = parseBoolean($this.attr("data-randomize"), false); var ctthumbcaptions = parseBoolean($this.attr("data-thumbcaptions"), false); var ctpauseonaction= parseBoolean($this.attr("data-pauseonaction"), true); var ctpauseonhover = parseBoolean($this.attr("data-pauseonhover"), false); var ctpauseinvisible= parseBoolean($this.attr("data-pauseinvisible"), true); var ctusecss= parseBoolean($this.attr("data-usecss"), true); var cttouch= parseBoolean($this.attr("data-touch"), true); if(device.mobile()){ cttouch = false; } var ctvideo = parseBoolean($this.attr("data-video"), false); var ctcontrolnav= parseBoolean($this.attr("data-controlnav"), true); if(ctcontrolnav == false){ $this.addClass("no-margin"); } var ctdirectionnav= parseBoolean($this.attr("data-directionnav"), false); var ctprevtext = validatedata($this.attr("data-prevtext"),"Previous"); var ctnexttext = validatedata($this.attr("data-nexttext"),"Next"); var ctkeyboard= validatedata(parseBoolean($this.attr("data-keyboard")), true); var ctmultiplekeyboard= parseBoolean($this.attr("data-multiplekeyboard"), false); var ctmousewheel= parseBoolean($this.attr("data-mousewheel"), false); var ctpauseplay= parseBoolean($this.attr("data-pauseplay"), false); var ctpausetext = validatedata($this.attr("data-pausetext"),"Pause"); var ctplaytext = validatedata($this.attr("data-playtext"),"Play"); var ctitemwidth= parseInt(validatedata($this.attr("data-itemwidth"), 0)); var ctitemmargin= parseInt(validatedata($this.attr("data-itemmargin"), 0)); var ctminitems= parseInt(validatedata($this.attr("data-minitems"), 0)); var ctmaxitems= parseInt(validatedata($this.attr("data-maxitems"), 0)); var ctmove= parseInt(validatedata($this.attr("data-move"), 0)); var ctallowoneslide= parseBoolean($this.attr("data-allowoneslide"), false); var ctcontrolscontainer= validatedata($this.attr("data-controlscontainer"), ""); var ctmanualcontrols= validatedata($this.attr("data-manualcontrols"), ""); var ctsync = validatedata($this.attr("data-sync"), ""); var ctasnavfor = validatedata($this.attr("data-asnavfor"), ""); $this.flexslider({ namespace: ctnamespace, //{NEW} String: Prefix string attached to the class of every element generated by the plugin selector: ctselector, //{NEW} Selector: Must match a simple pattern. "{container} > {slide}" -- Ignore pattern at your own peril animation: ctanimation, //String: Select your animation type, "fade" or "slide" easing: cteasing , //{NEW} String: Determines the easing method used in jQuery transitions. jQuery easing plugin is supported! direction: ctdirection, //String: Select the sliding direction, "horizontal" or "vertical" reverse: ctreverse, //{NEW} Boolean: Reverse the animation direction animationLoop: ctanimationloop, //Boolean: Should the animation loop? If false, directionNav will received "disable" classes at either end smoothHeight: ctsmoothheight, //{NEW} Boolean: Allow height of the slider to animate smoothly in horizontal mode startAt: ctstartat, //Integer: The slide that the slider should start on. Array notation (0 = first slide) slideshow: ctslideshow, //Boolean: Animate slider automatically slideshowSpeed: ctslideshowspeed, //Integer: Set the speed of the slideshow cycling, in milliseconds animationSpeed: ctanimationspeed, //Integer: Set the speed of animations, in milliseconds initDelay: ctinitdelay, //{NEW} Integer: Set an initialization delay, in milliseconds randomize: ctrandomize, //Boolean: Randomize slide order thumbCaptions: ctthumbcaptions, //Boolean: Whether or not to put captions on thumbnails when using the "thumbnails" controlNav. // Usability features pauseOnAction: ctpauseonaction, //Boolean: Pause the slideshow when interacting with control elements, highly recommended. pauseOnHover: ctpauseonhover, //Boolean: Pause the slideshow when hovering over slider, then resume when no longer hovering pauseInvisible: ctpauseinvisible, //{NEW} Boolean: Pause the slideshow when tab is invisible, resume when visible. Provides better UX, lower CPU usage. useCSS: ctusecss, //{NEW} Boolean: Slider will use CSS3 transitions if available touch: cttouch, //{NEW} Boolean: Allow touch swipe navigation of the slider on touch-enabled devices video: ctvideo, //{NEW} Boolean: If using video in the slider, will prevent CSS3 3D Transforms to avoid graphical glitches // Primary Controls controlNav: ctcontrolnav, //Boolean: Create navigation for paging control of each clide? Note: Leave true for manualControls usage directionNav: ctdirectionnav, //Boolean: Create navigation for previous/next navigation? (true/false) prevText: ctprevtext, //String: Set the text for the "previous" directionNav item nextText: ctnexttext, //String: Set the text for the "next" directionNav item // Secondary Navigation keyboard: ctkeyboard, //Boolean: Allow slider navigating via keyboard left/right keys multipleKeyboard: ctmultiplekeyboard, //{NEW} Boolean: Allow keyboard navigation to affect multiple sliders. Default behavior cuts out keyboard navigation with more than one slider present. mousewheel: ctmousewheel, //{UPDATED} Boolean: Requires jquery.mousewheel.js (https://github.com/brandonaaron/jquery-mousewheel) - Allows slider navigating via mousewheel pausePlay: ctpauseplay, //Boolean: Create pause/play dynamic element pauseText: ctpausetext, //String: Set the text for the "pause" pausePlay item playText: ctplaytext, //String: Set the text for the "play" pausePlay item // Special properties controlsContainer: ctcontrolscontainer, //{UPDATED} jQuery Object/Selector: Declare which container the navigation elements should be appended too. Default container is the FlexSlider element. Example use would be $(".flexslider-container"). Property is ignored if given element is not found. manualControls: ctmanualcontrols, //{UPDATED} jQuery Object/Selector: Declare custom control navigation. Examples would be $(".flex-control-nav li") or "#tabs-nav li img", etc. The number of elements in your controlNav should match the number of slides/tabs. sync: ctsync, //{NEW} Selector: Mirror the actions performed on this slider with another slider. Use with care. asNavFor: ctasnavfor, //{NEW} Selector: Internal property exposed for turning the slider into a thumbnail navigation for another slider // Carousel Options itemWidth: ctitemwidth, //{NEW} Integer: Box-model width of individual carousel items, including horizontal borders and padding. itemMargin: ctitemmargin, //{NEW} Integer: Margin between carousel items. minItems: ctminitems, //{NEW} Integer: Minimum number of carousel items that should be visible. Items will resize fluidly when below this. maxItems: ctmaxitems, //{NEW} Integer: Maxmimum number of carousel items that should be visible. Items will resize fluidly when above this limit. move: ctmove, //{NEW} Integer: Number of carousel items that should move on animation. If 0, slider will move all visible items. allowOneSlide: ctallowoneslide //{NEW} Boolean: Whether or not to allow a slider comprised of a single slide }) }) } |
4.4. Jquery.appear
This plugin call function when element appear in viewport. This is used in custom animation, progress bars, counter timer.
Documentation: https://github.com/bas2k/jquery.appear/
1 2 3 4 5 6 7 8 9 10 11 12 |
if (device.mobile()) { // disable animation on mobile jQuery("body").removeClass("withAnimation"); } else { jQuery('.withAnimation .animated').appear(function () { jQuery(this).each(function () { jQuery(this).addClass('activate'); jQuery(this).addClass($(this).data('fx')); }); }, {accY: -150}); } } |
4.5. fitVids
Just make video responsive. Documentation: http://fitvidsjs.com/
HTML Markup:
1 2 3 |
<div class="fit-video"> <iframe width="853" height="480" src="//www.youtube.com/embed/HJ2F7eptn_A?rel=0" frameborder="0" allowfullscreen></iframe> </div> |
and js:
1 2 3 4 |
/* ==== FIT VIDEOS TO CONTAINER ==== */ if (($().fitVids)){ $(".fit-video").fitVids(); } |
4.6. Charts
This plugin is used to make graphics. Documentation: http://www.chartjs.org/
Was this article helpful ?
Contact Form
Template comes with ready to use:
- Contact Form
- Newsletter Form
All needed files are in /form directory.
Remember to includeon page.
To configure form just edit form/form.php and change e-mails to your own:
1 2 |
$to = "mail@example.com"; $from = "mail@example.com |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
<div class="ct-contactForm"> <div class="successMessage alert alert-success" style="display: none"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> Thank You! </div> <div class="errorMessage alert alert-danger" style="display: none"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> Ups! An error occured. Please try again later. </div> <form role="form" action="./assets/form/send.php" method="post" class="contactForm validateIt" data-email-subject="Contact Form" data-show-errors="true"> <div class="row"> <div class="col-md-6"> <div class="form-group"> <input id="contact_name" placeholder="Name" required="" type="text" name="field[]" class="form-control"> <label for="contact_name">Name</label> </div> <div class="form-group"> <input id="contact_email" placeholder="Email" required="" type="email" name="field[]" class="form-control"> <label for="contact_email">Email</label> </div> <div class="form-group"> <input id="contact_subject" placeholder="Subject" required="" type="text" name="field[]" class="form-control"> <label for="contact_subject">Subject</label> </div> </div> </div> <div class="row"> <div class="col-xs-12"> <div class="form-group"> <textarea id="contact_message" placeholder="Message" class="form-control" rows="8" name="field[]" required=""></textarea> <label for="contact_message">Message</label> </div> </div> </div> <div class="row"> <div class="col-xs-12"> <button type="submit" class="btn ct-btn--perspective btn-primary btn-lg text-uppercase pull-right"><i class="fa fa-paper-plane"></i> Send Message </button> </div> </div> </form> </div> |
Was this article helpful ?
Sources & Credits
The following sources and files have been used to build up this theme
Twitter Bootstrap – http://twitter.github.com/bootstrap/
jQuery – http://www.jquery.com
Was this article helpful ?
Boxes
Test comes with several types of boxes:
Icon Boxes
-
Icon Left:
HTML markup:
12345<div class="ct-iconBox ct-iconBox--leftIcon"><i class="ct-u-motive ct-u-size50 fa fa-bus"></i><h4 class="text-uppercase ct-fw-600 ct-u-size18">Bus Drivers</h4><p>Lorem ipsum dolor sit amet, coinsectei tur adipiscing elit. Proin lobortis quaiu sit amet turpis imperdiet finibus. </p></div> -
Icon Right:
HTML markup:
12345<div class="ct-iconBox ct-iconBox-motive ct-iconBox--rightIcon"><i class="ct-u-motive ct-u-size50 fa fa-music"></i><h4 class="text-uppercase ct-fw-600 ct-u-size18">Music</h4><p>Lorem ipsum dolor sit amet, coinsectei tur adipiscing elit. Proin lobortis quaiu sit amet turpis imperdiet finibus. </p></div>
Media Boxes
-
Video (with Magnific Popup):
HTML markup:
12345<div class="ct-mediaBox"><a href="http://mazwai.com/system/posts/videos/000/000/086/preview_mp4_2/trim_hawaii--under_the_sea.mp4?1407079699" class="ct-js-magnificPopupMedia"><video muted="" class="ct-js-video" src="http://mazwai.com/system/posts/videos/000/000/086/preview_mp4_2/trim_hawaii--under_the_sea.mp4?1407079699"></video></a></div> -
Image (with Magnific Popup):
HTML markup:
12345<div class="ct-mediaBox"><a href="assets/images/demo-content/FreshVideoImage02.png" class="ct-js-magnificPopupImage"><img src="assets/images/demo-content/FreshVideoImage02.png"></a></div> -
Text:
HTML markup:1234<div class="ct-mediaBox ct-mediaBox--text"><h3 class="text-uppercase">Media Boxes</h3><a href="http://mazwai.com/system/posts/videos/000/000/086/preview_mp4_2/trim_hawaii--under_the_sea.mp4?1407079699" class="ct-js-magnificPopupMedia"><span>view</span></a></div>
Counter Boxes
HTML markup:
1 2 3 4 5 |
<div class="ct-counterBox"> <span class="ct-counterBox-number ct-js-counter" data-ct-to="95" data-ct-speed="50">95</span> <h5 class="ct-counterBox-title text-uppercase ct-fw-700">Happy<br>Customers</h5> <span class="ct-counterBox-icon"><i class="icon-profile-male"></i> </span> </div> |
Count Down Boxes
-
HTML markup:
1 2 3 4 5 6 |
<div class="row centered text-center ct-u-paddingBoth30" id="counter"></div> <script src="assets/js/countdown/jquery.mb-comingsoon.min.js"></script> <script type="text/javascript"> $('#counter').mbComingsoon({expiryDate: new Date(2015, 0, 1, 9, 30), speed: 950}); </script> |
Numbered Boxes
-
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 |
<div class="ct-numberedBox"> <div class="ct-numberedBox-head"> <div class="ct-line ct-line--1 animated activate bounceInLeft ct-show" data-fx="bounceInLeft ct-show" data-time="0"></div> <div class="ct-line ct-line--2 animated activate bounceInLeft ct-show" data-fx="bounceInLeft ct-show" data-time="250"></div> <div class="ct-line ct-line--3 animated activate bounceInLeft ct-show" data-fx="bounceInLeft ct-show" data-time="500"></div> <h2 class="ct-fw-300 ct-u-positionRelative"><span class="">01</span></h2> </div> <h4 class="ct-fw-400">Offers Only For Members</h4> <p class="ct-u-paddingBottom20">Duis eu venenatis uturipis, uaiteui mu uopre itiium imetiusi. Nuillam iquiiis urt lacus faucimu bustum.</p> <button class="btn btn-motive"><span>Learn More <i class="fa fa-location-arrow"></i></span></button> </div> |
Was this article helpful ?
Headers
Section Header:
HTML markup:
1 2 3 4 |
<div class="ct-sectionHeader"> <h2>Latest Photos</h2> <h3>Types of Tropical Fish</h3> </div> |
Page Section Header:
HTML markup:
1 2 3 4 5 6 7 |
<div class="ct-pageSectionHeader"> <h3>FISH <span>COLLECTIONS</span></h3> <a href="#"> <h4 class="ct-fw-300 ct-u-motiveLight ct-u-displayInline">See all Species</h4> <div class="ct-ListDiamond"><i class="fa fa-chevron-right"></i></div> </a> </div> |
Section Header:
-
Left
HTML markup:123<div class="ct-slideInLeftSection ct-slideInLeftSection-motive ct-slideInLeftSection--featured ct-u-paddingBoth20 animated" data-fx="bounceInLeft"><div class="ct-pageSectionHeader pull"><h4 class="text-right">Simple slider</h4></div></div> -
Right
HTML markup:
Was this article helpful ?
CSS Files and Structure
If you would like to edit the color, font, or style of any elements, you would do the following:
1 |
#primaryContent a {color: #someColor;} |
If you find that your new style is not overriding, it is most likely because of a specificity problem. Scroll down in your CSS file and make sure that there isn’t a similar style that has more weight.
I.E.
1 |
#wrap #primaryContent a {color: #someColor;} |
So, to ensure that your new styles are applied, make sure that they carry enough “weight” and that there isn’t a style lower in the CSS file that is being applied after yours.
Colors
The theme includes a css file wich you can use to edit the colors.
You just need to add the corresponding CSS file to the head of the page like this:
1 2 3 4 5 |
<head> (..) <link rel="stylesheet" type="text/css" href="css/motive.css"> (..) </head> |
Main Menu structure
Just change brand name, upload your logo to images/content/ folder and you’re ready to go!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
<nav class="navbar ct-navbar navbar-default yamm ct-navbar--fadeIn" role="navigation"> <div class="container"> <div class="ct-navbarContainer"> <div class="navbar-header"> <a class="navbar-brand" href="index.html"><img id="ct-js-logo" src="assets/images/demo-content/logo.png" alt="FISHtank"></a> <!-- + --> </div> <ul class="nav navbar-nav"> <li role="presentation" class="dropdown"> <a class="dropdown-toggle" href="about.html" role="button" aria-expanded="true"> Home <span class="caret"></span> </a> <ul class="dropdown-menu"> <li> <div class="yamm-content"> </div> </li> </ul> </li> <li><a href="contact.html">Contact Us</a></li> </ul> <ul class="nav navbar-nav yamm ct-navbar--right"> <li><a href="login.html">My Account</a></li> </ul> </div> </div> </nav> |
In order to create mega menus read the documentation here:
Icons
We’ve included 360+ font icons.
Awesome Icons – http://fontawesome.io/icons/
HTML markup:
1 2 |
<!-- Awesome Icons --> <i class="fa fa-cog"></i> |
CSS Files & Structure
We’ve included 2 files.
bootstrap.css contains Bootstrap 3 Library.
style.css file contains general styles.
1. Snap.js
2. Top Container with Shadows
3. Flexslider
4. Owl Carousel
5. Section Headers
6. Image Overlay
7. Tabs
8. Products
9. Promo Section
10. Numbered Rows
11. Collections
12. Flip Containers
13. Team Members Boxes
14. Testimonials
15. Logo Slider
16. Lists
17. Tags
18. Popover
19. Footer
20. Icon Boxes
21. Media Boxes
22. Vertical Image Section
23. Slide In Sections
24. Portfolio Gallery Buttons
25. Photo Gallery
26. 404 Text
27. Blog
28. Counter Blocks
29. Graph Boxes
30. Progress Icons
31. Google Maps
32. One Pager
33. Twitter
34. Animations
35. Magnific Popup
Utilities
Utility classes are low-level structural and positional traits. Utilities can be applied directly to any element, multiple utilities can be used tohether and utilities can be used alongsie component classes.
Utilities are intended for frequently used CSS properties and patterns, like: floats, containing floats, vertical alignemnt, text tryncation. Relying on utilities can help to reduce repetition and provide consistend implementations.
- Test uses utilities for the following categories:
- Typography
- Display Types
- Paddings
- Margins
- Line height
- Borders
- Colors
- Transform
- Section elements
Was this article helpful ?
Owl Carousel
Test comes with Owl Carousel component – plugin documentation available here
How to use it
To enable plugin on your page include the following HTML code to your page:
1 |
<script src="assets/owl-carousel/owl.carousel.js"></script> |
Set up your HTML
You don’t need any special markup. All you need is to wrap your divs(owl works with any type element) inside the container element
1 2 3 4 5 6 7 8 9 10 |
<div id="owl-example" class="owl-carousel"> <div> Your Content </div> <div> Your Content </div> <div> Your Content </div> <div> Your Content </div> <div> Your Content </div> <div> Your Content </div> <div> Your Content </div> ... </div> |
Now call the Owl initializer function and your carousel is ready.
1 2 3 4 5 |
$(document).ready(function() { $("#owl-example").owlCarousel(); }); |
Customizing
-
Options
All of the options below are available to customize Owl Carousel
12345678910111213141516171819202122232425262728293031323334353637383940Variable Default Type Descriptionitems 5 int This variable allows you to set the maximum amount of items displayed at a time with the widest browser widthitemsDesktop [1199,4] array This allows you to preset the number of slides visible with a particular browser width. The format is [x,y] whereby x=browser width and y=number of slides displayed. For example [1199,4] means that if(window<=1199){ show 4 slides per page} Alternatively use itemsDesktop: false to override these settings. Check my Custom DemoitemsDesktopSmall [979,3] array As above.itemsTablet [768,2] array As above.itemsTabletSmall false array As above. Default value is disabled.itemsMobile [479,1] array As aboveitemsCustom false array This allow you to add custom variations of items depending from the width If this option is set, itemsDeskop, itemsDesktopSmall, itemsTablet, itemsMobile etc. are disabled For better preview, order the arrays by screen size, but it's not mandatory Don't forget to include the lowest available screen size, otherwise it will take the default one for screens lower than lowest available.Example:[[0, 2], [400, 4], [700, 6], [1000, 8], [1200, 10], [1600, 16]]For more information about structure of the internal arrays see itemsDesktop. Check my Custom DemosingleItem false boolean Display only one item. See demoitemsScaleUp false boolean Option to not stretch items when it is less than the supplied items. See demoslideSpeed 200 int Slide speed in millisecondspaginationSpeed 800 int Pagination speed in millisecondsrewindSpeed 1000 int Rewind speed in millisecondsautoPlay false int/boolean Change to any integrer for example autoPlay : 5000 to play every 5 seconds. If you set autoPlay: true default speed will be 5 seconds.stopOnHover false boolean Stop autoplay on mouse hovernavigation false boolean Display "next" and "prev" buttons.navigationText ["prev","next"] array You can cusomize your own text for navigation. To get empty buttons use navigationText : false. Also HTML can be used hererewindNav true boolean Slide to first item. Use rewindSpeed to change animation speed.scrollPerPage false boolean Scroll per page not per item. This affect next/prev buttons and mouse/touch dragging.pagination true boolean Show pagination.paginationNumbers false boolean Show numbers inside pagination buttonsresponsive true boolean You can use Owl Carousel on desktop-only websites too! Just change that to "false" to disable resposive capabilitiesresponsiveRefreshRate 200 int Check window width changes every 200ms for responsive actionsresponsiveBaseWidth window jQuery selector Owl Carousel check window for browser width changes. You can use any other jQuery element to check width changes for example ".owl-demo". Owl will change only if ".owl-demo" get new width.baseClass "owl-carousel" string Automaticly added class for base CSS styles. Best not to change it if you don't need to.theme "owl-theme" string Default Owl CSS styles for navigation and buttons. Change it to match your own themelazyLoad false boolean Delays loading of images. Images outside of viewport won't be loaded before user scrolls to them. Great for mobile devices to speed up page loadings. IMG need special markup class="lazyOwl" and data-src="your img path". See example.lazyFollow true boolean When pagination used, it skips loading the images from pages that got skipped. It only loads the images that get displayed in viewport. If set to false, all images get loaded when pagination used. It is a sub setting of the lazy load function.lazyEffect "fade" boolean / string Default is fadeIn on 400ms speed. Use false to remove that effect.autoHeight false boolean Add height to owl-wrapper-outer so you can use diffrent heights on slides. Use it only for one item per page setting.jsonPath false string Allows you to load directly from a jSon file. The JSON structure you use needs to match the owl JSON structure used here. To use custom JSON structure see jsonSuccess option.jsonSuccess false function Success callback for $.getJSON build in into carousel. See demo with custom JSON structure here.dragBeforeAnimFinish true boolean Ignore whether a transition is done or not (only dragging).mouseDrag true boolean Turn off/on mouse events.touchDrag true boolean Turn off/on touch events.addClassActive false boolean Add "active" classes on visible items. Works with any numbers of items on screen.transitionStyle false string Add CSS3 transition style. Works only with one item on screen. See Demo -
Callbacks
12345678910Variable Default Type DescriptionbeforeUpdate false function Before responsive update callbackafterUpdate false function After responsive update callbackbeforeInit false function Before initialization callbackafterInit false function After initialization callbackbeforeMove false function Before move callbackafterMove false function After move callbackafterAction false function After startup, move and update callbackstartDragging false function Call this function while dragging.afterLazyLoad false function Call this function after lazyLoad. -
Defaults
Carousel default settings
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576$("#owl-example").owlCarousel({// Most important owl featuresitems : 5,itemsCustom : false,itemsDesktop : [1199,4],itemsDesktopSmall : [980,3],itemsTablet: [768,2],itemsTabletSmall: false,itemsMobile : [479,1],singleItem : false,itemsScaleUp : false,//Basic SpeedsslideSpeed : 200,paginationSpeed : 800,rewindSpeed : 1000,//AutoplayautoPlay : false,stopOnHover : false,// Navigationnavigation : false,navigationText : ["prev","next"],rewindNav : true,scrollPerPage : false,//Paginationpagination : true,paginationNumbers: false,// Responsiveresponsive: true,responsiveRefreshRate : 200,responsiveBaseWidth: window,// CSS StylesbaseClass : "owl-carousel",theme : "owl-theme",//Lazy loadlazyLoad : false,lazyFollow : true,lazyEffect : "fade",//Auto heightautoHeight : false,//JSONjsonPath : false,jsonSuccess : false,//Mouse EventsdragBeforeAnimFinish : true,mouseDrag : true,touchDrag : true,//TransitionstransitionStyle : false,// OtheraddClassActive : false,//CallbacksbeforeUpdate : false,afterUpdate : false,beforeInit: false,afterInit: false,beforeMove: false,afterMove: false,afterAction: false,startDragging : falseafterLazyLoad : false}) -
Custom Events
Owl Carousel handles a few basic events. Mainly use them for custom navigation.
123456"owl.prev" //Go to previous"owl.next" //Go to next"owl.play" //Autoplay, also this event accept autoPlay speed as second parameter"owl.stop" //Stop"owl.goTo" //goTo provided item"owl.jumpTo" //jumpTo provided item. Without slide animation. -
Owl Data methods
To use Owl Carousel $.data use delegate function.
123456789101112131415161718192021//Initialize Plugin$(".owl-carousel").owlCarousel()//get carousel instance data and store it in variable owlvar owl = $(".owl-carousel").data('owlCarousel');//Public methodsowl.next() // Go to next slideowl.prev() // Go to previous slideowl.goTo(x) // Go to x slideowl.jumpTo(x) // Go to x slide without slide animation//Auto Playowl.play() // Autoplayowl.stop() // Autoplay Stop//Manipulation methods. See demo.owl.addItem(htmlString [,targetPosition])owl.removeItem(targetPosition)owl.destroy()owl.reinit(newOptions)
Was this article helpful ?
Tabs
Full Width Tabs
HTML markup
1 2 3 4 5 6 7 8 9 10 |
<div class="ct-tabHeader ct-tabHeader--motive ct-u-marginBottom30" role="tabpanel"> <ul class="list-unstyled text-uppercase ct-fw-600" role="tablist"> <li role="presentation" class="active"><div class="ct-tabBorder"><a role="tab" data-toggle="tab">Tab #1</a></div><div class="mini-triangle"></div></li> <li role="presentation"><div class="ct-tabBorder"><a role="tab" data-toggle="tab">Tab #2</a></div><div class="mini-triangle"></div></li> <li role="presentation"><div class="ct-tabBorder"><a role="tab" data-toggle="tab">Tab #3</a></div><div class="mini-triangle"></div></li> <li role="presentation"><div class="ct-tabBorder"><a role="tab" data-toggle="tab">Tab #4</a></div><div class="mini-triangle"></div></li> <li role="presentation"><div class="ct-tabBorder"><a role="tab" data-toggle="tab">Tab #5</a></div><div class="mini-triangle"></div></li> <li role="presentation"><div class="ct-tabBorder"><a role="tab" data-toggle="tab">Tab #6</a></div><div class="mini-triangle"></div></li> </ul> </div> |
Full Width Tabs inside Container
HTML markup
1 2 3 4 5 6 7 8 9 10 11 |
<div class="container"> <div class="ct-tabHeader ct-tabHeader--motive ct-u-marginBottom30" role="tabpanel"> <ul class="list-unstyled text-uppercase ct-fw-600" role="tablist"> <li role="presentation"><div class="ct-tabBorder"><a role="tab" data-toggle="tab">Tab #1</a></div><div class="mini-triangle"></div></li> <li role="presentation" class="active"><div class="ct-tabBorder"><a role="tab" data-toggle="tab">Tab #2</a></div><div class="mini-triangle"></div></li> <li role="presentation"><div class="ct-tabBorder"><a role="tab" data-toggle="tab">Tab #3</a></div><div class="mini-triangle"></div></li> <li role="presentation"><div class="ct-tabBorder"><a role="tab" data-toggle="tab">Tab #4</a></div><div class="mini-triangle"></div></li> <li role="presentation"><div class="ct-tabBorder"><a role="tab" data-toggle="tab">Tab #5</a></div><div class="mini-triangle"></div></li> <li role="presentation"><div class="ct-tabBorder"><a role="tab" data-toggle="tab">Tab #6</a></div><div class="mini-triangle"></div></li> </ul> </div> |
Media Tabs
HTML markup
1 2 3 4 5 6 7 8 |
<div role="tabpanel"> <!-- Nav tabs --> <ul class="nav nav-tabs nav-stacked ct-mediaTabs ct-u-paddingBottom15" role="tablist"> <li role="presentation" class="active"><a href="#care-advice2" role="tab" data-toggle="tab"><img src="assets/images/demo-content/patrickstar-01.jpg" alt="mediaTab"></a></li> <li role="presentation"><a href="#easy-to-use2" role="tab" data-toggle="tab"><img src="assets/images/demo-content/patrickstar-02.jpg" alt="mediaTab"></a></li> <li role="presentation"><a href="#different-choices2" role="tab" data-toggle="tab"><img src="assets/images/demo-content/patrickstar-03.jpg" alt="mediaTab"></a></li> </ul> </div> |
Tabs With Icon
HTML markup
1 2 3 4 5 6 7 8 |
<div role="tabpanel"> <!-- Nav tabs --> <ul class="nav nav-tabs nav-stacked ct-tabStacked ct-u-paddingBottom40" role="tablist"> <li role="presentation" class="active"><a href="#care-advice" role="tab" data-toggle="tab"><i class="fa fa-comments"></i><span>Care Advice</span></a></li> <li role="presentation"><a href="#easy-to-use" role="tab" data-toggle="tab"><i class="fa fa-heart"></i><span>Easy to Use</span></a></li> <li role="presentation"><a href="#different-choices" role="tab" data-toggle="tab"><i class="fa fa-align-left"></i><span>Different Choice</span></a></li> </ul> </div> |
Was this article helpful ?
Portfolio
Filters
HTML markup
1 2 3 4 5 6 7 8 9 10 11 |
<div class="ct-u-backgroundDarkMotive clearfix ct-js-fixOnScroll"> <div class="text-center"> <ul class="ct-gallery-filters list-unstyled list-inline ct-gallery-buttons ct-u-marginBottom50"> <li><a data-filter="*" class="btn btn-motiveDark ct-u-marginTop20 active"><span>All</span></a></li> <li><a data-filter=".aggresive" class="btn btn-motiveDark ct-u-marginTop20"><span>Aggresive</span></a></li> <li><a data-filter=".boiserous" class="btn btn-motiveDark ct-u-marginTop20"><span>Boiserous</span></a></li> <li><a data-filter=".passive" class="btn btn-motiveDark ct-u-marginTop20"><span>Passive</span></a></li> </ul> <div class="clearfix"></div> </div> </div> |
Structure
- 4 Columns:
HTML markup
1234567891011121314151617<div id="ct-gallery" class="ct-gallery ct-gallery--col4 ct-js-magnificPortfolioPopupGroup"><div class="ct-gallery-item ct-gallery-item--masonry ct-gallery-item--default hidden ct-gallery-item--normal passive"><div class="ct-gallery-itemInner"><img class="" src="assets/images/demo-content/portfolio-small-01.jpg" alt=""></div></div><div class="ct-gallery-item ct-gallery-item--masonry ct-gallery-item--default hidden ct-gallery-item--normal passive"><div class="ct-gallery-itemInner"><img class="" src="assets/images/demo-content/portfolio-small-01.jpg" alt=""></div></div>...</div> - 3 Columns:
HTML markup123<div id="ct-gallery" class="ct-gallery ct-gallery--col3 ct-js-magnificPortfolioPopupGroup">...</div> - 2 Columns:
HTML markup123<div id="ct-gallery" class="ct-gallery ct-gallery--col2 ct-js-magnificPortfolioPopupGroup">...</div> - Single Column:
HTML markup…
Was this article helpful ?
Contact Form
Template comes with ready to use:
- Contact Form
- Newsletter Form
All needed files are in /form directory.
Remember to includeon page.
To configure form just edit form/config.php and change e-mails to your own :
1 2 |
$to = "mail@example.com"; $from = "mail@example.com"; |
That’s it!
Contact Form
HTML Markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
<div class="ct-contactForm"> <div class="successMessage alert alert-success" style="display: none"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> Thank You! </div> <div class="errorMessage alert alert-danger" style="display: none"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> Ups! An error occured. Please try again later. </div> <form role="form" action="./assets/form/send.php" method="post" class="contactForm validateIt" data-email-subject="Contact Form" data-show-errors="true"> <div class="row"> <div class="col-md-6"> <div class="form-group"> <input id="contact_name" placeholder="Name" required="" type="text" name="field[]" class="form-control"> <label for="contact_name">Name</label> </div> <div class="form-group"> <input id="contact_email" placeholder="Email" required="" type="email" name="field[]" class="form-control"> <label for="contact_email">Email</label> </div> <div class="form-group"> <input id="contact_subject" placeholder="Subject" required="" type="text" name="field[]" class="form-control"> <label for="contact_subject">Subject</label> </div> </div> </div> <div class="row"> <div class="col-xs-12"> <div class="form-group"> <textarea id="contact_message" placeholder="Message" class="form-control" rows="8" name="field[]" required=""></textarea> <label for="contact_message">Message</label> </div> </div> </div> <div class="row"> <div class="col-xs-12"> <button type="submit" class="btn ct-btn--perspective btn-primary btn-lg text-uppercase pull-right"><i class="fa fa-paper-plane"></i> Send Message </button> </div> </div> </form> </div> |
Was this article helpful ?
Person Box
Team Member Box
HTML markup
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
<div class="ct-teamMember"> <a href="#"> <img src="assets/images/demo-content/team-01.png" alt="Team Member"> <div class="ct-teamMember--bg ct-u-paddingBoth20"> <p class="text-uppercase text-center ct-fw-600">Janet Dolorison</p> <p class="ct-fw-400 text-center">Sales Manager</p> </div> <div class="ct-u-motiveDark"> <p class="text-center ct-u-paddingTop15 ct-u-paddingBottom60">Lorem ipsum dolor sit amet, mei consectetur adipiscing elit. Nuic imperdiet consectetuir.</p> <div class="ct-curlPlus-wrapper"> <div class="ct-curlPlus ct-curlPlus--topleft"></div> <div class="ct-curlPlus ct-curlPlus--bottomright"></div> <span>+</span> </div> </div> </a> </div> |
Was this article helpful ?
Magnific Popup
HTML markup
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<a href="assets/images/demo-content/portfolio-large-17.jpg" class="ct-js-magnificPopupImage"> <div class="ct-imageOverlay-container"> <div class="ct-imageButton"></div> <div class="ct-imageOverlay"> <div class="ct-imageOverlay-text"> <h3 class="text-center text-uppercase ct-fw-300">LONG FIN</h3> <h3 class="text-center text-uppercase ct-fw-300"><span class="ct-fw-500">ZEBRA DAN</span></h3> <h3 class="text-center text-uppercase ct-fw-300">FISH</h3> </div> </div> <img class="ct-img100" src="assets/images/demo-content/portfolio-small-17.jpg" alt=""> </div> </a> |
Was this article helpful ?
Javascript
All javascripts are placed in folder /js. In main.js file we implement all functions calls.
This theme uses following Javascript files:
- Bootstrap v 3 framework (powerful front-end framework for faster and easier web development)
- jQuery v1.10.2 (A fast javascript library that Foodtruckifies how to traverse HTML documents, handle events, perform animations.)
- jQuery FlexSlider v2.2.0
- GMAP3 Plugin for JQuery v. 5.1.1
- jQuery.appear
- jQuery Stellar
- jQuery tweet
- Modernizr 2.0.6
- PageScroller
- final-countdown.js
- snap.js
- device.js 0.1.58
- chart.js
Google Map (GMAP3 Plugin)
This is google map with custom marker, you can define couple parameters:
- data-location – address to show
- data-height – map height (if undefined height will be 220px)
- data-offset – by how many map should be repositioned from marker center point (default -30)
It uses gmap3 plugin.
Documentation: here
HTML Markup:
1 |
<div class="ct-googleMap" data-location="Narbutta 24, Warsaw" data-zoom="15" data-height="500"></div> |
All javascript code can be found in js/main.js file.
jquery.appear
This plugin call function when element appear in viewport. This is used in custom animation, progress bars, counter timer.
Documentation: https://github.com/bas2k/jquery.appear/
1 2 3 4 5 6 7 8 9 10 11 12 13 |
if (jQuery().appear) { if (device.mobile()) { // disable animation on mobile jQuery("body").removeClass("withAnimation"); } else { jQuery('.withAnimation .animated').appear(function () { jQuery(this).each(function () { jQuery(this).addClass('activate'); jQuery(this).addClass($(this).data('fx')); }); }, {accY: -150}); } } |
Charts.js
This plugin is used to make graphics.
Documentation: http://www.chartjs.org/
Was this article helpful ?
Flexslider
Main Slider with inset container (with Progress Bar):
HTML markup
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
<div class="flexslider ct-flexslider--mainSlider ct-js-flexslider"> <div class="ct-containerAbsolute"> <div class="ct-flexslider-progress"> <div class="ct-flexslider-progressBar"></div> </div> <div class="ct-containerAbsolute-inside"></div> </div> <ul class="slides"> <li></li> <li></li> <li></li> </ul> </div> |
Full Screen Slider (with Progress Bar):
HTML markup
1 2 3 4 5 6 7 8 9 10 |
<div class="flexslider ct-flexslider--mainSlider ct-js-flexslider"> <div class="ct-flexslider-progress"> <div class="ct-flexslider-progressBar"></div> </div> <ul class="slides"> <li></li> <li></li> <li></li> </ul> </div> |
Arrow Types:
HTML markup
ct-flexslider–arrowType1 – default one
ct-flexslider–arrowType2
ct-flexslider–arrowType3
Controls Type:
HTML markup
ct-flexslider–controls1 – default
ct-flexslider–controls2
ct-flexslider–controls3
Flexslider
Content / Images Slider.
Each parameter can be defined as data attribute :
- data-namespace
- data-selector
- data-animation
- data-easing
- data-direction
- data-reverse
- data-animationloop
- data-smoothheight
- data-startat
- data-slideshow
- data-slideshowspeed
- data-animationspeed
- data-initdelay
- data-randomize
- data-thumbcaptions
- data-pauseonaction
- data-pauseonhover
- data-pauseinvisible
- data-usecss
- data-touch
- data-video
- data-controlnav
- data-directionnav
- data-prevtext
- data-nexttext
- data-keyboard
- data-multiplekeyboard
- data-mousewheel
- data-pauseplay
- data-pausetext
- data-playtext
- data-itemwidth
- data-itemmargin
- data-minitems
- data-maxitems
- data-move
- data-allowoneslide
- data-controlscontainer
- data-manualcontrols
- data-sync
- data-asnavfor
Read the documentation here:
And js initialization (js/main.js file), there you can change slider parameters:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 |
/* ==================== */ /* ==== FLEXSLIDER ==== */ if(jQuery().flexslider){ if (jQuery(".flexslider").length > 0) { jQuery(".flexslider").each(function(){ $this=jQuery(this); var ctnamespace = validatedata($this.attr("data-namespace"),"flex-"); var ctselector = validatedata($this.attr("data-selector"),".slides > li"); var ctanimation = validatedata($this.attr("data-animation"),"slide"); var cteasing = validatedata($this.attr("data-easing"),"swing"); var ctdirection = validatedata($this.attr("data-direction"),"horizontal"); var ctreverse = parseBoolean($this.attr("data-reverse"), false); var ctanimationloop = parseBoolean($this.attr("data-animationloop"), false); var ctsmoothheight = parseBoolean($this.attr("data-smoothheight"), false); var ctstartat = parseInt(validatedata($this.attr("data-startat"), 0)); var ctslideshow = parseBoolean($this.attr("data-slideshow"), true); var ctslideshowspeed = parseInt(validatedata($this.attr("data-slideshowspeed"), 7000)); var ctanimationspeed = parseInt(validatedata($this.attr("data-animationspeed"), 600)); var ctinitdelay= parseInt(validatedata($this.attr("data-initdelay"), 0)); var ctrandomize = parseBoolean($this.attr("data-randomize"), false); var ctthumbcaptions = parseBoolean($this.attr("data-thumbcaptions"), false); var ctpauseonaction= parseBoolean($this.attr("data-pauseonaction"), true); var ctpauseonhover = parseBoolean($this.attr("data-pauseonhover"), false); var ctpauseinvisible= parseBoolean($this.attr("data-pauseinvisible"), true); var ctusecss= parseBoolean($this.attr("data-usecss"), true); var cttouch= parseBoolean($this.attr("data-touch"), true); if(device.mobile()){ cttouch = false; } var ctvideo = parseBoolean($this.attr("data-video"), false); var ctcontrolnav= parseBoolean($this.attr("data-controlnav"), true); if(ctcontrolnav == false){ $this.addClass("no-margin"); } var ctdirectionnav= parseBoolean($this.attr("data-directionnav"), false); var ctprevtext = validatedata($this.attr("data-prevtext"),"Previous"); var ctnexttext = validatedata($this.attr("data-nexttext"),"Next"); var ctkeyboard= validatedata(parseBoolean($this.attr("data-keyboard")), true); var ctmultiplekeyboard= parseBoolean($this.attr("data-multiplekeyboard"), false); var ctmousewheel= parseBoolean($this.attr("data-mousewheel"), false); var ctpauseplay= parseBoolean($this.attr("data-pauseplay"), false); var ctpausetext = validatedata($this.attr("data-pausetext"),"Pause"); var ctplaytext = validatedata($this.attr("data-playtext"),"Play"); var ctitemwidth= parseInt(validatedata($this.attr("data-itemwidth"), 0)); var ctitemmargin= parseInt(validatedata($this.attr("data-itemmargin"), 0)); var ctminitems= parseInt(validatedata($this.attr("data-minitems"), 0)); var ctmaxitems= parseInt(validatedata($this.attr("data-maxitems"), 0)); var ctmove= parseInt(validatedata($this.attr("data-move"), 0)); var ctallowoneslide= parseBoolean($this.attr("data-allowoneslide"), false); var ctcontrolscontainer= validatedata($this.attr("data-controlscontainer"), ""); var ctmanualcontrols= validatedata($this.attr("data-manualcontrols"), ""); var ctsync = validatedata($this.attr("data-sync"), ""); var ctasnavfor = validatedata($this.attr("data-asnavfor"), ""); $this.flexslider({ namespace: ctnamespace, //{NEW} String: Prefix string attached to the class of every element generated by the plugin selector: ctselector, //{NEW} Selector: Must match a simple pattern. "{container} > {slide}" -- Ignore pattern at your own peril animation: ctanimation, //String: Select your animation type, "fade" or "slide" easing: cteasing , //{NEW} String: Determines the easing method used in jQuery transitions. jQuery easing plugin is supported! direction: ctdirection, //String: Select the sliding direction, "horizontal" or "vertical" reverse: ctreverse, //{NEW} Boolean: Reverse the animation direction animationLoop: ctanimationloop, //Boolean: Should the animation loop? If false, directionNav will received "disable" classes at either end smoothHeight: ctsmoothheight, //{NEW} Boolean: Allow height of the slider to animate smoothly in horizontal mode startAt: ctstartat, //Integer: The slide that the slider should start on. Array notation (0 = first slide) slideshow: ctslideshow, //Boolean: Animate slider automatically slideshowSpeed: ctslideshowspeed, //Integer: Set the speed of the slideshow cycling, in milliseconds animationSpeed: ctanimationspeed, //Integer: Set the speed of animations, in milliseconds initDelay: ctinitdelay, //{NEW} Integer: Set an initialization delay, in milliseconds randomize: ctrandomize, //Boolean: Randomize slide order thumbCaptions: ctthumbcaptions, //Boolean: Whether or not to put captions on thumbnails when using the "thumbnails" controlNav. // Usability features pauseOnAction: ctpauseonaction, //Boolean: Pause the slideshow when interacting with control elements, highly recommended. pauseOnHover: ctpauseonhover, //Boolean: Pause the slideshow when hovering over slider, then resume when no longer hovering pauseInvisible: ctpauseinvisible, //{NEW} Boolean: Pause the slideshow when tab is invisible, resume when visible. Provides better UX, lower CPU usage. useCSS: ctusecss, //{NEW} Boolean: Slider will use CSS3 transitions if available touch: cttouch, //{NEW} Boolean: Allow touch swipe navigation of the slider on touch-enabled devices video: ctvideo, //{NEW} Boolean: If using video in the slider, will prevent CSS3 3D Transforms to avoid graphical glitches // Primary Controls controlNav: ctcontrolnav, //Boolean: Create navigation for paging control of each clide? Note: Leave true for manualControls usage directionNav: ctdirectionnav, //Boolean: Create navigation for previous/next navigation? (true/false) prevText: ctprevtext, //String: Set the text for the "previous" directionNav item nextText: ctnexttext, //String: Set the text for the "next" directionNav item // Secondary Navigation keyboard: ctkeyboard, //Boolean: Allow slider navigating via keyboard left/right keys multipleKeyboard: ctmultiplekeyboard, //{NEW} Boolean: Allow keyboard navigation to affect multiple sliders. Default behavior cuts out keyboard navigation with more than one slider present. mousewheel: ctmousewheel, //{UPDATED} Boolean: Requires jquery.mousewheel.js (https://github.com/brandonaaron/jquery-mousewheel) - Allows slider navigating via mousewheel pausePlay: ctpauseplay, //Boolean: Create pause/play dynamic element pauseText: ctpausetext, //String: Set the text for the "pause" pausePlay item playText: ctplaytext, //String: Set the text for the "play" pausePlay item // Special properties controlsContainer: ctcontrolscontainer, //{UPDATED} jQuery Object/Selector: Declare which container the navigation elements should be appended too. Default container is the FlexSlider element. Example use would be $(".flexslider-container"). Property is ignored if given element is not found. manualControls: ctmanualcontrols, //{UPDATED} jQuery Object/Selector: Declare custom control navigation. Examples would be $(".flex-control-nav li") or "#tabs-nav li img", etc. The number of elements in your controlNav should match the number of slides/tabs. sync: ctsync, //{NEW} Selector: Mirror the actions performed on this slider with another slider. Use with care. asNavFor: ctasnavfor, //{NEW} Selector: Internal property exposed for turning the slider into a thumbnail navigation for another slider // Carousel Options itemWidth: ctitemwidth, //{NEW} Integer: Box-model width of individual carousel items, including horizontal borders and padding. itemMargin: ctitemmargin, //{NEW} Integer: Margin between carousel items. minItems: ctminitems, //{NEW} Integer: Minimum number of carousel items that should be visible. Items will resize fluidly when below this. maxItems: ctmaxitems, //{NEW} Integer: Maxmimum number of carousel items that should be visible. Items will resize fluidly when above this limit. move: ctmove, //{NEW} Integer: Number of carousel items that should move on animation. If 0, slider will move all visible items. allowOneSlide: ctallowoneslide //{NEW} Boolean: Whether or not to allow a slider comprised of a single slide }) }) } |
Was this article helpful ?
Brick Blog Theme Options
When using the assigned blog page as described above, all the options you can select for it are located in Appearance > Theme Options on the Posts tab. There are dozens of options to choose from like layout, categories, dates, etc. There are general blog options and single post page options. Each one has title and descriptions to help you better understand what they do. Any type of blog options you need to set will be set here in theme options when using the assigned blog page.
- Index – these are mainly for the assigned blog page, you change here:
Main index page options:
Main index posts options:
- Single – these options all apply to the single post page, not the main archive page.
Was this article helpful ?
Brick Header Blocks
To create a standardized template for each page some of the settings you can set globally. You need to go to Appearance > Theme Options > Pages and choose from several options:
- Show/Hide title on pages
- Show/hide breadcrumbs on page
Using Test allows you to add custom area above main content container. In this place you may display the selected Header Block. To main pages types you can assign separate Header Block in Appearance > Theme Options – Pages.
To create your blocks navigate in main admin menu to Header Blocks > Add New
Notice:
Using Full width option in column settings allows you to create full width Header Block
Remember to click Update once Header Block is assigned to page.
Was this article helpful ?
Creating properties
Test comes with ability to creating Properties custom post types. To create new property navigate to Property > Add New
To every Property you can assign number of variables, which can be defined in Property menu (see attachemnt above) or added directly from Property edition page. You can define and assign the following variables:
- Tags
- Status
- Types
- Locations
- Amenitites (including featured amenities, like: number of Bedrooms, Bathrooms, Garage – which will be displayed on every property preview – you can define them separately)
- Property Floor
All information can be displayed in Property details page:
Was this article helpful ?
Properties Theme Options
In Appearance > Theme Options – Property you will find three tabs, each with number of options for Properties pages:
- Form
- Single
Additionally in Single Property Theme Options you can decide, which of defined amenitites should be displayed on every Property page.
- Search:
Including additional options for available view types.
Was this article helpful ?
Creating agents
Test is a real estate Theme, which allows you to create custom user accounts for Estate Agents. You can create Agent account via administration panel in Users section
Remember to select Agent role for every user created for estate agents.
Users can also register via frontend button Login/Register
Notice:
Frontend registration will work only if you check Anyone can register in WordPress Settings > General:
We recommend you to setup New user default role to Agent
Was this article helpful ?
Taxonomy images
Our property map is created using Taxonomy Images plugin. Thanks to it you are able to define different map markers for Property types.
To define your custom markers navigate to Properties > Types and with “+” add new Map Marker image, which should be diplayed for selected Property type.
You can add new property type with Add New Property Types buttons.
Vistin plugin website for more information – here.
Was this article helpful ?
Contact Form 7
Creating forms was never that easy!
Contact Form 7 can manage multiple contact forms, plus you can customize the form and the mail contents flexibly with simple markup. The form supports Ajax-powered submitting, CAPTCHA, Akismet spam filtering and so on.
Visit plugin site for more information.
Was this article helpful ?
Counter
Test comes with easy to customize Counter
You can add it anywhere you want with simple HTML markup:
1 |
<span class="ct-iconBox-counter ct-js-counter" data-ct-to="2135" data-ct-speed="5000">2 135</span> |
You can also relate the counter to IconBox with the following markup:
1 2 3 4 5 6 7 8 9 10 11 |
<div class="ct-iconBox ct-iconBox--type2 ct-iconBox--primary"> <div class="ct-iconBox-icon"> <i class="fa fa-fw fa-camera"></i> </div> <div class="ct-iconBox-content"> <span class="ct-iconBox-counter ct-js-counter" data-ct-to="2135" data-ct-speed="5000">2 135</span> <p class="ct-iconBox-description text-uppercase ct-fw-600"> taken pictures </p> </div> </div> |
Was this article helpful ?
Accordion
You can create Accordions with number of panel with the simple HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
<div class="panel-group" id="accordion"> <div class="panel panel-default"> <div class="panel-heading"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne"> (panel title) </a> </h4> </div> <div id="collapseOne" class="panel-collapse collapse in"> <div class="panel-body"> (panel content) </div> </div> </div> |
There are several predefined colors variables for accordion:
You can change colors with the following CSS classes:
- panel-primary
- panel-success
- panel-danger
- panel-warning
- panel-info
Was this article helpful ?
Call To Action Box
Use simple HTML markup to create Call to Action box:
1 2 3 4 5 |
<a href="#" class="ct-callToActionBox ct-callToActionBox--green"> <small>Click here &</small><br> See Our Products <img src="assets/images/demo-content/pageImage5.png" alt="Box of Macaroons"> </a> |
You can select from several color variables – just change one CSS class:
- ct-callToActionBox–primary
- ct-callToActionBox–green
- ct-callToActionBox–orange
- ct-callToActionBox–blue
- ct-callToActionBox–gold
- ct-callToActionBox–purple
- ct-callToActionBox–gray
Was this article helpful ?
Socials
You can easily create Socials with simple HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
<ul class="ct-socials ct-socials--primary list-inline list-unstyled text-center"> <li> <a href="https://www.facebook.com/createITpl" data-toggle="tooltip" data-placement="top" title="" data-original-title="Facebook"><i class="fa fa-fw fa-facebook-square"></i></a> </li> <li> <a href="https://twitter.com/createitpl" data-toggle="tooltip" data-placement="top" title="" data-original-title="Twitter"><i class="fa fa-fw fa-twitter"></i></a> </li> <li> <a href="#" data-toggle="tooltip" data-placement="top" title="" data-original-title="Pinterest"><i class="fa fa-fw fa-pinterest"></i></a> </li> <li> <a href="#" data-toggle="tooltip" data-placement="top" title="" data-original-title="LinkedIn"><i class="fa fa-fw fa-linkedin"></i></a> </li> </ul> |
Use one of Awesome Icons to create your own Socials.
And modify colors with simple CSS classes:
ct-socials–primary
ct-socials–blue
ct-socials–green
ct-socials–orange
ct-socials–purple
ct-socials–gold
ct-socials–gray
Was this article helpful ?
Person Box
Create Person Boxes in two awesome variations:
- ct-personBox–thumb
- ct-personBox–left
Just use simple HTML markup with one available variations:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
<div class="ct-personBox ct-personBox--thumb ct-personBox--primary"> <div class="ct-personBox-image"> <a href="#"><img src="assets/images/demo-content/person1.jpg" alt="Person"></a> </div> <a href="#" class="ct-personBox-name"> Latoya Kevins </a> <div class="ct-personBox-description text-center"> <h5 class="ct-u-sectionHeader ct-u-sectionHeader--primary text-uppercase"> Top Chef </h5> <p> Chef Latoya Kevins received train at Baltimore’s Culinary Institute and began her professional career as the Top Chef at Macaroon. </p> <div class="ct-u-moustache"></div> </div> <ul class="ct-socials ct-socials--primary list-inline list-unstyled"> <li> <a href="https://www.facebook.com/createITpl" data-toggle="tooltip" data-placement="top" title="" data-original-title="Facebook"><i class="fa fa-fw fa-facebook-square"></i></a> </li> <li> <a href="https://twitter.com/createitpl" data-toggle="tooltip" data-placement="top" title="" data-original-title="Twitter"><i class="fa fa-fw fa-twitter"></i></a> </li> <li> <a href="#" data-toggle="tooltip" data-placement="top" title="" data-original-title="Pinterest"><i class="fa fa-fw fa-pinterest"></i></a> </li> <li> <a href="#" data-toggle="tooltip" data-placement="top" title="" data-original-title="LinkedIn"><i class="fa fa-fw fa-linkedin"></i></a> </li> </ul> </div> |
You can also modify Person Boxes colors with the following CSS classes:
- ct-personBox–primary
- ct-personBox–blue
- ct-personBox–green
- ct-personBox–purple
- ct-personBox–blue
- ct-personBox–gray
- ct-personBox–gold
Was this article helpful ?
Buttons
In Test even buttons look awesome.
Use simple markup:
1 |
<a href="#" class="btn btn-xs btn-primary">Hello!</a> |
Was this article helpful ?
Pricing Tables
Create standard pricing Boxes or use variation:
- ct-pricingBox–important
To highlight one of them.
Everything with simple HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
<div class="ct-pricingBox ct-pricingBox--gold"> <span class="ct-pricingbox-number">1</span> <div class="ct-pricingBox-pricing"> <span class="ct-pricingBox-price">12<sup>95</sup></span> <span class="ct-pricingBox-priceSub">$ Month</span> </div> <hr class="ct-dotted"> <div class="ct-pricingBox-list"> <ul class="list-unstyled ct-list-arrowWhite text-uppercase ct-fw-600"> <li>Caramel "Fleur de sel"</li> <li>Honey lavender macaroon</li> <li>Matcha Chestnut Flavour</li> <li>Orange blossom package</li> <li>Pumpkin Cinnamon</li> </ul> </div> <a href="#" class="btn btn-default">Order</a> </div> |
Use on of predefined colors with CSS class:
- ct-pricingBox–gold
- ct-pricingBox–primary
- ct-pricingBox–blue
- ct-pricingBox–green
- ct-pricingBox–orange
- ct-pricingBox–gray
- ct-pricingBox–purple
Was this article helpful ?
Portfolio
Create beautiful Portfolio with your works
Use one of two variations:
- ct-gallery
- ct-gallery–withSpacing
And choose number of columns:
- ct-gallery–col4
- ct-gallery–col3
- ct-gallery–col2
- ct-gallery–col5
Use the following HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
<div id="ct-gallery" class="ct-gallery ct-gallery--col4 ct-gallery--withSpacing is-loaded" style="position: relative; height: 772px;"> <div class="ct-gallery-item ct-gallery-item--masonry ct-gallery-item--default ct-gallery-item--normal pistachio" style="position: absolute; left: 0px; top: 0px;"> <div class="ct-gallery-itemInner"> <div class="ct-galleryBox ct-galleryBox--type2 ct-galleryBox--green"> <div class="ct-galleryBox-image"> <a href="assets/images/demo-content/macaroon5.jpg" class="ct-js-magnificPopupImage"> <img src="assets/images/demo-content/thumbs/macaroon5.jpg" alt="Macaroon"> </a> </div> <div class="ct-galleryBox-overlay"> <div class="ct-u-displayTableVertical"> <div class="ct-u-displayTableCell"> <div class="ct-galleryBox-icons"> <a href="#"> <div class="ct-galleryBox-overlayIcon"> <i class="fa fa-share-alt"></i> </div> </a> <a href="assets/images/demo-content/macaroon5.jpg" class="ct-js-magnificPopupImage"> <div class="ct-galleryBox-overlayIcon"> <i class="fa fa-search"></i> </div> </a> <a href="#"> <div class="ct-galleryBox-overlayIcon"> <i class="fa fa-heart"></i> 0 </div> </a> </div> </div> </div> </div> </div> <a href="#" class="ct-galleryBox-content"> <h4 class="ct-galleryBox-title text-uppercase">Macaroon Name Title</h4> <span class="ct-galleryBox-description"> A very delicious macaroon. </span> </a> </div> </div> </div> |
Remember to include isotope javascript:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
if ($().isotope && ($('.ct-gallery').length > 0)) { var $container = $('.ct-gallery'), // object that will keep track of options isotopeOptions = {}, // defaults, used if not explicitly set in hash defaultOptions = { filter: '*', itemSelector: '.ct-gallery-item', // set columnWidth to a percentage of container width masonry: { } }; // set up Isotope $container.isotope(defaultOptions); $container.imagesLoaded().progress(function (instance, image) { if (!image.isLoaded) { return; } var p = $(image.img).closest('.hidden'); p.removeClass('hidden'); $container.addClass('is-loaded') $container.isotope('layout'); }) $('.ct-gallery-filters a').click(function () { $('.ct-gallery-filters .active').removeClass('active'); $(this).addClass('active'); var selector = $(this).attr('data-filter'); $container.isotope({ filter: selector, animationOptions: { duration: 750, easing: 'linear', queue: false } }); return false; }); } |
Was this article helpful ?
Image Box
Create beautiful image box with the following HTML:
1 2 3 4 5 6 7 8 9 10 11 |
<div class="ct-imageBox ct-u-paddingBoth100" data-bg-image="assets/images/demo-content/groupedMacaroons.jpg" style="background-image: url(http://macaroon.html.themeforest.createit.pl/assets/images/demo-content/groupedMacaroons.jpg);"> <div class="ct-u-displayTableVertical"> <div class="ct-u-displayTableCell"> <div class="ct-imageBox-content"> <div class="ct-imageBox-innerContent"> </div> </div> </div> </div> </div> |
And javascript:
1 2 3 4 5 |
$('.ct-imageBox').each(function(){ var $this = $(this); var $bg_image = $this.attr("data-bg-image"); $this.css('background-image', 'url("' + $bg_image + '")'); }) |
Was this article helpful ?
Product Box
Use one of two types of product box:
- ct-productBox–type1
1234567891011121314151617181920<div class="ct-productBox ct-productBox--type1 ct-productBox--green"><div class="ct-productBox-image"><a href="assets/images/demo-content/macaroon1.jpg" class="ct-js-magnificPopupImage"><img src="assets/images/demo-content/thumbs/macaroon1.jpg" alt="Macaroon"></a></div><div class="ct-productBox-overlay"><a href="#"><div class="ct-productBox-overlayIcon"><i class="fa fa-shopping-cart"></i></div></a></div><a href="#" class="ct-productBox-content"><h4 class="ct-productBox-title text-uppercase">Matcha Green Tea</h4><span class="ct-productBox-description">A very delicious minty macaroon.</span></a></div>
- ct-productBox–type2
12345678910111213141516171819<div class="ct-productBox ct-productBox--type2 ct-productBox--green"><div class="ct-productBox-image"><img src="assets/images/demo-content/thumbs/macaroon4.jpg" alt="Macaroon"><div class="ct-productBox-overlay"><a href="#"><div class="ct-productBox-overlayIcon"><i class="fa fa-shopping-cart"></i></div></a></div></div><div class="ct-productBox-content"><h4 class="ct-productBox-title text-uppercase"><a href="#">The blueberry</a></h4><span class="ct-productBox-price ct-u-colorPrimary">$18,99</span><div class="ct-u-moustache"></div></div></div>
Both types of boxes have several color variables:
- ct-productBox–green
- ct-productBox–primary
- ct-productBox–blue
- ct-productBox–gold
- ct-productBox–purple
- ct-productBox–orange
- ct-productBox–gray
Was this article helpful ?
Icon Box
There are 4 types of icon boxes:
- ct-iconBox–type1
- ct-iconBox–type2
- ct-iconBox–type3
- ct-iconBox–type4
Every type with several color options:
- ct-iconBox–blue
- ct-iconBox–green
- ct-iconBox–orange
- ct-iconBox–gold
- ct-iconBox–primary
- ct-iconBox–gray
- ct-iconBox–purple
Just edit classes names!
Was this article helpful ?
Navbar and Top bar
There are several classes, which will help you to provide global changes for your template.
To edit top bar and navigation styles use on body tag:
- Fixed Navigation – .ct–navbarFixed
- Fixed Top Bar – .ct–TopBarFixed
You can also use the following Customization options:
- Topbar background – @ct-topBar-background
- Topbar color – @ct-topBar-color
- Topbar Font Family/Navbar Font Family – @ct-navbar-font
- Navbar background – @ct-navbar-background
- Navbar Color – @ct-navbar-color
Was this article helpful ?
Javascript – Macaroom
4.1. Javascrpt library and files
All javascripts are placed in folder /js. In main.js file we implement all functions calls.
This theme uses following Javascript files:
- Bootstrap v 3 framework (powerful front-end framework for faster and easier web development)
- jQuery v1.10.2 (A fast javascript library that Foodtruckifies how to traverse HTML documents, handle events, perform animations.)
- jQuery FlexSlider v2.2.0
- GMAP3 Plugin for JQuery v. 5.1.1
- jQuery.appear
- jQuery Stellar
- jQuery tweet
- Modernizr 2.0.6
- PageScroller
- final-countdown.js
- snap.js
- device.js 0.1.58
- chart.js
4.2. Google Map (GMAP3 Plugin)
This is google map with custom marker, you can define couple parameters:
- data-location – address to show
- data-height – map height (if undefined height will be 220px)
- data-offset – by how many map should be repositioned from marker center point (default -30)
It uses gmap3 plugin. Documentation: here
HTML Markup:
All javascript code can be found in js/main.js file.
Content / Images Slider.
Each parameter can be defined as data attribute :
- data-namespace
- data-selector
- data-animation
- data-easing
- data-direction
- data-reverse
- data-animationloop
- data-smoothheight
- data-startat
- data-slideshow
- data-slideshowspeed
- data-animationspeed
- data-initdelay
- data-randomize
- data-thumbcaptions
- data-pauseonaction
- data-pauseonhover
- data-pauseinvisible
- data-usecss
- data-touch
- data-video
- data-controlnav
- data-directionnav
- data-prevtext
- data-nexttext
- data-keyboard
- data-multiplekeyboard
- data-mousewheel
- data-pauseplay
- data-pausetext
- data-playtext
- data-itemwidth
- data-itemmargin
- data-minitems
- data-maxitems
- data-move
- data-allowoneslide
- data-controlscontainer
- data-manualcontrols
- data-sync
- data-asnavfor
Read the documentation here: Flexslider Documentation
1 2 3 |
<div class="flexslider" data-animation="slide" data-height="100" data-loop="true" data-smooth="true" data-slideshow="true" data-speed="15000" data-animspeed="550" data-controls="true" data-dircontrols="true" data-controlscontainer=".controls"> (...) </div> |
And js initialization (js/main.js file), there you can change slider parameters:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 |
* ==================== */ /* ==== FLEXSLIDER ==== */ if(jQuery().flexslider){ if (jQuery(".flexslider").length > 0) { jQuery(".flexslider").each(function(){ $this=jQuery(this); var ctnamespace = validatedata($this.attr("data-namespace"),"flex-"); var ctselector = validatedata($this.attr("data-selector"),".slides > li"); var ctanimation = validatedata($this.attr("data-animation"),"slide"); var cteasing = validatedata($this.attr("data-easing"),"swing"); var ctdirection = validatedata($this.attr("data-direction"),"horizontal"); var ctreverse = parseBoolean($this.attr("data-reverse"), false); var ctanimationloop = parseBoolean($this.attr("data-animationloop"), false); var ctsmoothheight = parseBoolean($this.attr("data-smoothheight"), false); var ctstartat = parseInt(validatedata($this.attr("data-startat"), 0)); var ctslideshow = parseBoolean($this.attr("data-slideshow"), true); var ctslideshowspeed = parseInt(validatedata($this.attr("data-slideshowspeed"), 7000)); var ctanimationspeed = parseInt(validatedata($this.attr("data-animationspeed"), 600)); var ctinitdelay= parseInt(validatedata($this.attr("data-initdelay"), 0)); var ctrandomize = parseBoolean($this.attr("data-randomize"), false); var ctthumbcaptions = parseBoolean($this.attr("data-thumbcaptions"), false); var ctpauseonaction= parseBoolean($this.attr("data-pauseonaction"), true); var ctpauseonhover = parseBoolean($this.attr("data-pauseonhover"), false); var ctpauseinvisible= parseBoolean($this.attr("data-pauseinvisible"), true); var ctusecss= parseBoolean($this.attr("data-usecss"), true); var cttouch= parseBoolean($this.attr("data-touch"), true); if(device.mobile()){ cttouch = false; } var ctvideo = parseBoolean($this.attr("data-video"), false); var ctcontrolnav= parseBoolean($this.attr("data-controlnav"), true); if(ctcontrolnav == false){ $this.addClass("no-margin"); } var ctdirectionnav= parseBoolean($this.attr("data-directionnav"), false); var ctprevtext = validatedata($this.attr("data-prevtext"),"Previous"); var ctnexttext = validatedata($this.attr("data-nexttext"),"Next"); var ctkeyboard= validatedata(parseBoolean($this.attr("data-keyboard")), true); var ctmultiplekeyboard= parseBoolean($this.attr("data-multiplekeyboard"), false); var ctmousewheel= parseBoolean($this.attr("data-mousewheel"), false); var ctpauseplay= parseBoolean($this.attr("data-pauseplay"), false); var ctpausetext = validatedata($this.attr("data-pausetext"),"Pause"); var ctplaytext = validatedata($this.attr("data-playtext"),"Play"); var ctitemwidth= parseInt(validatedata($this.attr("data-itemwidth"), 0)); var ctitemmargin= parseInt(validatedata($this.attr("data-itemmargin"), 0)); var ctminitems= parseInt(validatedata($this.attr("data-minitems"), 0)); var ctmaxitems= parseInt(validatedata($this.attr("data-maxitems"), 0)); var ctmove= parseInt(validatedata($this.attr("data-move"), 0)); var ctallowoneslide= parseBoolean($this.attr("data-allowoneslide"), false); var ctcontrolscontainer= validatedata($this.attr("data-controlscontainer"), ""); var ctmanualcontrols= validatedata($this.attr("data-manualcontrols"), ""); var ctsync = validatedata($this.attr("data-sync"), ""); var ctasnavfor = validatedata($this.attr("data-asnavfor"), ""); $this.flexslider({ namespace: ctnamespace, //{NEW} String: Prefix string attached to the class of every element generated by the plugin selector: ctselector, //{NEW} Selector: Must match a simple pattern. "{container} > {slide}" -- Ignore pattern at your own peril animation: ctanimation, //String: Select your animation type, "fade" or "slide" easing: cteasing , //{NEW} String: Determines the easing method used in jQuery transitions. jQuery easing plugin is supported! direction: ctdirection, //String: Select the sliding direction, "horizontal" or "vertical" reverse: ctreverse, //{NEW} Boolean: Reverse the animation direction animationLoop: ctanimationloop, //Boolean: Should the animation loop? If false, directionNav will received "disable" classes at either end smoothHeight: ctsmoothheight, //{NEW} Boolean: Allow height of the slider to animate smoothly in horizontal mode startAt: ctstartat, //Integer: The slide that the slider should start on. Array notation (0 = first slide) slideshow: ctslideshow, //Boolean: Animate slider automatically slideshowSpeed: ctslideshowspeed, //Integer: Set the speed of the slideshow cycling, in milliseconds animationSpeed: ctanimationspeed, //Integer: Set the speed of animations, in milliseconds initDelay: ctinitdelay, //{NEW} Integer: Set an initialization delay, in milliseconds randomize: ctrandomize, //Boolean: Randomize slide order thumbCaptions: ctthumbcaptions, //Boolean: Whether or not to put captions on thumbnails when using the "thumbnails" controlNav. // Usability features pauseOnAction: ctpauseonaction, //Boolean: Pause the slideshow when interacting with control elements, highly recommended. pauseOnHover: ctpauseonhover, //Boolean: Pause the slideshow when hovering over slider, then resume when no longer hovering pauseInvisible: ctpauseinvisible, //{NEW} Boolean: Pause the slideshow when tab is invisible, resume when visible. Provides better UX, lower CPU usage. useCSS: ctusecss, //{NEW} Boolean: Slider will use CSS3 transitions if available touch: cttouch, //{NEW} Boolean: Allow touch swipe navigation of the slider on touch-enabled devices video: ctvideo, //{NEW} Boolean: If using video in the slider, will prevent CSS3 3D Transforms to avoid graphical glitches // Primary Controls controlNav: ctcontrolnav, //Boolean: Create navigation for paging control of each clide? Note: Leave true for manualControls usage directionNav: ctdirectionnav, //Boolean: Create navigation for previous/next navigation? (true/false) prevText: ctprevtext, //String: Set the text for the "previous" directionNav item nextText: ctnexttext, //String: Set the text for the "next" directionNav item // Secondary Navigation keyboard: ctkeyboard, //Boolean: Allow slider navigating via keyboard left/right keys multipleKeyboard: ctmultiplekeyboard, //{NEW} Boolean: Allow keyboard navigation to affect multiple sliders. Default behavior cuts out keyboard navigation with more than one slider present. mousewheel: ctmousewheel, //{UPDATED} Boolean: Requires jquery.mousewheel.js (https://github.com/brandonaaron/jquery-mousewheel) - Allows slider navigating via mousewheel pausePlay: ctpauseplay, //Boolean: Create pause/play dynamic element pauseText: ctpausetext, //String: Set the text for the "pause" pausePlay item playText: ctplaytext, //String: Set the text for the "play" pausePlay item // Special properties controlsContainer: ctcontrolscontainer, //{UPDATED} jQuery Object/Selector: Declare which container the navigation elements should be appended too. Default container is the FlexSlider element. Example use would be $(".flexslider-container"). Property is ignored if given element is not found. manualControls: ctmanualcontrols, //{UPDATED} jQuery Object/Selector: Declare custom control navigation. Examples would be $(".flex-control-nav li") or "#tabs-nav li img", etc. The number of elements in your controlNav should match the number of slides/tabs. sync: ctsync, //{NEW} Selector: Mirror the actions performed on this slider with another slider. Use with care. asNavFor: ctasnavfor, //{NEW} Selector: Internal property exposed for turning the slider into a thumbnail navigation for another slider // Carousel Options itemWidth: ctitemwidth, //{NEW} Integer: Box-model width of individual carousel items, including horizontal borders and padding. itemMargin: ctitemmargin, //{NEW} Integer: Margin between carousel items. minItems: ctminitems, //{NEW} Integer: Minimum number of carousel items that should be visible. Items will resize fluidly when below this. maxItems: ctmaxitems, //{NEW} Integer: Maxmimum number of carousel items that should be visible. Items will resize fluidly when above this limit. move: ctmove, //{NEW} Integer: Number of carousel items that should move on animation. If 0, slider will move all visible items. allowOneSlide: ctallowoneslide //{NEW} Boolean: Whether or not to allow a slider comprised of a single slide }) }) } |
4.4. Jquery.appear
This plugin call function when element appear in viewport. This is used in custom animation, progress bars, counter timer.
Documentation: https://github.com/bas2k/jquery.appear/
1 2 3 4 5 6 7 8 9 10 11 12 |
if (device.mobile()) { // disable animation on mobile jQuery("body").removeClass("withAnimation"); } else { jQuery('.withAnimation .animated').appear(function () { jQuery(this).each(function () { jQuery(this).addClass('activate'); jQuery(this).addClass($(this).data('fx')); }); }, {accY: -150}); } } |
4.5. Charts
This plugin is used to make graphics. Documentation: http://www.chartjs.org/
Was this article helpful ?
Flexslider
Main Slider with inset container (with Progress Bar):
HTML markup
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
<div class="flexslider ct-flexslider--mainSlider ct-js-flexslider"> <div class="ct-containerAbsolute"> <div class="ct-flexslider-progress"> <div class="ct-flexslider-progressBar"></div> </div> <div class="ct-containerAbsolute-inside"></div> </div> <ul class="slides"> <li></li> <li></li> <li></li> </ul> </div> |
Full Screen Slider (with Progress Bar):
HTML markup
1 2 3 4 5 6 7 8 9 10 |
<div class="flexslider ct-flexslider--mainSlider ct-js-flexslider"> <div class="ct-flexslider-progress"> <div class="ct-flexslider-progressBar"></div> </div> <ul class="slides"> <li></li> <li></li> <li></li> </ul> </div> |
Arrow Types:
HTML markup
ct-flexslider–arrowType1
ct-flexslider–arrowType2
Controls Type:
HTML markup
ct-flexslider–controls – default
ct-flexslider–whiteControls
Flexslider
Content / Images Slider.
Each parameter can be defined as data attribute :
- data-namespace
- data-selector
- data-animation
- data-easing
- data-direction
- data-reverse
- data-animationloop
- data-smoothheight
- data-startat
- data-slideshow
- data-slideshowspeed
- data-animationspeed
- data-initdelay
- data-randomize
- data-thumbcaptions
- data-pauseonaction
- data-pauseonhover
- data-pauseinvisible
- data-usecss
- data-touch
- data-video
- data-controlnav
- data-directionnav
- data-prevtext
- data-nexttext
- data-keyboard
- data-multiplekeyboard
- data-mousewheel
- data-pauseplay
- data-pausetext
- data-playtext
- data-itemwidth
- data-itemmargin
- data-minitems
- data-maxitems
- data-move
- data-allowoneslide
- data-controlscontainer
- data-manualcontrols
- data-sync
- data-asnavfor
Read the documentation here:
And js initialization (js/main.js file), there you can change slider parameters:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 |
/* ==================== */ /* ==== FLEXSLIDER ==== */ if(jQuery().flexslider){ if (jQuery(".flexslider").length > 0) { jQuery(".flexslider").each(function(){ $this=jQuery(this); var ctnamespace = validatedata($this.attr("data-namespace"),"flex-"); var ctselector = validatedata($this.attr("data-selector"),".slides > li"); var ctanimation = validatedata($this.attr("data-animation"),"slide"); var cteasing = validatedata($this.attr("data-easing"),"swing"); var ctdirection = validatedata($this.attr("data-direction"),"horizontal"); var ctreverse = parseBoolean($this.attr("data-reverse"), false); var ctanimationloop = parseBoolean($this.attr("data-animationloop"), false); var ctsmoothheight = parseBoolean($this.attr("data-smoothheight"), false); var ctstartat = parseInt(validatedata($this.attr("data-startat"), 0)); var ctslideshow = parseBoolean($this.attr("data-slideshow"), true); var ctslideshowspeed = parseInt(validatedata($this.attr("data-slideshowspeed"), 7000)); var ctanimationspeed = parseInt(validatedata($this.attr("data-animationspeed"), 600)); var ctinitdelay= parseInt(validatedata($this.attr("data-initdelay"), 0)); var ctrandomize = parseBoolean($this.attr("data-randomize"), false); var ctthumbcaptions = parseBoolean($this.attr("data-thumbcaptions"), false); var ctpauseonaction= parseBoolean($this.attr("data-pauseonaction"), true); var ctpauseonhover = parseBoolean($this.attr("data-pauseonhover"), false); var ctpauseinvisible= parseBoolean($this.attr("data-pauseinvisible"), true); var ctusecss= parseBoolean($this.attr("data-usecss"), true); var cttouch= parseBoolean($this.attr("data-touch"), true); if(device.mobile()){ cttouch = false; } var ctvideo = parseBoolean($this.attr("data-video"), false); var ctcontrolnav= parseBoolean($this.attr("data-controlnav"), true); if(ctcontrolnav == false){ $this.addClass("no-margin"); } var ctdirectionnav= parseBoolean($this.attr("data-directionnav"), false); var ctprevtext = validatedata($this.attr("data-prevtext"),"Previous"); var ctnexttext = validatedata($this.attr("data-nexttext"),"Next"); var ctkeyboard= validatedata(parseBoolean($this.attr("data-keyboard")), true); var ctmultiplekeyboard= parseBoolean($this.attr("data-multiplekeyboard"), false); var ctmousewheel= parseBoolean($this.attr("data-mousewheel"), false); var ctpauseplay= parseBoolean($this.attr("data-pauseplay"), false); var ctpausetext = validatedata($this.attr("data-pausetext"),"Pause"); var ctplaytext = validatedata($this.attr("data-playtext"),"Play"); var ctitemwidth= parseInt(validatedata($this.attr("data-itemwidth"), 0)); var ctitemmargin= parseInt(validatedata($this.attr("data-itemmargin"), 0)); var ctminitems= parseInt(validatedata($this.attr("data-minitems"), 0)); var ctmaxitems= parseInt(validatedata($this.attr("data-maxitems"), 0)); var ctmove= parseInt(validatedata($this.attr("data-move"), 0)); var ctallowoneslide= parseBoolean($this.attr("data-allowoneslide"), false); var ctcontrolscontainer= validatedata($this.attr("data-controlscontainer"), ""); var ctmanualcontrols= validatedata($this.attr("data-manualcontrols"), ""); var ctsync = validatedata($this.attr("data-sync"), ""); var ctasnavfor = validatedata($this.attr("data-asnavfor"), ""); $this.flexslider({ namespace: ctnamespace, //{NEW} String: Prefix string attached to the class of every element generated by the plugin selector: ctselector, //{NEW} Selector: Must match a simple pattern. "{container} > {slide}" -- Ignore pattern at your own peril animation: ctanimation, //String: Select your animation type, "fade" or "slide" easing: cteasing , //{NEW} String: Determines the easing method used in jQuery transitions. jQuery easing plugin is supported! direction: ctdirection, //String: Select the sliding direction, "horizontal" or "vertical" reverse: ctreverse, //{NEW} Boolean: Reverse the animation direction animationLoop: ctanimationloop, //Boolean: Should the animation loop? If false, directionNav will received "disable" classes at either end smoothHeight: ctsmoothheight, //{NEW} Boolean: Allow height of the slider to animate smoothly in horizontal mode startAt: ctstartat, //Integer: The slide that the slider should start on. Array notation (0 = first slide) slideshow: ctslideshow, //Boolean: Animate slider automatically slideshowSpeed: ctslideshowspeed, //Integer: Set the speed of the slideshow cycling, in milliseconds animationSpeed: ctanimationspeed, //Integer: Set the speed of animations, in milliseconds initDelay: ctinitdelay, //{NEW} Integer: Set an initialization delay, in milliseconds randomize: ctrandomize, //Boolean: Randomize slide order thumbCaptions: ctthumbcaptions, //Boolean: Whether or not to put captions on thumbnails when using the "thumbnails" controlNav. // Usability features pauseOnAction: ctpauseonaction, //Boolean: Pause the slideshow when interacting with control elements, highly recommended. pauseOnHover: ctpauseonhover, //Boolean: Pause the slideshow when hovering over slider, then resume when no longer hovering pauseInvisible: ctpauseinvisible, //{NEW} Boolean: Pause the slideshow when tab is invisible, resume when visible. Provides better UX, lower CPU usage. useCSS: ctusecss, //{NEW} Boolean: Slider will use CSS3 transitions if available touch: cttouch, //{NEW} Boolean: Allow touch swipe navigation of the slider on touch-enabled devices video: ctvideo, //{NEW} Boolean: If using video in the slider, will prevent CSS3 3D Transforms to avoid graphical glitches // Primary Controls controlNav: ctcontrolnav, //Boolean: Create navigation for paging control of each clide? Note: Leave true for manualControls usage directionNav: ctdirectionnav, //Boolean: Create navigation for previous/next navigation? (true/false) prevText: ctprevtext, //String: Set the text for the "previous" directionNav item nextText: ctnexttext, //String: Set the text for the "next" directionNav item // Secondary Navigation keyboard: ctkeyboard, //Boolean: Allow slider navigating via keyboard left/right keys multipleKeyboard: ctmultiplekeyboard, //{NEW} Boolean: Allow keyboard navigation to affect multiple sliders. Default behavior cuts out keyboard navigation with more than one slider present. mousewheel: ctmousewheel, //{UPDATED} Boolean: Requires jquery.mousewheel.js (https://github.com/brandonaaron/jquery-mousewheel) - Allows slider navigating via mousewheel pausePlay: ctpauseplay, //Boolean: Create pause/play dynamic element pauseText: ctpausetext, //String: Set the text for the "pause" pausePlay item playText: ctplaytext, //String: Set the text for the "play" pausePlay item // Special properties controlsContainer: ctcontrolscontainer, //{UPDATED} jQuery Object/Selector: Declare which container the navigation elements should be appended too. Default container is the FlexSlider element. Example use would be $(".flexslider-container"). Property is ignored if given element is not found. manualControls: ctmanualcontrols, //{UPDATED} jQuery Object/Selector: Declare custom control navigation. Examples would be $(".flex-control-nav li") or "#tabs-nav li img", etc. The number of elements in your controlNav should match the number of slides/tabs. sync: ctsync, //{NEW} Selector: Mirror the actions performed on this slider with another slider. Use with care. asNavFor: ctasnavfor, //{NEW} Selector: Internal property exposed for turning the slider into a thumbnail navigation for another slider // Carousel Options itemWidth: ctitemwidth, //{NEW} Integer: Box-model width of individual carousel items, including horizontal borders and padding. itemMargin: ctitemmargin, //{NEW} Integer: Margin between carousel items. minItems: ctminitems, //{NEW} Integer: Minimum number of carousel items that should be visible. Items will resize fluidly when below this. maxItems: ctmaxitems, //{NEW} Integer: Maxmimum number of carousel items that should be visible. Items will resize fluidly when above this limit. move: ctmove, //{NEW} Integer: Number of carousel items that should move on animation. If 0, slider will move all visible items. allowOneSlide: ctallowoneslide //{NEW} Boolean: Whether or not to allow a slider comprised of a single slide }) }) } |
Was this article helpful ?
Header Theme Options
Test comes with extended options to configure headers appearance. You can choose options globally via Appearance > Theme Options. Those settings will be by default applied for every page.
In Theme Options > Main Navbar you can select option for navigation menu appearance.
You can select here one of four Navigation Types:
- default
- motive
- inverse
- transparent
Once you setup navigation bar background color with it’s type – you can adjust Style for active element in menu: You can choose one of five types:
In Main Navbar settings you can also select:
- Fixed menu type
- Dropdown animation
- Logo position
- If search should be displayed
- Search label
- Search placeholde
- Search icon
In Theme Options > Pages – Header you can select option for page header appearance
You can define here:
- Diagonal [1]
- Triangle [2]
- Icon [3]
- Summary [4]
- Background Color
- Text Color
- Header Margins and Paddings
- Shadow
Or choose one of predefined simple header styles:
You can also add media to header background:
- parallax
- kenburns
- video
You can setup header settings for every page separately in Header and Navbar settings [1], which you will find below page content edition window.
Below header settings you can also choose if your page title should be displayed or not [2]
Was this article helpful ?
CSS files and structure
If you would like to edit the color, font, or style of any elements, you would do the following:
1 |
#primaryContent a {color: #someColor;} |
If you find that your new style is not overriding, it is most likely because of a specificity problem. Scroll down in your CSS file and make sure that there isn’t a similar style that has more weight.
I.E.
1 |
#wrap #primaryContent a {color: #someColor;} |
So, to ensure that your new styles are applied, make sure that they carry enough “weight” and that there isn’t a style lower in the CSS file that is being applied after yours.
Colors
The theme includes a css file wich you can use to edit the colors.
You just need to add the corresponding CSS file to the head of the page like this:
1 2 3 4 5 |
<head> (..) <link rel="stylesheet" type="text/css" href="css/motive.css"> (..) </head> |
Main Menu structure
Just change brand name, upload your logo to images/content/ folder and you’re ready to go!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
<nav class="navbar ct-navbar navbar-default yamm ct-navbar--fadeIn" role="navigation"> <div class="container"> <div class="ct-navbarContainer"> <div class="navbar-header"> <a class="navbar-brand" href="index.html"><img id="ct-js-logo" src="assets/images/demo-content/logo.png" alt="FISHtank"></a> <!-- + --> </div> <ul class="nav navbar-nav"> <li role="presentation" class="dropdown"> <a class="dropdown-toggle" href="about.html" role="button" aria-expanded="true"> Home <span class="caret"></span> </a> <ul class="dropdown-menu"> <li> <div class="yamm-content"> </div> </li> </ul> </li> <li><a href="contact.html">Contact Us</a></li> </ul> <ul class="nav navbar-nav yamm ct-navbar--right"> <li><a href="login.html">My Account</a></li> </ul> </div> </div> </nav> |
In order to create mega menus read the documentation here:
Icons
We’ve included 360+ font icons.
Awesome Icons – http://fontawesome.io/icons/
HTML markup:
1 2 |
<!-- Awesome Icons --> <i class="fa fa-cog"></i> |
CSS Files & Structure
We’ve included 2 files.
bootstrap.css contains Bootstrap 3 Library.
style.css file contains general styles.
CSS Files & Structure
1. variables
2. mixins
3. datepicker
4. fonts
5. sections
6. animate
7. utilities
8. motive
9. typography
10. menu
11. buttons
12. lists
13. iconbox
14. icon
15. skills
16. blockquote
17. pricing
18. table
19. cta
10. tooltip
21. accordion
22. tabs
23. footer
24. copyright
25. form
26. breadcrumbs
27. flexslider
28. magnificpopup
29. slider
30. testimonial
31. courselist
32. coursesgallery
33. dropdown
34. sidebarcolumn
35. badge
36. choiceviev
37. graph
38. team
39. newsletter
40. singlecourse
41. headersection
42. pagination
43. mediasections
44. memberpage
45. mainparallax
46. tweet
47. videowachers
48. teacherbox
49. blogcontent
50. singlearticle
51. comments
52. program
53. contactpage
54. loginpage
55. socialicons
56. videoarchive
57. portfolio
58. maps
59. intro-effects
60. snap
Utilities
Utility classes are low-level structural and positional traits. Utilities can be applied directly to any element, multiple utilities can be used tohether and utilities can be used alongsie component classes.
Utilities are intended for frequently used CSS properties and patterns, like: floats, containing floats, vertical alignemnt, text tryncation. Relying on utilities can help to reduce repetition and provide consistend implementations.
- Test uses utilities for the following categories:
- Typography
- Display Types
- Paddings
- Margins
- Colors
- Font Colors
- Borders
- Backgrounds Colors
- Font Sizes
- Triangles
Was this article helpful ?
Buttons
Buttons
There are 6 types of section buttons – each for every template style, but feel free to use them wherever you want.
To add button, use the following HTML markup:
1 |
<a href="#" class="btn btn-primary btn-sm btn-center btn-block ct-btn-motive">Button</a> |
variable color types can be create with the following CSS classes:
- btn-link
- btn-primary
- btn-default
- btn-icon-right
- btn-block active
- btn-block btn-disabled
Was this article helpful ?
Socials
You can choose from two types and seven colors of Socials:
- ct-socialIcons–circle
- ct-socialIcons–circlelg
- ct-socialIcons–bgMotive
- ct-socialIcons–fgrey
- ct-socialIcons–fwhite
- ct-socialIcons–fgreySm
- ct-socialIcons-bgDarkBlue
- ct-socialIcons-bgRed
- ct-socialIcons-bgBlue
Was this article helpful ?
Charts
In Test you can create a chart with the simple HTML markup:
1 2 |
<canvas width="130" height="130" class="ct-js-pieChart" data-ct-percentage="85" data-ct-middleSpace="95" data-ct-secondColor="#d9ddde" data-ct-firstColor="#3eaefa"></canvas> <span class="ct-graphBox-graphPercentage">85%</span> |
And the following javascript snippet:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
(function ($) { "use strict"; $(window).load(function () { /* ==================== */ /* ==== PIE CHARTS ==== */ $('.ct-js-pieChart').each(function () { var $this = $(this); var $color = validatedata($(this).attr('data-ct-firstColor'), "#2b8be9"); var $color2 = validatedata($(this).attr('data-ct-secondColor'), "#eeeeee"); var $cutout = validatedata($(this).attr('data-ct-middleSpace'), 90); var $stroke = validatedata($(this).attr('data-ct-showStroke'), false); var options = { responsive: true, percentageInnerCutout: $cutout, segmentShowStroke: $stroke, showTooltips: false } var doughnutData = [{ value: parseInt($this.attr('data-ct-percentage')), color: $color, label: false }, { value: parseInt(100 - $this.attr('data-ct-percentage')), color: $color2 }]; if (($().appear) && ($("body").hasClass("cssAnimate"))) { $('.ct-js-pieChart').appear(function () { var ctx = $this[0].getContext("2d"); window.myDoughnut = new Chart(ctx).Doughnut(doughnutData, options); }); } else { var ctx = $this[0].getContext("2d"); window.myDoughnut = new Chart(ctx).Doughnut(doughnutData, options); } }) }) })(jQuery); |
Was this article helpful ?
Forms
Template comes with ready to use:
- Contact Form
- Newsletter Form
All needed files are in /form directory.
Remember to includeon page.
To configure form just edit form/form.php and change e-mails to your own :
1 2 |
$to = "mail@example.com"; $from = "mail@example.com"; |
That’s it!
Contact Form
HTML Markup:
Newsletter Form
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
<div class="ct-newsletter ct-u-bgdark-lightfont text-center"> <h2 class="text-uppercase">Newsletter subscribe</h2> <div class="successMessage alert alert-success" style="display: none"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> Thank You! </div> <div class="errorMessage alert alert-danger" style="display: none"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> Ups! An error occured. Please try again later. </div> <form role="form" class="ct-form--newsletter validateIt" action="assets/form/send.php" method="post" data-email-subject="Newsletter Form" data-show-errors="true" data-hide-form="true"> <div class="form-group animated" data-fx="fadeInUp" data-time="0"> <input type="email" class="form-control" id="exampleInputEmail2" name="field[]" required placeholder="Your Email Address"> </div> <button type="submit" class="btn btn-primary btn-padding btn-center animated" data-fx="fadeInUp" data-time="0">Complete Course List</button> </form> </div> |
Was this article helpful ?
Flexslider
To create Flexslider use the following HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
<div class="flexslider ct-flexslider--fw ct-js-flexslider ct-flexslider" data-pauseonaction="false" data-directionnav="true" data-animations="true" data-height="100%" data-controlnav="true" data-animationloop="true" data-slideshow="true"> <ul class="slides"> <li data-bg="assets/images/demo-content/iconboxleft-bg.jpg"> <div class="inner"> <div class="inner-content animated" data-fx="pulse"> [content] </div> </div> </li> <li data-bg="assets/images/demo-content/iconboxleft-bg.jpg"> <div class="inner"> <div class="inner-content animated" data-fx="pulse"> [content] </div> </div> </li> <li data-bg="assets/images/demo-content/iconboxleft-bg.jpg"> <div class="inner-content animated" data-fx="pulse"> [content] </div> </li> </ul> </div> |
Was this article helpful ?
Google Map
With Test you can easily create Google Map:
Just use simple HTML markup:
1 2 3 4 5 6 7 |
<div class="ct-mediaSection"> <div class="ct-mediaSection-inner"> <div class="googlemapcontainer"> <div class="ct-googleMap" data-location="Bedminster" data-height="500" data-offset="0" data-zoom="16"></div> </div> </div><!-- /ct-mediaSection-inner --> </div> |
And don’t forget to include the following javascript in gmaps/init.js:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 |
function initmap() { if (($(".ct-googleMap").length > 0) && (typeof google === 'object' && typeof google.maps === 'object')) { $('.ct-googleMap').each(function () { var atcenter = ""; var $this = $(this); var location = $this.data("location"); var zoom = $this.data("zoom"); var offset = -30; if (validatedata($this.data("offset"))) { offset = $this.data("offset"); } if (validatedata(location)) { $this.gmap3({ marker: { //latLng: [40.616439, -74.035540], address: location, options: { //visible: false icon: new google.maps.MarkerImage("assets/images/marker.png") }, callback: function (marker) { atcenter = marker.getPosition(); } }, map: { options: { //maxZoom:11, zoom: zoom, mapTypeId: google.maps.MapTypeId.ROADMAP, // ('ROADMAP', 'SATELLITE', 'HYBRID','TERRAIN'); scrollwheel: false, disableDoubleClickZoom: false, draggable: false, //disableDefaultUI: true, mapTypeControlOptions: { //mapTypeIds: [google.maps.MapTypeId.ROADMAP, google.maps.MapTypeId.HYBRID], //style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR, //position: google.maps.ControlPosition.RIGHT_CENTER mapTypeIds: [] }, styles: [ { "featureType": "water", "elementType": "geometry", "stylers": [ { "color": "#193341" } ] }, { "featureType": "landscape", "elementType": "geometry", "stylers": [ { "color": "#2c5a71" } ] }, { "featureType": "road", "elementType": "geometry", "stylers": [ { "color": "#29768a" }, { "lightness": -37 } ] }, { "featureType": "poi", "elementType": "geometry", "stylers": [ { "color": "#406d80" } ] }, { "featureType": "transit", "elementType": "geometry", "stylers": [ { "color": "#406d80" } ] }, { "elementType": "labels.text.stroke", "stylers": [ { "visibility": "on" }, { "color": "#3e606f" }, { "weight": 2 }, { "gamma": 0.84 } ] }, { "elementType": "labels.text.fill", "stylers": [ { "color": "#ffffff" } ] }, { "featureType": "administrative", "elementType": "geometry", "stylers": [ { "weight": 0.6 }, { "color": "#1a3541" } ] }, { "elementType": "labels.icon", "stylers": [ { "visibility": "off" } ] }, { "featureType": "poi.park", "elementType": "geometry", "stylers": [ { "color": "#2c5a71" } ] } ] }, events: { idle: function () { if (!$this.data('idle')) { $this.gmap3('get').panBy(0, offset); $this.data('idle', true); } } } }, overlay: { address: location, options: { offset: { y: -100, x: -25 } } } //},"autofit" }); // center on resize google.maps.event.addDomListener(window, "resize", function () { //var userLocation = new google.maps.LatLng(53.8018,-1.553); setTimeout(function () { $this.gmap3('get').setCenter(atcenter); $this.gmap3('get').panBy(0, offset); }, 400); }); // set height $this.css("min-height", $this.data("height") + "px"); } if ($this.parent().parent().hasClass('hidemap')) { $this.parent().animate({height: '0px'}, 500); } }) } } |
Was this article helpful ?
Modern Form
Test comes with extended Modern Form
You can use it with the following HTML markup:
1 2 3 4 5 6 7 |
<form> <div class="input-group date ct-js-datetimePicker" id="datetimepicker"> <input type="text" id="inpcal" class="form-control ct-u-fontDarkgrey" /> label for="inpcal" class="input-group-addon"><i class="fa fa-calendar"></i> </label> </div> </form> |
Notice to include also the following javascript:
1 2 3 4 5 6 7 8 |
(function ($) { "use strict"; $(document).ready(function(){ $('.ct-js-datetimePicker').datetimepicker({ pickTime: false }); }) }(jQuery)); |
Was this article helpful ?
Progress Bars
To create progress bar use the following HTML markup:
1 2 3 4 5 |
<div class="progress"> <div class="progress-bar animating" role="progressbar" data-percentage="90" aria-valuenow="90" aria-valuemin="0" aria-valuemax="100"> <span>Web Design <strong>90%</strong></span> </div> </div> |
Also don’t forget to include the javascript code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
(function ($) { "use strict"; $(document).ready(function(){ // Progress Bar // ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- //$('.progress-bar').progressbar(); if (jQuery().appear && jQuery("body").hasClass("cssAnimate")) { jQuery('.progress').appear(function () { var $this = jQuery(this); $this.each(function () { var $innerbar = $this.find(".progress-bar"); var percentage = $innerbar.attr("data-percentage"); $innerbar.addClass("animating").css("width", percentage + "%"); $innerbar.on('transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd', function () { $innerbar.find(".pull-right").fadeIn(900); }); }); }, {accY: -100}); } else { jQuery('.progress').each(function () { var $this = jQuery(this); var $innerbar = $this.find(".progress-bar"); var percentage = $innerbar.attr("data-percentage"); $innerbar.addClass("animating").css("width", percentage + "%"); $innerbar.on('transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd', function () { $innerbar.find(".pull-right").fadeIn(900); }); }); } }); // /document.ready })(jQuery); |
Was this article helpful ?
Progress Icons
You can present progress made also with Progress Icons
You can use them with the following HTML markup:
1 2 3 4 5 6 7 8 |
<div class="ct-u-paddingBottom80"> <div class="progress-icons" data-font-size="90" data-icon-color="#3eaefa" data-active="12" data-total="15" data-icon="fa-male" data-delay="200"></div> </div> <div class="ct-u-paddingBottom80"> <div class="progress-icons" data-font-size="77" data-icon-color="#fc4349" data-active="12" data-total="15" data-icon="fa-female" data-delay="250"></div> </div> |
Also remember to include required javascript:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
(function ($) { "use strict"; $(document).ready(function () { // Progress Icons // ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- $('.progress-icons').each(function () { var $this = $(this); var $total = $this.attr("data-total"); var $icon = $this.attr("data-icon"); var htmldata = ""; $this.css("font-size", ($this.attr("data-font-size") + "px")); var i; for (i = 0; i < $total; i++) { htmldata += '<i class="fa ' + $icon + '"></i> '; } $this.html(htmldata); if (($().appear) && ($("body").hasClass("cssAnimate"))) { $('.progress-icons').appear(function () { var $this = $(this); var $active = $this.attr("data-active"); var $icons = $this.find('i:lt(' + $active + ')'); var $delay = parseInt(validatedata($this.attr("data-delay"), 20)) var delay = $delay; for (i = 0; i < $icons.length; i++) { setTimeout((function (i) { return function () { i.style.color = $this.attr("data-icon-color"); } })($icons[i]), delay); delay += $delay; } }, {accY: -100}); } else { $this.each(function () { var $active = $this.attr("data-active"); var $icons = $this.find('i:lt(' + $active + ')'); $icons.css('color', $this.attr("data-icon-color")) }); } }) }) }(jQuery)); |
Was this article helpful ?
Select
Create nice selects with the following HTML markup:
1 2 3 4 5 6 7 8 9 |
<div class="form-group"> <select id="s1" class="form-control text-uppercase "> <option>Choose courses</option> <option>History</option> <option>Web Design</option> <option>Photography</option> <option>Building</option> </select> </div> |
And javascript code:
1 |
$('#s1').select2(); |
Was this article helpful ?
Javascript Actly
All javascripts are placed in folder /js. In main.js file we implement all functions calls.
This theme uses following Javascript scripts:
- Bootstrap v 3 framework (powerful front-end framework for faster and easier web development)
- jQuery v1.10.2 (A fast javascript library that Foodtruckifies how to traverse HTML documents, handle events, perform animations.)
- jQuery FlexSlider v2.2.0
- GMAP3 Plugin for JQuery v. 5.1.1
- jQuery.appear
- isotope (http://isotope.metafizzy.co/)
- ct-mediaSections(with stellar.js)
- snap.js
- jquery.easing.1.3
- device
- jquery.pagescroller.lite
- chart.min
- jquery.countTo
- jquery.magnificpopup.min
- animate.css
- gmaps
- infinitescroll.min
- select2
jquery.appear
This plugin call function when element appear in viewport. This is used in custom animation, progress bars, counter timer.
Documentation: https://github.com/bas2k/jquery.appear/
1 2 3 4 5 6 7 8 9 10 11 12 13 |
if (jQuery().appear) { if (device.mobile()) { // disable animation on mobile jQuery("body").removeClass("withAnimation"); } else { jQuery('.withAnimation .animated').appear(function () { jQuery(this).each(function () { jQuery(this).addClass('activate'); jQuery(this).addClass($(this).data('fx')); }); }, {accY: -150}); } } |
Was this article helpful ?
Installation and activation
Installation via Administration Panel
When {Plugin} files are downloaded from your CodeCanyon account. You can start installation using WordPress administration panel.
Once you logged into your administration panel go to Plugins > Add New
Then choose Upload plugin:
Click Select a file and select ct-location.zip:
And initialize installation via Install Now.
Installation via FTP
- Step 1 – Unarchive {plugin} file
- Step 2 – Access your host web server using FTP client
- Step 3 – Find directory wp-content > plugins
- Step 4 – Put folder ct-size-guide in directory wp-content > plugins
Was this article helpful ?
Creating a new map
You can display your map anywhere on the page by using a shortcode [ctlocation]. If you don’t define any map parammeters it will come with the defaults:
- ROADMAP style,
- width 100%,
- height 400px
- 3rd level of zoom,
- StreetView active
- centered on the city
Feel free to change any of the map parameters via shortcode attributes:
- MAPWIDTH
Example:1[ctlocation mapwidth="70%"] - MAPHEIGHT
Example:1[ctlocation mapheight="800px"] - CENTER
Example:1[ctlocation center="lat_value, lng_value"] - ZOOM
Example:1[ctlocation zoom="10"] - CAT
Example:1[ctlocation cat="europe"] - TAGS
Example:1[ctlocation tags="creative"] - STREETVIEW
Example:1[ctlocation streetview="true"] - STREETVIEWNOW
Example:1[ctlocation streetview="true"] - TRAFFICLAYER
Example:1[ctlocation trafficlayer="true"] - MAPTYPE
Example:1[ctlocation maptype="Hybrid"] - GROUNDOVERLAY
Example:1[ctlocation groundoverlay="Image_URL, NE_Lat, NE_Lng, SW_Lat, SW_Lng]
All of these values are required. - POLYLINE
Example:1[ctlocation polyline="Line_Color, Line_Visibility, Line_Largeness, 1_Lat, 1_Lng, 2_Lat, 2_Lng, ...."] - POLYGON
Example:1[ctlocation polylgon="Border_Color, Border_Visibility, Border_Largeness, Fill_Color, Fill_Visibility, 1_Lat, 1_Lng, 2_Lat, 2_Lng, 3_Lat, 3_Lng...."] - ROUTE
Example:1[ctlocation route="Start_location; Final_location"]
IMPORTANT! Note that locations are separated with semicolon (” ; “), not with comma!
Notice:
Locations are separated with semicolon (” ; “), not with comma!
Was this article helpful ?
Adding markers
You finally have a map, but how to point something?
It is very simple. What you have to do is clicking on Location > Add new Location.
Was this article helpful ?
Address, Latitutde & Longitude
Obviously, you should write an address (1) or Latitude (2.1) & Longitude (2.2) values. You could set your location by clicking Get My Location button (3).
Was this article helpful ?
Categories & Tags
To display your marker it is required to attribute it to categories and tags.
You can choose Category (1) from All Location Categories (1.1) or add New Location Category (1.2 & 1.3). Tags (2) are similar to categories. Add new Location Tag (2.1) or choose one of most used tags (2.3). Attributted tags are under most used ones.
You can manage categories and tags in Location submenu.
Was this article helpful ?
Marker icons
If you want to change default icon (1), which is automaticly added, to custom icon, go to Marker Icon at the bottom and click on Add New Marker Icon button (2).
If you have some images in Media Library and you want to use one of them go to Media Library (1), then select your image (2). You can resize your image by clicking Edit Image (3). After that click Add to gallery (4). Notice: You can select more than one image at once.
You can also upload icon image directly from your computer via Upload Files tab.
We recommend to use maximum 60x60px images for icons, without background.
Was this article helpful ?
Pop Ups
You can add default or custom pop up to your Marker. How?
If you want the default pop up made by google just write your text (1) and mark Simple Pop Up option (default).
Shortcode example:
Result:
You can put HTML instead of text. It will be rendered inside of your Pop Up
Shortcode example:
Result:
When you mark Custom Pop Up (1) option you will have whole panel to customize your Pop Up.
Here you have an example with default values:
– Pop Up width (2) (in pixels or “auto”)
– Pop Up height (3) (in pixels or “auto”)
– Pop Up Border Type (4) (None, Solid, Double, Ridge, Inset, Outset)
– Pop Up Border Radius (5) (up to 30px)
– Pop Up Visibility (6) (between 0 and 1)
– As a Pop Up Background you can choose a color (7) or an image (8)
To set background color (it’t a default option), click on Select Color:
Then select a color (1) and press Current Color button (2):
If you want to use image as a background select Pop Up Background
Select image in the same way you choose Marker Icon. The only difference is you can select only one image. After Adding to gallery you will have miniature of original image.
Examples of usage:
Custom Pop Up with text
Custom Pop Up with image
Custom Pop Up with text and image
Notice:
If you don’t want to use Pop up option – don’t modify Post Editor fields and don’t select Simple Pop Up options.
Was this article helpful ?
Text options
In Test you can use Excerpt text option, which can be displayed on Blog Index page as every post introduction.
To display your blog post like above please navigate to Appearance > Theme Options – Posts and in Index tab select the following options:
- Post excerpt – Show
- Full text – Hide
Additionally you need to mark which part of your post should be an excerpt. You can did it with more divider. Just put the following code after your excerpt:
1 |
<!--more--> |
Was this article helpful ?
Theme Installation
1. Open index.html in {Theme Path} folder with your text editor (Example: Notepad++, Sublime Text, Php Storm or Etc)
2. Copy all HTML content from index.html file
3. Open your browser and go to the http://tumblr.com page. If you are registered please login into your Tumblr Dashboard
4. Please click on the Gear Icon at right top of the site
5. Click on the Edit HTML button, like this:
6. Next, paste the HTML code into Tumblr theme editor like below:
7. Finally, please click to the Update Preview button and save
Was this article helpful ?
Mobile View
Theme has default mobile layout. In our project we have own mobile design, so now you need to disable standard mobile layout. To do this, please click Advanced Options in the bottom of the side like below:
2. Click or disable use optimized mobile layout like below:
3. Finally, please click Save button. Now you have ou own mobile layout.
Was this article helpful ?
Theme Options
1. After installing the theme you are able to add a text description to the options. Now the text fields are empty. To change it, please scroll down on the tumblr theme page and fill the Header Title to your own header name. This text will be displayed on the page like below:
2. Next, please add the text to the Header description. This text will be displayed on the right side of the main header like in the picture below:
3. Next, please add the text to the Blog Username. This text is needed for the name of the author. This text field will be displayed on the post single page. When it’s done add some text to the Author Description text field. The both fields are described below:
4. Next things what you have to do is to add a name of the disqus component. OrlandoThumblrThemeworks with Disqus. So if you would like to have a comments like this on your page please fill the Disqus Shortname on the theme options menu. When it’s done you should see disqus panel in your single post page like below:
5. In the top of the administrative panel in tumblr you have an option like Avatar. Click on the option and choose the author image that you want to see on the page. It should be small picture with the image of author’s blog. Then please choose good name for the blog in component like below:
This text will be displayed on the sidebar at the top of the page.
6. The most important things is to set the options how many post should be displayed on the page. For do this, please go to Advanced Options on the bottom of the page and set Posts per page for 6. For now you have 6 posts on the every page. You can change it. How many posts should be displayed is depend from you. The options Open links in new window should be dsplayed.
7. In Theme options on the edit theme panel you have options like Logo. If you don’t want to have logo like in our theme please chosse the another logo.
8. OrlandoThumblrThemehas a list of components / options that you can use. The list of available options is on the picture :
9. As you can see above, our theme let to the user to modyfy the theme. Our theme has 3 types of blog. So to enable the one of them, please go to the panel and choose for example Header type 1. You should see the header like below:
If you would like to have Header type 2, just click it. The image of the header on the picture:
If you would like to have Hedaer type 3, click it. The image below:
In components you can choose different options of the header. You can set the size of the header, header shaddow.
10. The list of components has options like : Video Header, Parallax Header, KenBurns Header. So instead of the normal header you can use it of them. The effect of the header are displayed on the bottom:
– Video Header
– Parallax Header
– KenBurns Header
11. If it’s works you can go to the menu options. In our theme we have a lot of menu options. You can choose a size of the menu, type of the menu, position and set menu as transparent menu. Just choose for example:
Menu size -> Small
Menu type -> Fixed
Menu position -> Right
Menu transparent -> disabled
The picture will be helpful, if you don’t know how to do it:
12. In our theme we have a 3 types of effects like below:
To activate one of them please click to enable. For example to show how it works use Show Slider effect. The effects are only displayed on the main page with post. Then make sure that you have acticate the options like here :
Thanks to thhis options in post single page you will see information about author and social section where you are be able to share on facebook or twitter.
If you are here,be happy , you already did everything to install our theme on you tumblr blog. Below i will describe the one of the most importang things needed to work with our theme.
13. If you are seeing the options:
Please make sure that you have the same view on your computer. Like you can see, light version is already enabled. Thanks to do this, you will have a light version of theme. So everything will be done in light colors on the main page. If you decide to use dark version please make sure that you have the view like below:
The user can not use the both version in the same time. So decide which version you want to use right now.
14. Next, you need to choose a type of blog. Our theme has 4 types of blog like below:
Please click to the version that you want to use. In the exaple above Layout Default is choosen. If you want to change it, just disable Layout Default and choose another. Now you can open a browser and enter address of you theme. The posts will be displayed if you added before. The main page is ready. So, enjoy with your nice Tumblr theme !
Was this article helpful ?
Custom Pages
If you want to make a custom pages, please follow this tutorial:
1. Please stay to your custom theme menu, and scroll down until very bottom of the menu. You should see the Add a page menu.
2. Enter the details you need for your new page. In our theme we have a following list of custom pages:
– page-blank
– maintenance-page
– our-office
– contact-us
– about-us
– services
– media-sections
3. If you want to have a following list of custom pages like above, just follow instructions. Here is an example how to add a page-blank to the our theme:
4. The content of the custom page is from page blank file. You will find this file in /OrlandoThumblrTheme/lightfolder or in /OrlandoThumblrTheme/dark folder. It’s depend of the user. If ther user want to have light version so please choose light, if not please choose different.
5. After that, click Update Preview and Click Save buton
6. Finally, the Custom Page will be displayed when you go to the menu and select Pages -> Page Blank. To add next custom pages you have to do the same like with Page Blank.
Was this article helpful ?
Icons and Animate CSS
1. Icons
We’ve included 360+ font icons. Awesome Icons – http://fontawesome.io/icons/
HTML markup:
The example of icons below:
2. Animations with Posts
In our theme we have a lot of options displaying the posts. You can select one options from the list below:
This effect works with Default and Secundary types of blog. Below is the list of effect that you can add to the tumblr theme:
Was this article helpful ?
Javascript
1. Javascript library and files
In main.js file we implement all functions calls.
This theme uses following Javascript files:
– Bootstrap v 3 framework (powerful front-end framework for faster and easier web development)
– jQuery v1.10.2 (A fast javascript library that Foodtruckifies how to traverse HTML documents, handle events, perform animations.)
– jQuery FlexSlider v2.2.0
– GMAP3 Plugin for JQuery v. 5.1.1
– jQuery.appear
– jQuery Stellar
– Modernizr 2.0.6
– PageScroller
– Snap.js
– Device.js 0.1.58
– Chart.js
2. Google Map (GMAP3 Plugin)
This is google map with custom marker, you can define couple parameters:
1. data-location – address to show
2. data-height – map height (if undefined height will be 220px)
3. data-offset – by how many map should be repositioned from marker center point (default -30)
HTML Markup:
3. Jquery.appear
This plugin call function when element appear in viewport. This is used in custom animation, progress bars, counter timer.
4. Charts
This plugin is used to make graphics. Documentation: http://www.chartjs.org/
Was this article helpful ?
Contact Form
The contact form was made using on-line contact form builder. The documentation is here :
http://www.jotform.com/myforms
The project has two different version of contact form. One of them is for light version, the second is for dark.
Was this article helpful ?
Sources & Credits
The following sources and files have been used to build up this theme
Twitter Bootstrap – http://twitter.github.com/bootstrap/
jQuery – http://www.jquery.com
Was this article helpful ?
Navbar
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
<nav class="navbar navbar-default ct-navbar--type1"> <div class="navbar-header"> <a href="index.html"> <img id="ct-navbar--logoDark" src="../assets/images/demo-content/fancylogo.png" alt="JuGas"> <img id="ct-navbar--logoWhite" src="../assets/images/demo-content/fancylogo2.png" alt="JuGas"> </a> </div> <div class="container-fluid"> <ul class="nav navbar-nav yamm ct-navbar--fadeIn"> <!-- =========================== --> <li class="active"><a href="index.html">Home</a></li> <!-- =========================== --> <li><a href="about.html">About</a></li> <!-- =========================== --> <li class="dropdown"><a class="dropdown-toggle" href="single-work-floading.html">Works</a> <ul class="dropdown-menu"> <li> <div class="yamm-content"> <div class="row"> <div class="col-sm-12"> <h5 class="ct-dropdownHeader">Works</h5> <ul class="list-unstyled"> <li><a href="single-work-floading.html">Single Work - Floading</a></li> <li><a href="single-work-standard.html">Single-work - Standard</a></li> <li><a href="single-work-video.html">Single Work - Video</a></li> </ul> </div> </div> </div> </li> </ul> </li> <!-- =========================== --> <li><a href="boxed.html">Boxed</a></li> <li><a href="contact.html">Contact</a></li> <li> <a class="ct-js-navSearch ct-navbar-navSearch" href="#"> <i class="fa fa-search"></i> </a> </li> </ul> <div class="ct-navbar-search"> <form role="form"> <div class="form-group ct-input--type2"> <input id="search" required="" type="text" name="field[]" class="form-control"> <label for="search"><span>Search</span></label> <button class="ct-navbar-search-button" type="submit"> <i class="fa fa-search fa-fw"></i> </button> </div> </form> </div> </div> </nav> |
Was this article helpful ?
Section header
HTML markup:
1 2 3 4 5 6 |
<div class="ct-sectionHeader ct-sectionHeader--left"> <div class="container"> <h5 class="ct-u-hr ct-u-hr--left ct-sectionHeader-title ct-u-marginBottom10">Who we are ?</h5> <h3 class="ct-sectionHeader-subtitle ct-u-marginBoth0">About Us</h3> </div> </div> |
Was this article helpful ?
Media sections
Parallax Section
HTML markup:
1 2 3 4 5 6 7 |
<div class="ct-mediaSection" data-height="575" data-type="parallax" data-stellar-background-ratio="0.3" data-bg-image="../../assets/images/demo-content/Intro-04.jpg" data-bg-image-mobile="../../assets/images/demo-content/Intro-04.jpg"> <div class="ct-mediaSection-inner text-center ct-u-colorWhite"> <h3 class="ct-u-colorWhite">Media Section with Parallax Effect</h3> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Proin nibh augue, suscipit a, scelerisque sed, lacinia in, mi. Cras vel lorem.</p> </div> </div> |
Pattern Section:
HTML markup:
1 2 3 4 5 6 7 |
<div class="ct-mediaSection" data-height="575" data-type="pattern" data-bg-image="../../assets/images/demo-content/slide-lg-02.jpg" data-bg-image-mobile="../../assets/images/demo-content/slide-lg-02.jpg"> <div class="ct-mediaSection-inner text-center ct-u-colorWhite"> <h3 class="ct-u-colorWhite">Media Section with Static Image</h3> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Proin nibh augue, suscipit a, scelerisque sed, lacinia in, mi. Cras vel lorem.</p> </div> </div> |
Ken Burns Section:
HTML markup:
1 2 3 4 5 6 7 8 9 10 |
<div class="ct-mediaSection" data-height="575" data-type="kenburns" data-bg-image="../../assets/images/demo-content/Intro-02.jpg" data-bg-image-mobile="../../assets/images/demo-content/Intro-02.jpg"> <div class="ct-mediaSection-kenburnsImageContainer"> <img src="../../assets/images/demo-content/Intro-02.jpg"> </div> <div class="ct-mediaSection-inner text-center ct-u-colorWhite"> <h3 class="ct-u-colorWhite">Media Section with Ken Burns Effect</h3> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Proin nibh augue, suscipit a, scelerisque sed, lacinia in, mi. Cras vel lorem.</p> </div> </div> |
Video Section
:
Html markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
<div class="ct-mediaSection" data-height="575" data-type="video" data-bg-image-mobile="../assets/images/demo-content/section-01.jpg"> <div class="ct-mediaSection-video embed-responsive embed-responsive-16by9"> <video muted loop autoplay="autoplay" preload="auto"> <source src='../../assets/videos/state_fair.mp4' type='video/mp4'/> </video> </div> <div class="ct-u-displayTable"> <div class="ct-mediaSection-inner text-center ct-u-colorWhite"> <h3 class="ct-u-colorWhite">Media Section with Video Background</h3> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Proin nibh augue, suscipit a, scelerisque sed, lacinia in, mi. Cras vel lorem.</p> </div> </div> </div> |
Was this article helpful ?
Text box
HTML markup:
1 2 3 4 5 |
<div class="ct-textBox"> <h5 class="ct-u-hr ct-u-hr--left"><small>First</small></h5> <h3 class="ct-iconBox-header"><small>Ideas</small></h3> <p>A small river named Duden flows by their place and supplies it with the necessary regelia.</p> </div> |
Was this article helpful ?
Icon Box
Use one of our icon boxes with the following HTML markup – you can change box type with type class:
1 2 3 4 5 |
<div class="ct-iconBox--type1"> <div class="ct-iconBox-icon ct-u-hr ct-u-hr--mid"><i class="fa fa-truck"></i></div> <h4 class="ct-iconBox-header">Retina Ready Icons</h4> <p>A small river named Duden flows by their place and supplies it with the necessary regelialia.</p> </div> |
Was this article helpful ?
Person box
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
<div class="ct-personBox"> <div class="ct-personBox-img"> <img src="../assets/images/demo-content/personBox-01.jpg" alt=""> <div class="ct-personBox-hover"> <div class="ct-personBox-quote"><p>"Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean."</p></div> </div> </div> <div class="ct-personBox-title"> <h5>Joe McGrow<small>Graphic Designer</small></h5> <div class="ct-personBox-hover"> <div class="ct-socials--type4"> <a href="https://www.facebook.com/createITpl"><i class="fa fa-facebook-square"></i></a> <a href="https://twitter.com/createitpl"><i class="fa fa-twitter-square"></i></a> <a href="#"><i class="fa fa-vimeo-square"></i></a> </div> </div> </div> </div> |
Was this article helpful ?
Slider
Remember to include the following scripts if you want to use Owlcarousel:
1 2 |
<script src="../assets/js/owl/owl.carousel.min.js"></script> <script src="../assets/js/owl/init.js"></script> |
Please check carousel documentation here
Was this article helpful ?
Socials
HTML markup:
1 2 3 4 5 6 |
<ul class="ct-socials ct-socials--type1 ct-u-paddingBoth20"> <li><a href="https://twitter.com/createitpl"><i class="fa fa-twitter-square"></i></a></li> <li><a href="https://www.facebook.com/createITpl"><i class="fa fa-facebook-square"></i></a></li> <li><a href="#"><i class="fa fa-vimeo-square"></i></a></li> <li><a href="#"><i class="fa fa-youtube"></i></a></li> </ul> |
HTML markup:
1 2 3 4 5 6 |
<ul class="ct-socials ct-socials--type2 ct-u-paddingBoth20"> <li><a href="https://twitter.com/createitpl"><i class="fa fa-twitter-square"></i></a></li> <li><a href="https://www.facebook.com/createITpl"><i class="fa fa-facebook-square"></i></a></li> <li><a href="#"><i class="fa fa-vimeo-square"></i></a></li> <li><a href="#"><i class="fa fa-youtube"></i></a></li> </ul> |
1 2 3 4 5 6 |
<ul class="ct-socials ct-socials--type3 ct-u-paddingBoth20"> <li><a href="https://twitter.com/createitpl"><i class="fa fa-twitter-square"></i></a></li> <li><a href="https://www.facebook.com/createITpl"><i class="fa fa-facebook-square"></i></a></li> <li><a href="#"><i class="fa fa-vimeo-square"></i></a></li> <li><a href="#"><i class="fa fa-youtube"></i></a></li> </ul> |
Was this article helpful ?
Footer
You can easily use one of two predefined footer’s types.
Footer
HTML markup:
1 2 3 4 5 6 7 8 9 |
<footer class="ct-footer ct-u-paddingTop30"> <ul class="ct-socials ct-socials--type3 ct-u-paddingBoth20"> <li><a href="https://twitter.com/createitpl"><i class="fa fa-twitter-square"></i></a></li> <li><a href="https://www.facebook.com/createITpl"><i class="fa fa-facebook-square"></i></a></li> <li><a href="#"><i class="fa fa-vimeo-square"></i></a></li> <li><a href="#"><i class="fa fa-youtube"></i></a></li> </ul> <p class="ct-u-colorDarkerGray text-center ct-u-paddingBottom30">COPYRIGHT © <a class="ct-u-colorDarkerGray" href="http://outsourcing.createit.pl/">createIT</a> 2014</p> </footer> |
Large Footer
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
<footer class="ct-footer"> <div class="container"> <div class="row"> <div class="col-md-4 col-sm-12"> <div class="ct-footer-about"> <img src="../assets/images/demo-content/logo2.png" alt=""> <p class="ct-u-hr ct-u-hr--left">A small river named Duden flows by their place and supplies it with the necessary regelialia. Their place and supplies it with the. Duden flows by their place and supplies it with the necessary regelialia. Their place and supplies it.</p> <ul class="list-unstyled ct-list ct-list--big"> <li><i class="fa fa-map-marker"></i><span>No.200 Joseph Road, Canada</span></li> <li><i class="fa fa-mobile"></i><span>+44 (0) 800 765 4321</span></li> <li><a href="#"><i class="fa fa-envelope-o"></i><span>info@Rainbow Dash.com</span></a></li> </ul> </div> </div> <div class="col-md-4 col-sm-6"> <div class="ct-footer-lists"> <h4><small>About this theme</small></h4> <ul class="list-unstyled ct-list ct-u-hr ct-u-hr--left"> <li><a href="#">Company Analysis</a></li> <li><a href="#">Strategy Planning</a></li> <li><a href="#">Brand Creation</a></li> <li><a href="#">Video Production</a></li> </ul> <h4><small>Shortcode Options</small></h4> <ul class="list-unstyled ct-list"> <li><a href="#">Company Analysis</a></li> <li><a href="#">Strategy Planning</a></li> <li><a href="#">Brand Creation</a></li> <li><a href="#">Video Production</a></li> </ul> </div> </div> <div class="col-md-4 col-sm-6"> <div class="ct-footer-contact"> <h4><small>Contact Us</small></h4> <p>A small river named Duden flows by their place and supplies it with the necessary regelialia.</p> <div class="form-group ct-input--type2"> <input id="contact_name" required="" type="email" class="form-control"> <label for="contact_name"><span>Name</span></label> </div> <div class="form-group ct-input--type2"> <input id="contact_email" required="" type="email" class="form-control"> <label for="contact_email"><span>Email</span></label> </div> <div class="form-group ct-input--type2"> <textarea id="contact_message" required="" rows="4" class="form-control"></textarea> <label for="contact_message"><span>Message</span></label> </div> <div class="clearfix visible"></div> <a href="#" class="btn btn-default"><span>Send</span></a> <div class="clearfix"></div> </div> </div> </div> </div> <div class="ct-footer-copyright"> COPYRIGHT © <a href="http://outsourcing.createit.pl/">createIT</a> 2014 </div> </footer> |
Was this article helpful ?
Testimonial
Add your clients’ testimonials with simple HTML markup:
1 2 3 4 5 6 7 |
<div class="ct-testimonials"> <h6>Love Works</h6> <a href="#" class="ct-testimonials-image"><img src="../assets/images/demo-content/person-01.png" alt=""></a> <p class="ct-u-hr ct-u-hr--wide">"Founded in 2013, sisters Liz, Megan and Jess set out to produce a functional, beautiful diaper bag. As Leader, we designed backpack to reprezent us both as mothers and as leaders: thoughtful, confident and inspired. "</p> <h3>Mr. Frankie<small>(New York, USA)</small></h3> </div> |
Was this article helpful ?
Portfolio
HTML markup:
1 2 3 4 5 |
<div class="container-fluid"> <div id="ct-gallery" class="ct-gallery ct-gallery--col4 ct-js-magnificPortfolioPopupGroup"> ... </div> </div> |
HTML markup for Single Item:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
<div class="ct-gallery-item ct-gallery-item--masonry ct-gallery-item--default hidden ct-gallery-item--normal webdesign"> <div class="ct-gallery-itemInner"> <a class="ct-js-magnificPopupImage" href="../assets/images/demo-content/portfolio-03.jpg" title="Berlin Songs Festival"> <figure class="ct-hover ct-js-hover ct-hover--type10"> <img src="../assets/images/demo-content/portfolio-03.jpg" alt=""> <figcaption> <div class="ct-hover-inner"> <div class="ct-hover-text"> <h4 class="ct-hover-header">Berlin Songs Festival</h4> <div class="ct-u-hr ct-u-hr--mid"></div> <p>Design / Photography</p> </div> </div> </figcaption> </figure> </a> </div> </div> |
Required scripts:
1 2 3 4 5 6 7 |
<script src="../assets/js/magnific-popup/jquery.magnific-popup.min.js"></script> <script src="../assets/js/magnific-popup/init.js"></script> <script src="../assets/js/portfolio/jquery.isotope.min.js"></script> <script src="../assets/js/portfolio/imagesloaded.js"></script> <script src="../assets/js/portfolio/infinitescroll.min.js"></script> <script src="../assets/js/portfolio/init.js"></script> |
Was this article helpful ?
Progress Bar
HTML markup:
1 2 3 4 5 6 7 8 |
<div class="ct-progressBar"> <div class="ct-progressBar-name">HTML/CSS</div> <div class="progress progress-motive"> <div class="progress-bar" role="progressbar" aria-valuenow="98" aria-valuemin="0" aria-valuemax="100"> <div class="ct-progressBar-tr"></div> </div> </div> </div> |
Remember to include also the following script:
1 |
<script src="../../assets/js/progressbars/init.js"></script> |
Was this article helpful ?
Overflow Container
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
<div class="ct-sectionOverflow"> <div class="ct-sectionOverflow-content"> <div class="container"> <div class="row"> <div class="col-md-3 col-sm-5"> <div class="ct-sectionOverflow-image ct-sectionOverflow-image--left"> <img src="../assets/images/demo-content/Image-01.jpg"> </div> </div> <div class="col-md-9 col-sm-7"> ... </div> </div> </div> </div> </div> |
Was this article helpful ?
Buttons
There are two available button types. Use appropriate HTML markup to add buttons to your page:
1 |
<a href="#" class="btn btn-default"><i class="fa fa-envelope-o"></i><span>Send</span></a> |
1 |
<a href="#" class="btn btn-inverse ct-hover--icon-replace-left"><i class="fa fa-long-arrow-right"></i><span>View More</span></a> |
Was this article helpful ?
Forms
Add the following HTML to create awesome animated forms:
1 2 3 4 |
<div class="form-group ct-input--type1"> <input id="contact_name" required="" type="email" class="form-control"> <label for="contact_name"><span>Name</span></label> </div> |
Notice, that you must also include the following script on page, where you are using forms:
1 |
<script src="../../assets/plugins/input-effects/input-effects.js"></script> |
Was this article helpful ?
Blog
Display your blog posts anywhere you want to with simple HTML markup:
1 2 3 4 5 6 7 8 9 10 |
<div class="ct-articleBox"> <a class="ct-js-magnificPopupImage" href="../assets/images/demo-content/article-02.jpg"> <div class="ct-articleBox-media ct-articleBox-media--image"><img src="../assets/images/demo-content/article-02.jpg" alt=""></div> </a> <div class="ct-articleBox-content"> <a href="#"><h4 class="ct-articleBox-header ct-u-hr ct-u-hr--left"><small>Ideas</small></h4></a> <p class="ct-articleBox-text">A small river named Duden flows by their place and supplies it with the necessary regelialia. Their place and supplies it with the...</p> <p class="ct-articleBox-autor">by Big Macintosh / 11th January 2015</p> </div> </div> |
Was this article helpful ?
Graphs
Line chart
HTML markup:
1 |
<canvas id="linechart" height="450" width="600"></canvas> |
Javascript code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
<script> var randomScalingFactor = function () { return Math.round(Math.random() * 100) }; var lineChartData = { labels: ["January", "February", "March", "April", "May", "June", "July"], datasets: [ { label: "My First dataset", fillColor: "#555", strokeColor: "#333", highlightFill: "#222", highlightStroke: "#111", pointColor: "rgba(220,220,220,1)", pointStrokeColor: "#fff", pointHighlightFill: "#fff", pointHighlightStroke: "rgba(220,220,220,1)", data: [randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor()] }, { label: "My Second dataset", fillColor: "rgba(240,173,78,0.2)", strokeColor: "rgba(222,157,63,1)", pointColor: "rgba(151,187,205,1)", pointStrokeColor: "#fff", pointHighlightFill: "#fff", pointHighlightStroke: "rgba(151,187,205,1)", data: [randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor()] } ] } window.onload = function () { var ctx2 = document.getElementById("linechart").getContext("2d"); window.myLine = new Chart(ctx2).Line(lineChartData, { responsive: true }); } </script> |
Pie chart
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
<div class="ct-graphBox ct-graphBox--default"> <div class="ct-graphBox-graph"> <canvas width="150" height="150" class="ct-js-pieChart" data-ct-percentage="80" data-ct-middleSpace="85" data-ct-secondColor="#222222" data-ct-firstColor="yellowgreen"></canvas> <span class="ct-graphBox-graphPercentage">80%</span> </div> <div class="ct-graphBox-content"> <h4 class="ct-graphBox-title text-lowercase ct-fw-600"> Frontend development </h4> <p> Lorem ipsum dolor sit amet, consecte adipiscing elit. Suspendisse condimentum porttitor cursumus. Duis nec nulla turpis. Nulla lacinia laoreet odio </p> </div> </div> |
Bar chart
HTML markup:
1 |
<canvas id="barchart" height="450" width="600"></canvas> |
Javascript code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
<script> var randomScalingFactor = function () { return Math.round(Math.random() * 100) }; var barChartData = { labels: ["January", "February", "March", "April", "May", "June", "July"], datasets: [ { fillColor: "#e6ae48", strokeColor: "#e6ae48", highlightFill: "#f5af2f", highlightStroke: "#f5af2f", data: [randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor()] }, { fillColor: "#555", strokeColor: "#555", highlightFill: "#333", highlightStroke: "#333", data: [randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor()] } ] }; window.onload = function () { var ctx1 = document.getElementById("barchart").getContext("2d"); window.myBar = new Chart(ctx1).Bar(barChartData, { responsive: true }); } </script> |
Notice:
To use any type of the chart you must also include the following scripts:
1 2 |
<script src="../../assets/js/charts/Chart.min.js"></script> <script src="../../assets/js/charts/init.js"></script> |
Was this article helpful ?
Table
Standard Table HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
<table class="table"> <thead> <tr> <th>#</th> <th>First Name</th> <th>Last Name</th> <th>Username</th> </tr> </thead> <tbody> <tr> <td>1</td> <td>Mark</td> <td>Otto</td> <td>@mdo</td> </tr> <tr> <td>2</td> <td>Jacob</td> <td>Thornton</td> <td>@fat</td> </tr> <tr> <td>3</td> <td>Larry</td> <td>the Bird</td> <td>@twitter</td> </tr> </tbody> </table> |
Was this article helpful ?
Counter
Add awesome counters with simple HTML markup:
1 2 3 4 |
<div class="ct-iconBox--type7"> <div class="ct-iconBox-icon ct-u-hr ct-u-hr--mid"><i class="fa fa-plane"></i></div> <p class="ct-iconBox-counter"><span class="ct-js-counter" data-ct-to="440" data-ct-speed="5000">0></span><small> / Pizzas</small></p> </div> |
Was this article helpful ?
Accordion
Add accordion anywhere you want with simple HTML code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
<div class="panel-group" id="accordion"> <div class="panel panel-gray"> <div class="panel-heading"> <div class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne" class=""> Quality </a> </div> </div> <div id="collapseOne" class="panel-collapse collapse in"> <div class="panel-body"> ... </div> </div> </div> <div class="panel panel-gray"> <div class="panel-heading"> <div class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" class="collapsed"> Promises </a> </div> </div> <div id="collapseTwo" class="panel-collapse collapse"> <div class="panel-body"> ... </div> </div> </div> <div class="panel panel-gray"> <div class="panel-heading"> <div class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseThree" class="collapsed"> Goals </a> </div> </div> <div id="collapseThree" class="panel-collapse collapse"> <div class="panel-body"> ... </div> </div> </div> </div> |
Was this article helpful ?
Progress icons
Add animated progress icons with simple HTML markup:
1 2 |
<div class="progress-icons" data-font-size="25" data-icon-color="#f0ad4e" data-active="11" data-total="22" data-icon="fa-plug" data-delay="250"></div> |
and the following script:
1 |
<script src="../../assets/js/progressicons/init.js"></script> |
Was this article helpful ?
Call to action
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<div class="ct-callToActionSection"> <div class="container"> <div class="row"> <div class="col-sm-9"> <h4 class="ct-iconBox-header ct-u-hr ct-u-hr--left">Want a quick start ?</h4> <p>Our company is specialized in consulting, developing and expanding businesses and large enterprises.</p> </div> <div class="col-sm-3 ct-u-paddingBoth50"> <a href="#" class="btn btn-inverse ct-hover--icon-replace-left"><i class="fa fa-long-arrow-right"></i><span>View More</span></a> </div> </div> </div> </div> |
Was this article helpful ?
Pricing box
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
<div class="ct-pricingBox"> <h6 class="ct-pricingBox-header ct-u-hr ct-u-hr--mid">Basic</h6> <span class="ct-pricingBox-number">10</span> <ul class="list-unstyled ct-list--italic"> <li>Full Access</li> <li>Unlimited Pizza</li> <li>Free Beers</li> <li>2 Fre Froks Every Month</li> </ul> <ul class="ct-pricingBox-rating ct-pricingBox-rating--hidden"> <li><i class="fa fa-star"></i></li> <li><i class="fa fa-star"></i></li> <li><i class="fa fa-star"></i></li> </ul> <a class="btn btn-motive"><span>Buy Now</span></a> </div> |
Was this article helpful ?
Waitlist for WooCommerce – Back In Stock Notifier
Waitlist for WooCommerce – Back In Stock Notifier is a plugin, which allows your customers to get notification about items, which are back available in stock.
Was this article helpful ?
Plugin Settings
Plugin comes with number of options, which you can modify under Waitlist section in your admin menu.
Under Plugin Settings, you will find the following:
Public facilities
- Subscribe button text – text to be displayed on plugins button on the front page under plugin’s subscribe message.
- Subscribe message – text to be displayed under woocommerce availability message.
- Product already subsribed – text to be displayed instead to subscribe button if user is logged in and already subscribed specific item.
- Variation already subscribed – same option but for product variation
- Simple product out of stock – overwrites woocommerce product out of stock message
- Variable product out of stock – overwrites woocommerce variable product out of stock message
- Waitlist simple product subscription success – text displayed when user successfuly fullfills email input(if logged in input won’t be displayed) and click subscribe button.
- Waitlist variation subscription success – text displayed when user successfuly fullfills email input(if logged in input won’t be displayed) and click subscribe button.
- User email box text – text to be displayed in email input as placeholder
- Waitlist style
- Show subscribers count (New!)
- Show count even if no one subscribed (New!)
- Sunscriber info singular ( use $count$ placeholder ) (New!)
- Subscribers info plural ( use $count$ placeholder ) (New!)
- Use custom CSS style
- Custom CSS

Plugin Settings
Subscription removing options
- Select waitlist un-subscribe page – select for choosing on which page should or not be displayed form for removing user from Waitlist Database. (Disabled, MyAccount, Product Page, both)
- Unsubscribe button text – text to be displayed on button displayed on page choosen by “Select waitlist un-subscribe page” option.
- Removed from waitlist – text to be displayed after successfull user’s remove from waitlist.
- Minimum stock amount to send “item is back” message – waitlist email is not sent if on stock returns less than this value
- Enable plugin data to shop manager – decidesif shop manager can view and manage plugin data
- Remove data on plugin deletion – removes all options from WP database on plugin deletion
- Display waitlist data on WooCommerce product page edit – determines if option for disabling subcription for specific item and overall amount of subscriptions for specific item should be displayed when editing WooCommerce product inventory
- Enable postponing emails option in product edit page – adding new option to product inventory page – this option will let you delay send Back In Stock message. You can view or edit queue to adjust and decide who to send email or when to do it.
Was this article helpful ?
Email Settings
- Use custom from data – determines if plugin should use WooCommerce “from” data or custom data provided by user. This is used for emails displayed in email “from” cell. By default its sender’s email + name.
- Back in stock email topic and body – content of email sent when item returns on stock.
- Send subscription success – enabling/disabling sending email right after subscriber made subscription
- Subscription success email topic and body – content of email sent right after subscriber made subscription
Advanced Email Options
You can use following placeholders to full cusomize your email sent by Waitlist. Plugin will replace it with correct data.
Full list of available placeholders:
- $productName$
- $price$
- $siteTitle$
- $stockAmount$
- $productPage$
- $thumbnail$
- $variation$
- $userEmail$
Admin Email Options
- Send admin notification email on new subscription: enable/disable email to admin when new subscription has been made
- New subscription email topic and body.
- Send admin notification if subscribed item has been bought – enable/disable mail to admin when user bought subscribed item.
- Subscribed item bought email topic and body.
- Send admin notification when user is getting notified – enable/disable email to admin when user is getting notification about product back in stock.
- User notified email topic and body.
- Use woocommerce template – enable/disable use of woocommerce email template which can be previewed in link after.
- Shortcodes – replacing values between $ to proper data in emails sent to user/admin.
Was this article helpful ?
Subscription list
Subscription List is a database divided on subscribers notified and not notified about products out of stock and items mostly added to Waitlist. Displays:
- subscriber mail,
- product featured image,
- product name,
- group name,
- variation name,
- category name,
- product type (variable, simple or grouped)
- date, when it was added to waitlist.
Notified subscribers list shows also notify date (then user is notified about product back in stock) and item bought date (if user has bought subscribed item).
Most Waitlisted displays 20 items mostly added to waitlist with subsctiptions count for specific item.
You can sort data by:
- subscriber,
- product,
- group,
- variation,
- date.
Available actions:
- delete or export checked elements,
- export to .csv file.
Was this article helpful ?
Extension points
Options filter – to change specific option via wordpress add_filter hook simply use:
1 2 3 4 |
add_filter('ctWaitlist_options_ . $optionName', 'change_option'); function change_option($value){ return $value = 'New option value'; } |
Was this article helpful ?
CSS Files and Structure
If you would like to edit the color, font, or style of any elements, you would do the following:
1 |
#primaryContent a {color: #someColor;} |
If you find that your new style is not overriding, it is most likely because of a specificity problem. Scroll down in your CSS file and make sure that there isn’t a similar style that has more weight.
I.E.
1 |
#wrap #primaryContent a {color: #someColor;} |
So, to ensure that your new styles are applied, make sure that they carry enough “weight” and that there isn’t a style lower in the CSS file that is being applied after yours.
Colors
The theme includes a css file wich you can use to edit the colors.
You just need to add the corresponding CSS file to the head of the page like this:
1 2 3 4 5 |
<head> (..) <link rel="stylesheet" type="text/css" href="css/motive.css"> (..) </head> |
Icons
We’ve included 360+ font icons.
Awesome Icons – http://fontawesome.io/icons/
HTML markup:
1 2 |
<!-- Awesome Icons --> <i class="fa fa-cog"></i> |
CSS Files & Structure
We’ve included 2 files.
bootstrap.css contains Bootstrap 3 Library.
style.css file contains general styles.
1. Index v2, collections, collections list
2. Login page
3. Contact Us
4. My account
5. Wishlist Products
6. My cart
7. Checkout
8. About Us
9. Our team
10. Team Member
11. Our Services
12 Testimonials
13. FAQ
14. Pricing
15. Blog
16. Portfolio
17. Coming soon
18. Single Product
Was this article helpful ?
Javascript
All javascripts are placed in folder /js. In main.js file we implement all functions calls.
This theme uses following Javascript files:
- Bootstrap v 3 framework (powerful front-end framework for faster and easier web development),
- jQuery v1.10.2 (A fast javascript library that Foodtruckifies how to traverse HTML documents, handle events, perform animations.),
- colorselector.js – (color ring picker),
- jquery.frogaloop.min.js, jquery.stellar.min.js – ct-mediaSection – (paralax, videos),
- jquery.elevatezoom.js – elevate-zoom (zoom effects on images),
- gmap3.min.js – (google maps, contact page),
- jquery.magnific-popup.min – (images popup),
- jquery.nouislider.all.js – nouislider/ (range slider in single product),
- imagesloaded.js, jquery.isotope.min.jsportoflio/init.js – (isotope),
- select2/init.js, select2.min.js – (styling select boxes with jquery),
- spinner/init.js (styled input quantity element where we can put any value, my cart page),
- stacktable/init.js, stacktable.js – (table which change the whole content to responsive table on the mobile),
- device.min.js,
- jquery.appear.js,
- jquery.browser.min.js,
- jquery.easing.1.3.js,
- jquery.placeholder.min.js,
- modernizr.custom.js,
- snap.min.js (mobile swaping),
- plugins/headroom/init.js, headroom.js, jQuery.headroom.js (menu and topbar effects),
- owl.carousel.min.js (owl slider),
- init.js
Google Map (GMAP3 Plugin)
This is google map with custom marker, you can define couple parameters:
- data-location – address to show
- data-height – map height (if undefined height will be 220px)
- data-offset – by how many map should be repositioned from marker center point (default -30)
It uses gmap3 plugin.
Documentation: here
HTML Markup:
1 |
<div class="ct-googleMap" data-location="Narbutta 24, Warsaw" data-zoom="15" data-height="500"></div> |
All javascript code can be found in js/main.js file.
jquery.appear
This plugin call function when element appear in viewport. This is used in custom animation, progress bars, counter timer.
Documentation: https://github.com/bas2k/jquery.appear/
1 2 3 4 5 6 7 8 9 10 11 12 13 |
if (jQuery().appear) { if (device.mobile()) { // disable animation on mobile jQuery("body").removeClass("withAnimation"); } else { jQuery('.withAnimation .animated').appear(function () { jQuery(this).each(function () { jQuery(this).addClass('activate'); jQuery(this).addClass($(this).data('fx')); }); }, {accY: -150}); } } |
Was this article helpful ?
Sliders
There are three available types of sliders:
Main slider
You can use it with the following HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
<div class="ct-js-owl owl-carousel ct-mainCarousel ct-mainCarousel--arrowsMiddle" data-pagination="false" data-items="1" data-autoPlay="false" data-bg="true" data-animations="true" data-height="525" data-navigation="true"> <div class="item" data-bg="./assets/images/demo-content/slider-image.jpg"> <div class="inner"> <div class="container"> <div class="row"> <div class="col-sm-12 text-center"> <h1 class="ct-u-colorBlack"> <span class="animated" data-fx="fadeIn">Customized Diamond</span> <br> <span class="ct-u-colorWhite animated" data-fx="fadeIn" data-time="200">& Wedding Rings</span></h1> <div class="text-center ct-u-paddingTop15 ct-u-paddingBottom30"> <hr class="hr-slider animated" data-fx="fadeIn"> </div> <div class="text-center"> <a class="btn btn-blackTransparent animated" data-fx="fadeInUp" href="#" role="button">Browse Collection <i class="fa fa-angle-double-right"></i></a> </div> </div> </div> </div> <a href="#" class="ct-btn-shadowBar text-left animated" data-fx="fadeInUp"> <div class="container"> <i class="fa fa-angle-right fa-fw"></i> View all Nickelodeon Offers </div> </a> </div> </div> |
We have few variations of the arrows:
- ct-mainCarousel–arrowsTop
- ct-mainCarousel–arrowsMiddle
- ct-mainCarousel–arrowsTopRight
- ct-mainCarousel–arrowsTopLeft
- ct-mainCarousel–arrowsTopCenter
Product Slider
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
<div class="ct-js-owl owl-carousel ct-productCarousel ct-productCarousel--arrowsTop" data-single="false" data-pagination="false" data-navigation="true" data-items="4"> <div class="owl-item"> <div class="ct-productShop ct-productShop--zoom"> <div class="ct-productShop-category"> <span class="ct-productShop-h5">Rings</span> <div class="clearfix"></div> <img class="ct-js-zoomImage" src="./assets/images/demo-content/featured-item1.jpg" data-zoom-image="assets/images/demo-content/featured-item1-large.jpg" alt=""> </div> <div class="ct-productShop-content"> <div class="ct-productShop-content-description"> <a href="single-product.html"> <h3>Aaron basha 18K White Yellows Pink Enamel Flower</h3> <span><del>450.99</del> $318.00</span> </a> <span class="ct-productShop-shopCart"> <a class="btn btn-default" href="#" role="button"><i class="fa fa-shopping-cart fa-fw"></i></a> <a class="btn btn-default btn-hidden" href="#" role="button"><i class="fa fa-chain fa-fw"></i></a> </span> </div> </div> </div> </div> |
With the following variations of arrows:
- ct-productCarousel–arrowsTop
- ct-productCarousel–arrowsTopRight
PersonBox Slider
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
<div class="ct-js-owl owl-carousel text-center" data-single="false" data-pagination="false" data-autoPlay="true"> <div class="owl-item"> <div class="ct-personBox"> <a href="team-member.html"> <div class="ct-personBox-image"> <img src="assets/images/demo-content/team-member1.jpg" alt="Team Member 1"> <div class="ct-personBox-image-link"> <i class="fa fa-long-arrow-right ct-u-colorWhite"></i> </div> <div class="ct-personBox-bottomBar"></div> </div> </a> <div class="ct-u-paddingTop15 ct-u-paddingBottom10 text-left"> <ul class="ct-socials ct-socials--medium ct-socials--black ct-socials--blackBorder list-inline list-unstyled"> <li><a href="https://www.facebook.com/createITpl"><i class="fa fa-facebook"></i></a></li> <li><a href="https://twitter.com/createitpl"><i class="fa fa-twitter"></i></a> </ul> </div> <div class="ct-u-size18 ct-u-paddingBottom5 ct-personBox-name text-left"><a href="team-member.html">Margarite Jencons</a></div> <div class="ct-fs-i ct-u-size15 ct-u-colorLighterGrey text-left">Jewelry Professional</div> </div> </div> |
Remember to attach the following, required javascript files for owl slider:
12 <script src="assets/plugins/owl/owl.carousel.min.js"></script><script src="assets/plugins/owl/init.js"></script>
Was this article helpful ?
Shop Product
There are two variations of shop products.
Default Product
Variaton class:
- ct-productShop–default
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
<div class="ct-productShop ct-productShop--default"> <div class="ct-productShop-category"> <span class="ct-productShop-h5">Earrings</span> <div class="clearfix"></div> <img class="" src="./assets/images/demo-content/latest-item1.jpg" data-zoom-image="assets/images/demo-content/latest-item1-large.jpg" alt=""> </div> <div class="ct-productShop-content"> <div class="ct-productShop-content-description"> <a href="single-product.html"> <h3>Leslie Greene 18K Whiting Gold Square Aria Drop Earrings</h3> <span>$255.00</span> </a> <span class="ct-productShop-shopCart"> <a class="btn btn-default" href="#" role="button"><i class="fa fa-shopping-cart fa-fw"></i></a> <a class="btn btn-default btn-hidden" href="#" role="button"><i class="fa fa-chain fa-fw"></i></a> </span> </div> </div> </div> |
Shop product with zoom effect
Variation class:
- ct-productShop–zoom
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
<div class="ct-productShop ct-productShop--zoom"> <div class="ct-productShop-category"> <span class="ct-productShop-h5">Rings</span> <div class="clearfix"></div> <img class="ct-js-zoomImage" src="./assets/images/demo-content/featured-item1.jpg" data-zoom-image="assets/images/demo-content/featured-item1-large.jpg" alt=""> </div> <div class="ct-productShop-content"> <div class="ct-productShop-content-description"> <a href="single-product.html"> <h3>Aaron basha 18K White Yellows Pink Enamel Flower</h3> <span><del>450.99</del> $318.00</span> </a> <span class="ct-productShop-shopCart"> <a class="btn btn-default" href="#" role="button"><i class="fa fa-shopping-cart fa-fw"></i></a> <a class="btn btn-default btn-hidden" href="#" role="button"><i class="fa fa-chain fa-fw"></i></a> </span> </div> </div> </div> |
These effects are used in sliders as well.
Javasript needed for Zoom Effect on images:
123 <script src="assets/js/elevate-zoom/jquery.elevatezoom.js"></script><script src="assets/js/elevate-zoom/init.js"></script></blockquote>
Learn more:
Zoom effect docs:
www.elevateweb.co.uk/image-zoom
Was this article helpful ?
Highlights
Add awesome highlights boxes with simple HTML markup!
HTML markup:
1 2 3 4 5 6 7 8 9 |
<div class="ct-highlightsItem"> <div class="ct-highlightsItem-content"> <span class="ct-highlightsItem-content-firstTitle ct-u-size30 text-uppercase">Free</span> <br> <span class="ct-highlightsItem-content-secondTitle ct-u-size34 text-uppercase ct-fw-600">Shipping</span> <br> <span class="ct-highlightsItem-content-thirdTitle ct-u-size16">Orders over $200</span> </div> </div> |
Was this article helpful ?
Divided Section
These sections are by default above the footer, in prefooter section, because they are fixed all the time on the bottom of the main content.
Left Section HTML markup:
1 2 3 4 5 6 7 8 9 10 11 |
<div class="ct-dividedSection-left"> <h3>Sign up for our newsletter</h3> <form role="form" action="#"> <div class="input-group"> <input type="email" class="form-control" placeholder="Your Email Address"> <span class="input-group-btn"> <button class="btn btn-default btn-sm" type="button"><i class="fa fa-fw fa-long-arrow-right"></i></button> </span> </div> </form> </div> |
1 2 3 4 5 6 |
<div class="ct-dividedSection-right"> <img src="assets/images/demo-content/prefooter-diamond.png" class="text-right pull-left" alt="Diamond Ring"> <h3 class="text-uppercase text-right">Have a jewelry inquiry?</h3> If you have any questions regarding our jeweleries please <a href="#">contact us directly</a> or use our contact form to get in touch. <div class="ct-dividedSection-right-triangle hidden-sm hidden-xs"></div> </div> |
Was this article helpful ?
Tooltips
Add tooltips anywhere you want!
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
<div class="ct-tooltips text-center ct-u-paddingTop50 ct-u-paddingBottom40"> <ul class="list-unstyled list-inline"> <li data-toggle="tooltip" title="75,000+ customers trusted us to create their rings."><i class="fa fa-heart fa-fw fa-6x"></i></li> <li data-toggle="tooltip" title="Pay by cash, credit card, bank transfer or store."><i class="fa fa-dollar fa-fw fa-6x"></i></li> <li data-toggle="tooltip" title="Fully protected, all payments secured."><i class="fa fa-lock fa-fw fa-6x"></i></li> <li data-toggle="tooltip" title="Double guarantee for gold and diamonds."><i class="fa fa-certificate fa-fw fa-6x"></i></li> <li data-toggle="tooltip" title="24/7 support at your service."><i class="fa fa-headphones fa-fw fa-6x"></i></li> <li data-toggle="tooltip" title="Latest news collections directly on your email."><i class="fa fa-envelope fa-fw fa-6x"></i></li> <li data-toggle="tooltip" title="Free & easy returns in 48h."><i class="fa fa-circle-o-notch fa-fw fa-6x"></i></li> <li data-toggle="tooltip" title="Free Delivery and Assurance."><i class="fa fa-truck fa-fw fa-6x"></i></li> <li data-toggle="tooltip" title="Your data is fully protected."><i class="fa fa-folder fa-fw fa-6x"></i></li> <li data-toggle="tooltip" title="Find your measurements for your ring."><i class="fa fa-pencil-square-o fa-fw fa-6x"></i></li> </ul> </div> |
Was this article helpful ?
Socials
Test comes with two types and four colours of socials:
Types:
- ct-socials–small
- ct-socials–medium
- ct-socials–large
Colours:
- ct-socials–blackBorder
- ct-socials–whiteBorder
- ct-socials–white
- – ct-socials–black
HTML markup:
1 2 3 4 5 |
<ul class="ct-socials ct-socials--large ct-socials--white list-inline list-unstyled"> <li><a href="https://www.facebook.com/createITpl"><i class="fa fa-facebook fa-fw"></i></a></li> <li><a href="https://twitter.com/createitpl"><i class="fa fa-twitter fa-fw"></i></a></li> <li><a href="#"><i class="fa fa-rss fa-fw"></i></a></li> </ul> |
Was this article helpful ?
Widget
Footer widgets
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 |
<h5 class="ct-widgetHeader text-uppercase ct-u-size18">Customer Service</h5> <div class="ct-widgetLinks"> <ul class="ct-widgetLinks-list"> <li><a href="my-cart.html">My Orders</a></li> <li><a href="my-account.html">My Addresses</a></li> <li><a href="my-account.html">My Account</a></li> <li><a href="wishlist.html">My WishList</a></li> <li><a href="login.html">Login</a></li> <li><a href="create-account.html">Register</a></li> </ul> </div> |
Sidebar Widget
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
<div class="widget"> <div class="widget-inner"> <h4 class="ct-headerBox ct-u-borderBottom3 ct-u-paddingBottom10 text-left">Specials</h4> <div class="ct-specials ct-u-marginBoth20"> <img class="ct-js-zoomImage" src="./assets/images/demo-content/specials-item.jpg" data-zoom-image="assets/images/demo-content/specials-item-large.jpg" alt=""> <div class="ct-specialsDescription"> <span>14K White Gold Rings, 0.33 Carat Diamond Stud</span> <span class="ct-u-size22"><del>150.00</del> $129.00</span> <a class="btn btn-default" href="#" role="button"><i class="fa fa-shopping-cart"></i></a> </div> <div class="clearfix"></div> </div> </div> </div> |
Was this article helpful ?
Products Listing
There are two types of displaying products listing:
- ct-showProducts–default
- ct-showProducts–list
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
<ul class="ct-productsList list-unstyled list-inline"> <li> <div class="ct-productShop ct-productShop--zoom ct-productShop--smaller"> <div class="ct-productShop-category"> <span class="ct-productShop-h5">Rings</span> <div class="clearfix"></div> <div class="text-center"> <img class="ct-js-zoomImage" src="./assets/images/demo-content/featured-item2.jpg" data-zoom-image="assets/images/demo-content/featured-item2-large.jpg" alt=""> </div> </div> <div class="ct-productShop-content"> <div class="ct-productShop-content-description"> <div class="ct-productShop-content-description-h5 text-uppercase">Best Seller</div> <a href="single-product.html"> <h3>Charleso Krypell Sterlingoinum & 14K Yellow Gold</h3> <span>$290.99</span> </a> <div class="ct-listElementDescription"> <div class="ct-stars"> <i class="fa fa-star"></i> <i class="fa fa-star"></i> <i class="fa fa-star"></i> <i class="fa fa-star ct-u-colorGrey"></i> <i class="fa fa-star ct-u-colorGrey"></i> <div class="ct-reviews"> <a href="single-product.html">2 customer reviews</a> </div> </div> <div class="ct-u-paddingTop10 ct-u-paddingBottom15"> <a class="ct-detailsLink" href="#"><i class="fa fa-long-arrow-right fa-fw"></i> details</a> </div> <div> <a class="btn btn-default" href="#" role="button"><i class="fa fa-shopping-cart"></i></a> <div class="ct-or text-uppercase ct-u-paddingBottom20"> OR </div> <a class="btn btn-default" href="#" role="button">Speed Buy <i class="fa fa-long-arrow-right ct-u-paddingLeft10"></i></a> </div> </div> <span class="ct-productShop-shopCart"> <a class="btn btn-default" href="#" role="button"><i class="fa fa-shopping-cart fa-fw"></i></a> <a class="btn btn-default btn-hidden" href="#" role="button"><i class="fa fa-chain fa-fw"></i></a> </span> </div> </div> <div class="clearfix"></div> </div> </li> |
Javascript code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
$(document).ready(function () { var $tilesItems = $("#ct-js-showTiles"); var $listItems = $("#ct-js-showList"); var $showProducts = $(".ct-showProducts"); if($tilesItems && $listItems){ $tilesItems.click(function(e){ e.preventDefault(); var $existListClass = $(".ct-showProducts--list"); if($existListClass){ $showProducts.removeClass("ct-showProducts--list"); $showProducts.addClass("ct-showProducts--default"); $showProducts.css("display", "none"); $showProducts.fadeIn(); $(this).addClass("is-active"); $listItems.removeClass("is-active"); } }); $listItems.click(function(e){ e.preventDefault(); var $existDefaultClass = $(".ct-showProducts--list"); if($existDefaultClass){ $showProducts.removeClass("ct-showProducts--default"); $showProducts.addClass("ct-showProducts--list"); $showProducts.css("display", "none"); $showProducts.fadeIn(); $(this).addClass("is-active"); $tilesItems.removeClass("is-active"); } }); } }); |
Was this article helpful ?
Buttons
There are three sizes of buttons:
- btn
- btn-sm
- btn-md
Each can have one of the following variations:
- btn-default
- btn-white
- btn-blackTransparent
- btn-blackTransparent–white
- btn-transparentWhite
HTML markup:
1 2 3 |
<button type="submit" class="btn btn-default"> <i class="fa fa-long-arrow-right"></i> Submit </button> |
Was this article helpful ?
Pagination
There are two available variations:
- default
- ct-u-bgcolor-transparent
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
<div class="ct-pagination ct-u-paddingBoth15"> <div class="ct-totalItems pull-left">Items 1 to 50 of 149 total</div> <div class="ct-pages pull-right"> <span>Page:</span> <ul class="ct-numerPages list-unstyled list-inline"> <li><a class="active" href="#">1</a></li> <li><a href="#">2</a></li> <li><a href="#">3</a></li> </ul> <a class="ct-rightArrow" href="#"><i class="fa fa-long-arrow-right fa-fw"></i></a> </div> <div class="clearfix"></div> </div> |
Was this article helpful ?
Tabs
Standard Tabs
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
<div role="tabpanel" class="ct-u-paddingTop20 ct-u-paddingBottom30"> <!-- Nav tabs --> <ul class="nav nav-tabs" role="tablist"> <li role="presentation" class="active"><a href="#description" aria-controls="description" role="tab" data-toggle="tab">Description</a></li> <li role="presentation"><a href="#delivery" aria-controls="delivery" role="tab" data-toggle="tab">Delivery Date Estimate</a></li> <li role="presentation"><a href="#reviews" aria-controls="reviews" role="tab" data-toggle="tab">Customer Reviews</a></li> <li role="presentation"><a href="#questions" aria-controls="questions" role="tab" data-toggle="tab">Community Q&A</a></li> </ul> <!-- Tab panes --> <div class="tab-content"> <div role="tabpanel" class="tab-pane active" id="description"> <div class="adjust-text"> <div class="ct-u-paddingBottom30 ct-u-paddingTop10 ct-panelWidget"> <a href="#" class="pull-left"><i class="fa fa-fw fa-file-text-o"></i> Ring Size Guide</a> <span class="pull-right">Adjust Text Size <a href="#" class="plus">+</a><a href="#" class="minus">-</a></span> <div class="clearfix"></div> </div> <p>Bands of brilliance. Pave set with simulated diamonds, this distinctive, double band bar ring makes quite the impression on your finger.<br> Sterling Silver, 18K Rose Gold-Clad Sterling Silver, or 18K Yellow Gold-Clad Sterling Silver.<br> For more details on this ring's fit, please refer to the Ring Size Guide above. </p> <ul class="list-unstyled ct-advantageList"> <li>Sterling silver</li> <li>Total Diamonique simulated diamond weight is approximately 9/10 carat</li> <li>Pave-set, round simulated diamonds set into a polished, open, double-band bar design</li> <li>Sizes 5, 6, 7, 8, 9, 10; due to the special nature of the plating process, we don’t not recommend resizing by a jeweler</li> <li>Measures approximately 3/8"L x 3/4"W</li> <li>Imported</li> </ul> </div> </div> |
Nested Tabs
HTML tabs:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
div role="tabpanel" class="tab-pane tab-pane-inner" id="questions"> <div role="tabpanel"> <!-- Nav tabs --> <ul class="nav nav-tabs pull-left ct-u-marginBottom20" role="tablist"> <li role="presentation" class="active"><a href="#featured" aria-controls="featured" role="tab" data-toggle="tab">Featured Q&A</a></li> <li role="presentation"><a href="#all" aria-controls="all" role="tab" data-toggle="tab">View All Q&A</a></li> </ul> <div class="ct-dividedTabSearch pull-right"> <form role="form" action="#"> <div class="input-group"> <input type="email" class="form-control" placeholder="Search All Questions For This Product"> <button class="btn btn-default btn-sm" type="button"><i class="fa fa-fw fa-long-arrow-right"></i></button> </div> </form> </div> <div class="clearfix"></div> <!-- Tab panes --> <div class="tab-content"> <div role="tabpanel" class="tab-pane active" id="featured"> <h5>Questions With Most Answers</h5> <div class="panel-group ct-u-marginBottom40" id="accordion2" role="tablist" aria-multiselectable="true"> <div class="panel panel-default"> <div class="panel-heading" role="tab" id="headingOne"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="false" aria-controls="collapseOne"> <span class="pull-left"><i class="fa fa-fw fa-long-arrow-right"></i> What country was it made in?</span> <span class="pull-right"><i class="fa fa-fw fa-comment"></i> 1 answer</span> <span class="clearfix"></span> </a> </h4> </div> <div id="collapseOne" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne"> <div class="panel-body"> |
Was this article helpful ?
Accordion
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
<div class="panel-group ct-u-marginBottom40" id="accordion" role="tablist" aria-multiselectable="true"> <div class="panel panel-default"> <div class="panel-heading" role="tab" id="headingOne"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="false" aria-controls="collapseOne"> <i class="fa fa-circle ct-u-size4 ct-u-verticalMiddle ct-u-paddingRight5"></i> Is it safe to buy a diamond and other pieces of jewelry over the internet? </a> </h4> </div> <div id="collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne"> <div class="panel-body"> What? You lost the appraisal certificate?! Truth is we'd like you to return all bridal and engagement rings that come with an IGI® Appraisal Certify with the certificate. But, if you can't find it – call us and we'll give you a quote for the exact price of the replacement. However, your refund -- if you return the ring without the certificate -- will be reduced by $149 or more, depending on the certificate replacement cost. </div> </div> </div> |
Was this article helpful ?
Wishlist
Test comes with a wishlist. It changes to different table on mobile with special stacktable script. To use it you will need ct-js-wishList class.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
<table class="ct-wishList ct-js-wishList ct-u-marginTop30"> <thead> <tr> <th class="ct-wishList-image"></th> <th class="ct-wishList-description">Product name</th> <th class="ct-wishList-price">Unit Price</th> <th class="ct-wishList-stock">Stock Status</th> <th class="ct-wishList-button"></th> </tr> </thead> <tbody> <tr> <td class="ct-wishList-image"><img src="assets/images/demo-content/wishlist-item2.jpg" alt="Wishlist Product 1"></td> <td class="ct-wishList-description"><a class="ct-wishList-itemLink" href="single-product.html">I Am Loved® Diamond Shaped Pendant in Sterling Silver & 14K Gold</a></td> <td class="ct-wishList-price">$239.00</td> <td class="ct-wishList-stock ct-u-colorLightGrey">In Stock</td> <td class="ct-wishList-button ct-wishList-buttonX"><a class="btn btn-default btn-md ct-js-buttonX" href="#">X</a></td> </tr> |
Javascript code:
1 2 |
<script src="assets/js/stacktable/stacktable.js"></script> <script src="assets/js/stacktable/init.js"></script> |
Learn more:
Was this article helpful ?
Testimonial
We have two variations of testimonial:
- ct-testimonials–left
- ct-testimonials–right
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
<div class="ct-testimonials ct-testimonials--left ct-u-marginTop40"> <div class="ct-testimonials-image"> <img src="assets/images/demo-content/testimonials-image1.jpg" alt="Testimonial 1"> </div> <div class="ct-testimonials-content"> <div class="ct-testimonials-content-name ct-u-paddingBottom30"> <div class="ct-u-size24">Katie M.</div> <div class="ct-u-size16 ct-u-colorGrey">Assistant Manager</div> </div> <div class="ct-testimonials-content-description ct-u-size16 text-justify"> I have been impressed with personalized attention and care for their “clients”. You feel like you become a part of this family the first time you walk through their door. And I have been impressed with the exceptional quality and their diverse jewelry selection – and of course if you don’t see what you like, they can customize any piece to make it your own. </div> </div> <div class="clearfix"></div> </div> |
Was this article helpful ?
Pricing
Create pricing box with simple HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
<div class="ct-pricing ct-u-marginBoth40"> <div class="ct-pricing-iconBox ct-u-paddingTop20"> <div class="ct-pricing-iconBox-icon"> <img src="assets/images/demo-content/pricing-chains.png" alt="Chains"> <span class="ct-u-size24">$120</span> </div> </div> <ul class="ct-pricing-list list-unstyled ct-u-marginTop30"> <li>Solder chain</li> <li>Figure</li> <li>Supply and Solder</li> <li>Tighten clasp</li> </ul> <div class="ct-u-paddingTop30 ct-u-paddingBottom20"> <a class="btn btn-default ct-pricing-button"> <i class="fa fa-long-arrow-right"></i> </a> </div> </div> |
Was this article helpful ?
Boxes
There are two types of boxes:
Image Box
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<div class="imageBox ct-u-paddingBoth40"> <img src="assets/images/demo-content/services-item1.jpg" alt="Services Item 1"> <div class="imageBox-content"> <div class="imageBox-content-title ct-u-size16 ct-fw-600 ct-u-paddingBottom10">Jewelry Cleaning Maintainance</div> <div class="imageBox-content-tip ct-u-size16 ct-u-colorLighterGrey ct-fs-i ct-u-paddingBottom25"> Maintaining the beauty of your jewelry is easy </div> <p class="imageBox-content-description text-justify ct-u-size16"> Duis tristique risus in ullamciorperi susicipit. Praiesent aucitor magna id ipsuim vehicula fermentium. Sed cuirsuis neque eget mauris pellenteisque egestas et in ante. Nunc ultrices dui nunc, placerat imperdiet urna vehicula in. </p> </div> <div class="clearfix"></div> </div> |
Number Box
1 2 3 4 5 6 7 8 9 10 11 12 |
<div class="numberBox"> <div class="ct-u-paddingTop30 ct-u-paddingBottom30"> <div class="numberBox-iconBox"><span class="numberBox-icon ct-u-size18">1</span></div> <div class="numberBox-title ct-u-size24">Jewelry Financing</div> </div> <div class="numberBox-description ct-u-size16 text-justify ct-u-paddingBottom25"> Suspendisse volutpat neque quam, ac vehicula lacus eleifend vel. Doneiuc egestas iuivehicula congue. Lorem ipsum dolor sit amet, consectei tur adipiscing elit. </div> <div class="ct-u-paddingBottom50"> <a class="btn btn-default" href="#"><i class="fa fa-long-arrow-right fa-fw"></i> details</a> </div> </div> |
Was this article helpful ?
Short Info
There are two available color variations of Short Info:
- ct-shortInfoReason–grey
- ct-shortInfoReason–black
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 |
<div class="ct-shortInfoReason ct-shortInfoReason--black ct-u-displayTableVertical pull-left"> <div class="ct-shortInfoReason-description ct-u-displayTableCell"> Please call us to assist you with your selection process. We will work with your objectives, not ours. </div> <div class="ct-shortInfoReason-title ct-u-displayTableCell"> <div class="ct-u-size28 text-right ct-shortInfoReason-center">Concierge</div> <div class="ct-u-size22 text-right ct-shortInfoReason-center">Service</div> </div> <div class="ct-shortInfoReason-image ct-u-displayTableCell"> <img src="assets/images/demo-content/speaker.png" alt="Speaker"> </div> </div> |
Was this article helpful ?
Single Product
Product Cusotmization, description, details can be added with the following HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 |
<div class="ct-productCustomization"> <h3>Certified Radiant-Cut Diamond Doubled Engagement Ring in 14K White Gold</h3> <h5 class="ct-u-paddingTop15">Earrings</h5> <div class="ct-price"> <span class="ct-u-size24"><del>$310.00</del></span> <span class="ct-u-colorBlack ct-u-size40">$289.00</span> <span class="ct-u-size15">(Free Delivery)</span> </div> <div class="ct-code ct-u-paddingBoth20"> <div class="pull-left ct-u-paddingRight15"> <span class="ct-code-black">Code</span><span class="ct-code-grey">DR2633-750-W</span> </div> <iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.createit.pl&layout=standard&show_faces=true&action=like&colorscheme=light&" style="overflow:hidden;max-width:100%;height:30px" scrolling="no" frameborder="0" allowTransparency="true"></iframe> <div class="clearfix"></div> </div> <div class="ct-stars"> <i class="fa fa-star"></i> <i class="fa fa-star"></i> <i class="fa fa-star"></i> <i class="fa fa-star ct-u-colorGrey"></i> <i class="fa fa-star ct-u-colorGrey"></i> <div class="ct-reviews"> <a href="#">2 customer reviews</a> </div> </div> <form action="#"> <div class="ct-pincode ct-u-paddingBoth20"> <div class="ct-pincodeBox"> <span>Check Availability At:</span><input type="text" class="form-control" placeholder="enter your pincode"> </div> <button class="btn btn-default btn-sm" type="submit">Check</button> <div class="clearfix"></div> </div> </form> <form action="#"> <div class="ct-productSize"> <div class="ct-u-size16 ct-u-paddingBottom10">Select Size:</div> <div class=""> <label class="radio-inline"> <input type="radio" name="inlineRadioOptions" id="inlineRadio1" value="option1"> <span>5</span> </label> <label class="radio-inline"> <input type="radio" name="inlineRadioOptions" id="inlineRadio2" value="option2"> <span>6</span> </label> <label class="radio-inline"> <input type="radio" name="inlineRadioOptions" id="inlineRadio3" value="option3"> <span>7</span> </label> <label class="radio-inline"> <input type="radio" name="inlineRadioOptions" id="inlineRadio4" value="option4"> <span>8</span> </label> <label class="radio-inline"> <input type="radio" name="inlineRadioOptions" id="inlineRadio5" value="option5"> <span>9</span> </label> <label class="radio-inline"> <input type="radio" name="inlineRadioOptions" id="inlineRadio6" value="option6"> <span>10</span> </label> </div> </div> <div class="ct-u-size16 ct-u-paddingTop10">Select Color:</div> <select class="ct-js-colorSelector"> <option value="0" data-color="#d2a48a" selected="selected">salmon</option> <option value="1" data-color="#e1c99b">yellow</option> <option value="2" data-color="#deddd9">grey</option> </select> <div class="ct-productQuantity"> <div class="ct-u-size16 ct-u-paddingBottom10">Select Quantity:</div> <div class=""> <select class="ct-select ct-select--small"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> </select> </div> </div> <div class="ct-speedbuy ct-u-paddingBoth20"> <a class="btn btn-default" href="#" role="button"><i class="fa fa-shopping-cart"></i></a> <div class="ct-or text-uppercase ct-u-paddingBottom20"> OR </div> <a class="btn btn-default ct-u-size18 text-uppercase" href="#" role="button">Speed Buy <i class="fa fa-long-arrow-right ct-u-paddingLeft10"></i></a> </div> </form> </div> |
Was this article helpful ?
Video
There are two available Video elements:
VideoBox
HTML markup:
1 2 3 4 |
<div class="ct-videoBox"> <iframe src="//player.vimeo.com/video/9211288" width="100%" height="372" frameborder="0" allowfullscreen></iframe> <p class="ct-videoBox-description ct-u-paddingTop20">...</p> </div> |
Video Product
HTML markup:
1 2 3 4 5 6 7 |
<div class="ct-videoProduct is-active"> <img src="assets/images/demo-content/video-image-1-small.jpg" alt="Video 1"> <div class="ct-videoProduct-description"> ... </div> <div class="clearfix"></div> </div> |
Javascript code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
$(document).ready(function(){ $('.ct-videoBox:first').css('display','block'); $('.ct-videoProduct').click(function(){ if($('.ct-videoProduct.is-active')){ $('.ct-videoProduct.is-active').each(function(){ $(this).removeClass('is-active'); }); } if(!($(this).hasClass('is-active'))) $(this).addClass('is-active'); var elnum = $(this).index(); $('.ct-videoBox').each(function(){ $(this).css("display", "none"); }); $('.ct-videoBox').eq(elnum).css("display", "block"); }); }); |
Was this article helpful ?
Portfolio
Create beautiful portfolio items with the following HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
<div class="ct-portfolio ct-u-paddingTop30"> <div class="ct-portfolio-image ct-u-paddingBottom25"> <img src="assets/images/demo-content/blog-item1.jpg" alt="Picture 1"> </div> <h5 class="ct-u-size16 ct-fw-600 ct-portfolio-title">Jewellery Storage Is Just As Important!</h5> <div class="ct-portfolioDescription ct-u-size15 ct-u-paddingTop15"> <p class="text-justify ct-u-paddingTop20 ct-u-size16"> ... </p> <p class="text-justify ct-u-paddingTop30 ct-u-size16"> ... </p> <p class="text-justify ct-u-paddingTop30 ct-u-size16"> ... </p> <p class="text-justify ct-u-paddingTop30 ct-u-paddingBottom40 ct-u-size16"> ... </p> </div> </div> |
Was this article helpful ?
Blog
Add your blog posts with the following HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
<div class="ct-blogBox ct-u-paddingTop30"> <div class="ct-blogBox-image ct-u-paddingBottom25"> <img src="assets/images/demo-content/blog-item1.jpg" alt="Picture 1"> </div> <h5 class="ct-u-size16 ct-fw-600 ct-blogBox-title">Jewellery Storage Is Just As Important!</h5> <div class="ct-blogDescription ct-u-size15 ct-u-paddingTop15"> <div class="pull-left ct-blogDescription-posted"> <span><i class="fa fa-pencil fa-fw"></i> Posted by: <a href="#">Karen1234</a></span> <span class="ct-u-paddingLeft15"><i class="fa fa-calendar fa-fw"></i> 9 Nov, 2014</span> </div> <div class="pull-right ct-blogDescription-comments"> <span><i class="fa fa-comments fa-fw"></i> <a href="#">3 comments</a></span> </div> <div class="clearfix"></div> <p class="text-justify ct-u-paddingTop20 ct-u-size16"> ... </p> <p class="text-justify ct-u-paddingTop30 ct-u-size16"> .... </p> <p class="text-justify ct-u-paddingTop30 ct-u-size16"> ... </p> <p class="text-justify ct-u-paddingTop30 ct-u-paddingBottom40 ct-u-size16"> ... </p> <hr> <div class="ct-blogDescription-tags ct-u-paddingBoth15"> <i class="fa fa-fw fa-tag ct-u-colorBlack"></i> Tagged: <a href="#">designer jewelry</a>, <a href="#">ring</a>, <a href="#">engagement</a>, <a href="#">wedding</a>, <a href="#">necklace</a>, <a href="#">pendant</a>, <a href="#">bracelet</a> </div> </div> </div> |
Blog Comments
HTML markup:
1 2 3 4 5 6 7 8 9 10 |
<div class="ct-blogComment"> <p class="ct-u-size16 ct-u-paddingBottom15 ct-u-paddingTop30">Who is the designer of the ring on your middle finger in the photo on the bottom left (red sleeve)? Thank you!</p> <hr> <div class="pull-right ct-u-paddingBoth10 ct-u-size15"> <span><i class="fa fa-pencil fa-fw"></i> Posted by: <a href="#">Karen1234</a></span> <span class="ct-u-paddingLeft15"><i class="fa fa-calendar fa-fw"></i> 9 Nov, 2014</span> </div> <div class="clearfix"></div> <hr> </div> |
Was this article helpful ?
Ratings
There are several types of ratings:
Ratings in single product content
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
<div class="ct-ratings"> <div class="ct-ratingsLeft"> <h4>Rating Snapshot</h4> <div class="ct-stars"> <i class="fa fa-star"></i> <i class="fa fa-star"></i> <i class="fa fa-star"></i> <i class="fa fa-star ct-u-colorGrey"></i> <i class="fa fa-star ct-u-colorGrey"></i> <div class="ct-reviews"> <a href="#">2 customer reviews</a> </div> </div> <div class="ct-u-paddingTop10">Overall Rating 2.8 out of 5</div> <div class="ct-u-paddingTop15 ct-fs-i">(21 of 56 (38%) reviewers would recommend this product to a friend.)</div> </div> <div class="ct-ratingsRight"> <ul class="list-unstyled ct-u-paddingTop15"> <li><span>5 stars</span><span><span data-width="60"></span></span><span>12</span></li> <li><span>4 stars</span><span><span data-width="20"></span></span><span>7</span></li> <li><span>3 stars</span><span><span data-width="50"></span></span><span>7</span></li> <li><span>2 stars</span><span><span data-width="80"></span></span><span>17</span></li> <li><span>1 star</span><span><span data-width="45"></span></span><span>13</span></li> </ul> </div> <div class="clearfix"></div> <hr> <div class="ct-range ct-u-paddingTop25"> <div>Sizing Snapshot</div> <div>Fit Snug</div> <div class="ct-rangeSlider"> <div class="ct-js-noUiSliderDisabled ct-noUiSlider"></div> </div> <div>Runs Large</div> </div> </div> |
Star ratings
HTML markup:
1 2 3 4 5 6 7 8 9 10 |
<div class="ct-stars"> <i class="fa fa-star"></i> <i class="fa fa-star"></i> <i class="fa fa-star"></i> <i class="fa fa-star ct-u-colorGrey"></i> <i class="fa fa-star ct-u-colorGrey"></i> <div class="ct-reviews"> <a href="#">2 customer reviews</a> </div> </div> |
Javascript ratings
HTML markup:
1 2 3 4 5 6 7 8 9 |
div class="ct-ratingsRight"> <ul class="list-unstyled ct-u-paddingTop15"> <li><span>5 stars</span><span><span data-width="60"></span></span><span>12</span></li> <li><span>4 stars</span><span><span data-width="20"></span></span><span>7</span></li> <li><span>3 stars</span><span><span data-width="50"></span></span><span>7</span></li> <li><span>2 stars</span><span><span data-width="80"></span></span><span>17</span></li> <li><span>1 star</span><span><span data-width="45"></span></span><span>13</span></li> </ul> </div> |
Javascript code:
1 2 3 4 5 6 7 8 |
$(document).ready(function(){ $(".ct-ratingsRight ul li span:nth-child(2) span").each(function(){ if($(this).attr("data-width")){ var $barWidth = $(this).attr("data-width"); $(this).css("width", $barWidth+'%'); } }); }); |
Was this article helpful ?
Reviews
Add reviews to your product with simple HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
<div class="ct-feedback ct-u-paddingTop30"> <span class="pull-left">Very Beautiful Ring!!</span><span></span> <span class="pull-right"><i class="fa fa-pencil fa-fw"></i> Posted by: <a href="#" class="author">Karen1234</a></span> <div class="clearfix"></div> <div class="ct-stars ct-u-paddingBoth10"> <i class="fa fa-star"></i> <i class="fa fa-star"></i> <i class="fa fa-star"></i> <i class="fa fa-star"></i> <i class="fa fa-star"></i> </div> <div class="ct-feedbackDescription ct-u-paddingBottom20"> This ring looks really elegant and dainty!! Love it!! This is really a pretty ring. get all kinds of compliments, I normally wear an 8 on my ring finger, so I orderd the size 10 for my pointer finger. perfect fit. I bought the clad & it is awesome. </div> <div class="ct-recommendation ct-u-paddingBoth20"> <span class="ct-fw-600">Would you recommend this product as a gift?</span><br> <span>Yes</span><br> <span class="ct-fw-600">Who would this be a perfect gift for?</span><br> <span>Families</span><br> <div class="ct-recommendationReport ct-u-paddingBoth25">Was this review helpful to you? <a href="#">Yes</a><a href="#">No</a><span><i class="fa fa-fw fa-long-arrow-right"></i> <a href="#"> Report Inappropriate Review</a></span></div> <div> <span>Share this review:</span> <ul class="ct-socials ct-socials--small ct-socials--black list-inline list-unstyled"> <li><a href="https://www.facebook.com/createITpl"><i class="fa fa-facebook fa-fw"></i></a></li> <li><a href="https://twitter.com/createitpl"><i class="fa fa-twitter fa-fw"></i></a></li> <li><a href="#"><i class="fa fa-rss fa-fw"></i></a></li> </ul> </div> </div> </div> |
Was this article helpful ?
Mutlitple SearchBox
Use our Multiple search box, where you can set advanced search options for products!
Use the following HTML markup to include it to your page:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
<div class="ct-searchBox ct-u-marginBottom60"> <form action="#"> <div class="ct-searchBookmark"> <a href="#" class="ct-js-filter"> <div class="ct-searchBookmark-header">Filter by: Price, Silver</div> </a> <div class="ct-searchContent"> <div class="ct-searchContent-category ct-searchContent-category--transparent">Price</div> <div class="ct-searchContent-description"> <div class="ct-searchContent-slider"> <div class="ct-js-noUiSliderPrice ct-u-marginBottom40"></div> <input type="text" class="form-control" id="lower-value"> <input type="text" class="form-control" id="upper-value"> </div> </div> <div class="ct-searchContent-category">Metal</div> <div class="ct-searchContent-description"> <!-- labels have to be next to each other --> <label for="checkbox1"> <input type="checkbox" id="checkbox1"><span>18k Yellow Gold</span> </label><label for="checkbox2"> <input type="checkbox" id="checkbox2"><span>18k White Gold</span> </label><label for="checkbox3"> <input type="checkbox" id="checkbox3"><span>14k White Gold</span> </label><label for="checkbox4"> <input type="checkbox" id="checkbox4"><span>14k White Gold</span> </label><label for="checkbox5"> <input type="checkbox" id="checkbox5"><span>Platinum</span> </label><label for="checkbox6"> <input type="checkbox" id="checkbox6"><span>Silver</span> </label><label for="checkbox7"> <input type="checkbox" id="checkbox7"><span>Stainless steel</span> </label> </div> <div class="ct-searchContent-category">Size</div> <div class="ct-searchContent-description"> <label for="checkbox8"> <input type="checkbox" id="checkbox8"><span>Less than 4mm</span> </label><label for="checkbox9"> <input type="checkbox" id="checkbox9"><span>4-6mm</span> </label><label for="checkbox10"> <input type="checkbox" id="checkbox10"><span>7-8mm</span> </label> </div> <div class="ct-searchContent-category">Color</div> <div class="ct-searchContent-color"> <select class="ct-js-colorSelector"> <option value="0" data-color="#d2a48a" selected="selected">salmon</option> <option value="1" data-color="#e1c99b">yellow</option> <option value="2" data-color="#deddd9">grey</option> <option value="3" data-color="#cd5c5c">indianred</option> <option value="4" data-color="#6495ed">cornflowerblue</option> <option value="5" data-color="#8fbc8f">darkseagreen</option> <option value="6" data-color="#ffd700">gold</option> <option value="7" data-color="#ffa500">orange</option> <option value="8" data-color="#db7093">palevioletred</option> <option value="9" data-color="#696969">dimgrey</option> </select> </div> <div class="clearfix"></div> </div> </div> </form> |
Notice, that Multiple Search box requires the following Javascripts if you want to use Color Picker and Range Slider for it:
1 2 3 4 5 |
<script src="assets/js/color-selector/colorselector.js"></script> <script src="assets/js/color-selector/init.js"></script> <script src="assets/js/nouislider/jquery.nouislider.all.js"></script> <script src="assets/js/nouislider/init.js"></script> |
Was this article helpful ?
Top Bar
There are two variations of top bar:
- deafult
- ct-topBar–grey
To change bar color to gray just add the class above to the bar markup, like the following:
1 2 3 4 5 6 7 8 9 |
<div class="ct-topBar ct-topBar--grey"> <div class="container"> <div class="ct-topBar-navigation pull-left"> <ul class="list-unstyled"> <li><i class="fa fa-fw fa-phone"></i> Call us: (012) 345-6789</li> <li><a href="login.html"><i class="fa fa-fw fa-user"></i> Login</a></li> <li><a href="create-account.html"><i class="fa fa-fw fa-pencil"></i> Create an account</a></li> </ul> </div> |
Was this article helpful ?
Customizer
Test comes with advanced customizer, which allows to edit most of theme elements in one place. To use it navigate to Appearance > Customizer
And click on arrow to toggle all available options:
It will display a panel with tabs corresponding to all theme sections, like:
- Pages
- Main Navbar
- Posts
- Portfolio
- Socials
- Faq
- WooCommerce
- Footer Widgets
You will find there also main style settings under:
- Test style
- General
In Test style section you can edit theme colors and fonts
In General you can setup logos, copyright text and main theme settings
Notice:
All changes done with customizer will be applied only once you click on
Was this article helpful ?
Pages Options
In Pages panel you are able to edit the following options:
- Home page settings:
- Show/Hide comments,
- Show/Hide comment form
- Header settings:
- Show/hide bar with title and breadcrumbs,
- Color of the bar,
- Size of the bar,
- Show/Hide title,
- Show/Hide breadcrumbs
- Maintenance Page:
- Define page title
- Define page description
Was this article helpful ?
Main Navbar
There are several navbar color types to choose. You can setup navbar type and scroll effect globally via Appearance > Customize > Main Navbar
Notice, that sometimes you can check changes in Customizer preview only after clicking on a Save & Publish button.
Those settings will be automatically applied for every page, although you can change options for each page with Template Settings:
Here you can also define:
- if title bar should be displayed,
- bar color,
- bar size,
- if title should be displayed,
- if breadcrumbs should be displayed
Was this article helpful ?
Posts Options
When using the assigned blog page as described in Blog Index page, all the options are located in Appearance > Customize on the Posts tab. There are dozens of options to choose from such as layout, categories, dates, etc. There are general blog options and single post page options. Each one has title and descriptions to help you understand what they do. Any type of blog options you need to set will be set here in theme options when using the assigned blog page.
INDEX PAGE OPTIONS:
- Blog title – it will be displayed as title of your index page,
- Show index as – select the way of displaying posts on index,
- Show posts index page title – hide/show blog title,
- Post detail button label – define custom label for button Read More,
- Date – show/hide posts date
- Image / video / gallery – show/hide image, video or gallery assigned to post (if you select Hide – we will display only text on blog index page),
- Title / quote author – show/hide posts author,
- Text Option – display full posts text, post excerpt or no intro text in posts list,
- Show read more button – show/hide button Read More
- Sidebar – show/hide sidebar on blog index page,
- Tags – show/hide posts tags,
- Categories – show/hide posts categories,
- Pagination notice – it will display pagination in the following format: Page 1 OF 7 – you can adjust labels with the following code instead: Custom-text %current% custom-text %total% – it’s useful if you want to translate your content
SINGLE POST OPTIONS – select how should look like single post page:
- Post page title – it will be displayed as title of your single post page,
- Show posts index page title – hide/show blog title,
- Date – show/hide posts date
- Image / video / gallery – show/hide image, video or gallery assigned to post (if you select Hide – it will display only text on post page),
- Title / quote author – show/hide post author,
- Content – show/hide post content (text),
- Author link – show/hide link to post author,
- Comments – show/hide comments,
- Comment form – show/hide comment form (select Hide if you don’t want comments below you post),
- Comments tag – show/hide comments tag,
- Sidebar – show/hide – show/hide sidebar,
- Tag cloud – show/hide tags,
- Categories – show/hide categories,
- Show socials box – show/hide socials,
- Share button label – define custom label for Share Button,
- Show author box – show/hide box with author information.
- Pagination – show/hide pagination,
- Previous post label – define custom label for Previous post button,
- Next post label – define custom label for Next post button,
- By label – define custom label for BY tag,
Common issue: How to change post intro text?
Intro text, which can be displayed on Blog index page is an Excerpt. You can edit it manually for every post with the following field:
Notice: if you don’t see Excerpt field when you are editing your post, go to Screen Options at the top of the post edition window (on the right hand side) and enable Excerpt with checkbox.
Was this article helpful ?
Portfolio Options
PORTFOLIO INDEX OPTIONS:
- Enter portfolio index page title – it will be displayed as title of your index page,
- Show portfolio index page title – hide/show portfolio index page title,
- Portfolio type – select the way of displaying portfolio items on index page,
- Portfolio masonry columns – number of columns for Masonry portfolio type,
- Portfolio items show at most – maximum number of displayed Portfolio items,
- Show pagination – show/hide pagination,
- Masonry category filters – show/hide categories filters,
- Masonry filter All label – define custom label for “All Projects” button,
- Pagination notice – we will display pagination in the following format: Page 1 OF 7 – you can adjust labels with the following code instead: Custom-text %current% custom-text %total% – it’s useful if you want to translate your content
SINGLE PORTFOLIO OPTIONS:
- Portfolio single page title – define custom portfolio title,
- Portfolio single show page title – show/hide page title,
- Project details – label – define custom label for View More button
- Project type – define custom label,
- Project type – define custom label,
- Project website – define custom label,
- Project prev – define custom label,
- Project next – define custom label,
- back to portfolio – define custom label,
- Show breadcrumbs – show/hide breadcrumbs,
- Single work Title – show/hide single work title,
- Image – show/hide,
- Client – show/hide,
- Date – show/hide,
- Categories – show/hide,
- Other projects – show/hide,
- External URL label – define custom label,
- Categories label – define custom label,
- Date label – define custom label,
- Client label – define custom label,
- Comments – show/hide,
- Comment form – show/hide,
- Related projects label – define custom label,
- Related projects description – define custom description,
- Related projects limit
Was this article helpful ?
Socials
Social icons, from the top of the page can be removed or changed via Appearance > Customize > Socials
We will display here only icons for social media profiles, which you define in settings:
So if you don’t want to display, for example Facebook icon – just leave Facebook field empty.
Was this article helpful ?
Social Buttons
There are two available types of social buttons:
- rounded buttons – it’s a default type, which will be displayed when you use in markup class ct-socials
- squared buttons – can be used with class ct-socials–square
Both types use the following basic HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
<ul class="list-unstyled list-inline ct-socials animated" data-fx="fadeInUp" data-time="400"> <li> <a href="https://www.facebook.com/createITpl" data-toggle="tooltip" data-placement="top" title="Facebook"><i class="fa fa-fw fa-facebook"></i></a> </li> <li> <a href="https://twitter.com/createitpl" data-toggle="tooltip" data-placement="top" title="Twitter"><i class="fa fa-fw fa-twitter"></i></a> </li> <li> <a href="#" data-toggle="tooltip" data-placement="top" title="Google +"><i class="fa fa-fw fa-google-plus"></i></a> </li> </ul> |
Was this article helpful ?
Slider
We use several types of sliders in Test.
Main Slider
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
<div class="ct-js-owl " data-animations="true" data-height="100%" data-snap-ignore="true"> <div class="item"> <hr class="hr-custom ct-js-background animated" data-fx="fadeInDown" data-bg="assets/images/hr2.png" data-bgrepeat="no-repeat"> <h2 class="ct-u-font2 text-uppercase animated" data-fx="flipInY">We love<br>coffee</h2> <p class="animated" data-fx="fadeIn">Vivamus iaculis placerat diam, laoreet posuere<br>dui aliquet ut.Praesent lacinia eleifend<br>eros, ac venenatis orci.</p> <a href="about.html" class="btn btn-lg btn-default animated" data-fx="fadeIn" data-hover="It's Delicious"><span>More about us</span></a> <hr class="hr-custom ct-js-background animated ct-u-paddingTop60" data-fx="fadeInDown" data-bg="assets/images/hr2.png" data-bgrepeat="no-repeat"> </div> <div class="item"> <hr class="hr-custom ct-js-background animated" data-fx="fadeInDown" data-bg="assets/images/hr2.png" data-bgrepeat="no-repeat"> <h2 class="ct-u-font2 text-uppercase animated" data-fx="flipInY">Coffee<br>& Breakfast</h2> <p class="animated" data-fx="fadeIn"> Donec fermentum eros at mauris mollis tincidunt.<br>Sed sit amet bibendum tellus, non commodo lacus.</p> <a href="menu.html" class="btn btn-lg btn-default animated" data-fx="fadeIn" data-hover="It's Delicious"><span>See our menu</span></a> <hr class="hr-custom ct-js-background animated ct-u-paddingTop60" data-fx="fadeInDown" data-bg="assets/images/hr2.png" data-bgrepeat="no-repeat"> </div> <div class="item"> <hr class="hr-custom ct-js-background animated" data-fx="fadeInDown" data-bg="assets/images/hr2.png" data-bgrepeat="no-repeat"> <h2 class="ct-u-font2 text-uppercase animated" data-fx="flipInY">Catering service</h2> <p class="animated" data-fx="fadeIn">Aliquam erat volutpat. Morbi nisl nibh, interdum<br> vitae ultricies vitae, lobortis sit amet tellus<br> mauris dolor velit.</p> <a href="menu.html" class="btn btn-lg btn-default animated" data-fx="fadeIn" data-hover="It's Delicious"><span>Get an estimate</span></a> <hr class="hr-custom ct-js-background animated ct-u-paddingTop60" data-fx="fadeInDown" data-bg="assets/images/hr2.png" data-bgrepeat="no-repeat"> </div> </div> |
Gallery
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
<div class="ct-js-owl ct-js-popupGallery" data-items="2" data-single="false" data-navigation="true" data-pagination="false" data-lgItems="2" data-mdItems="2" data-smItems="1"> <div class="item ct-u-padding10"> <a href="assets/images/demo-content/gallery-full-1.jpg" class="ct-js-popup ct-gallerySlider-image" title="The Croissants"><img src="assets/images/demo-content/gallery-thumb-1.jpg" alt="thumbnail"></a> <a href="assets/images/demo-content/gallery-full-2.jpg" class="ct-js-popup ct-gallerySlider-image" title="The Space"><img src="assets/images/demo-content/gallery-thumb-2.jpg" alt="thumbnail"></a> </div> <div class="item ct-u-padding10"> <a href="assets/images/demo-content/gallery-full-3.jpg" class="ct-js-popup ct-gallerySlider-image" title="The Lamps"><img src="assets/images/demo-content/gallery-thumb-3.jpg" alt="thumbnail"></a> <a href="assets/images/demo-content/gallery-full-4.jpg" class="ct-js-popup ct-gallerySlider-image" title="The Coffee"><img src="assets/images/demo-content/gallery-thumb-4.jpg" alt="thumbnail"></a> </div> <div class="item ct-u-padding10"> <a href="assets/images/demo-content/gallery-full-5.jpg" class="ct-js-popup ct-gallerySlider-image" title="The balcon"><img src="assets/images/demo-content/gallery-thumb-5.jpg" alt="thumbnail"></a> <a href="assets/images/demo-content/gallery-full-6.jpg" class="ct-js-popup ct-gallerySlider-image" title="The bread"><img src="assets/images/demo-content/gallery-thumb-6.jpg" alt="thumbnail"></a> </div> </div> |
Gallery Simple
HTML markup:
1 2 3 4 5 |
<div class="ct-js-owl ct-gallery--shaddow" data-animations="true" data-height="100%"> <div class="item"><img src="assets/images/demo-content/blog-gallery-1.jpg" alt="Gallery Blog Image" /></div> <div class="item"><img src="assets/images/demo-content/blog-gallery-2.jpg" alt="Gallery Blog Image" /></div> <div class="item"><img src="assets/images/demo-content/blog-gallery-3.jpg" alt="Gallery Blog Image" /></div> </div> |
Notice:
To use any of the following sliders you need to include javascript, which can be found here.
Was this article helpful ?
Blog
Test comes with the following template for blog posts
You can use it with the following HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
<section class="ct-frame ct-frame--white"> <article class="ct-blogItem"> <div class="ct-blogItem ct-blogThumbnail"> <img src="assets/images/demo-content/blog-image.jpg" alt="Post Image" /> </div> <div class="ct-blogItem ct-innerMargin"> <div class="ct-blogItem ct-entryMeta"> <span class="ct-blogItem ct-entryDate">oct 22, 2104</span> <span class="ct-blogItem ct-catLinks">♦ <a href="#"> news</a></span> <span class="ct-blogItem ct-entryComments">♦ <a href="#"> 3 comments</a></span> </div> <h3 class="ct-blogItem ct-entryTitle ct-u-font2"><a href="blog-single.html">standard post format with preview image</a></h3> <p class="ct-blogItem ct-entryDescription">Etiam nunc tortor, ultrices quis turpis, tempor lacinia ligula. Sed at odio vel est lobortis eleifend ac vitae enim. Suspendisse est gravida nisi lectus, nisl ullamcorper et. Pellentesque volutpat felis ut nunc elit euismod sollicitudin. Nam ullamcorper nibh eget sem consectetur, et semper elit suscipit. </p> <div class="ct-u-paddingBottom10"><a href="blog-single.html" class="btn btn-lg btn-button--brown">read more</a></div> </div> </article> </section> |
Check also how our blog comments look like
Use it with the following HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
<ul class="ct-comments"> <li> <div class="media"> <a href="#"><img src="assets/images/demo-content/blog-avatar-1.jpg" class="ct-authorImage pull-left" alt="Author"/></a> <div class="media-body ct-u-paddingLeft20"> <label class="ct-entryDateSecond">oct 22, 2104</label> <span class="ct-diamondSymbol">♦</span><a href="#" class="ct-commentReply"> reply</a> <h4 class="ct-media-heading ct-u-font2">richard doe</h4> <p> Convallis lorem sagittis neque pellentesque tempor. Proin euismod consectetur quam ac lacinia. Donec ut facilisis mauris, sed hendrerit nunc. Aenean malesuada scelerisque arcu sed sollicitudin. </p> </div> </div> </li> <li> <ol> <li> <div class="media"> <a href="#"><img src="assets/images/demo-content/blog-avatar-2.jpg" class="ct-authorImage pull-left" alt="Author"/></a> <div class="media-body ct-u-paddingLeft20"> <label class="ct-entryDateSecond">oct 22, 2104</label> <span class="ct-diamondSymbol">♦</span><a href="#" class="ct-commentReply"> reply</a> <h4 class="ct-media-heading ct-u-font2">maria gomez</h4> <p> Reoin euismod consectetur quam ac lacinia. Donec ut facilisis mauris, sed hendrerit nunc. Aenean malesuada scelerisque arcu sed sollicitudin. </p> </div> </div> </li> </ol> </li> <li> <div class="media"> <a href="#"><img src="assets/images/demo-content/blog-avatar-3.jpg" class="ct-authorImage pull-left" alt="Author"/></a> <div class="media-body ct-u-paddingLeft20"> <label class="ct-entryDateSecond">oct 22, 2104</label> <span class="ct-diamondSymbol">♦</span><a href="#" class="ct-commentReply"> reply</a> <h4 class="ct-media-heading ct-u-font2">jane smith</h4> <p> Reoin euismod consectetur quam ac lacinia. Donec ut facilisis mauris, sed hendrerit nunc. Aenean malesuada scelerisque arcu sed sollicitudin. </p> </div> </div> </li> </ul> |
Was this article helpful ?
Accordion
Check our beautiful accordion!
You can use it with simple HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true"> <div class="panel panel-default"> <div class="panel-heading" role="tab" id="headingOne"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne"> we love coffee so much </a> </h4> </div> <div id="collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne"> <div class="panel-body"> Etiam nunc tortor, ultrices quis turpis, tempor lacinia ligula. Sed at odio vel est lobortis eleifend ac vitae enim. Suspendisse est gravida nisi lectus, nisl ullamcorper et. Pellentesque volutpat felis ut nunc elit euismod sollicitudin. Nam ullamcorper nibh eget sem consectetur, et semper elit suscipit. </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" role="tab" id="headingTwo"> <h4 class="panel-title"> <a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo"> and also we love sweets </a> </h4> </div> <div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo"> <div class="panel-body"> Etiam nunc tortor, ultrices quis turpis, tempor lacinia ligula. Sed at odio vel est lobortis eleifend ac vitae enim. Suspendisse est gravida nisi lectus, nisl ullamcorper et. Pellentesque volutpat felis ut nunc elit euismod sollicitudin. Nam ullamcorper nibh eget sem consectetur, et semper elit suscipit. </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading" role="tab" id="headingThree"> <h4 class="panel-title"> <a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree"> what are savories actually </a> </h4> </div> <div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree"> <div class="panel-body"> Etiam nunc tortor, ultrices quis turpis, tempor lacinia ligula. Sed at odio vel est lobortis eleifend ac vitae enim. Suspendisse est gravida nisi lectus, nisl ullamcorper et. Pellentesque volutpat felis ut nunc elit euismod sollicitudin. Nam ullamcorper nibh eget sem consectetur, et semper elit suscipit. </div> </div> </div> </div> |
Was this article helpful ?
Tabs
You can easily display your content in Tabs.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
<ul class="nav nav-tabs ct-u-paddingTop10" role="tablist" id="myTab"> <li role="presentation" class="ct-navbarTabs--default active"><a href="#coffee" aria-controls="coffee" role="tab" data-toggle="tab">Coffee</a></li> <li role="presentation" class="ct-navbarTabs--default"><a href="#sweets" aria-controls="sweets" role="tab" data-toggle="tab">Sweets</a></li> <li role="presentation" class="ct-navbarTabs--default"><a href="#savories" aria-controls="savories" role="tab" data-toggle="tab">Savories</a></li> </ul> <div class="tab-content"> <div role="tabpanel" class="tab-pane fade in active" id="coffee"> <p>Etiam nunc tortor, ultrices quis turpis, tempor lacinia ligula. Sed at odio vel est lobortis eleifend ac vitae enim. Suspendisse est gravida nisi lectus, nisl ullamcorper et. Pellentesque volutpat felis ut nunc elit euismod sollicitudin. Nam ullamcorper nibh eget sem consectetur, et semper elit suscipit.</p> <p class="ct-u-paddingBottom20"> Cras interdum ante a efficitur dictum. Duis tincidunt non elit pellentesque. Curabitur set accumsan accumsan consectetur. Quisque et velit vestibulum quam condimentum consectetur. Praesent ac elit molestie, commodo quam vel, laoreet amet elit lacinia lobortis pellentesque metus. </p> </div> <div role="tabpanel" class="tab-pane fade" id="sweets"> <p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur</p> <p class="ct-u-paddingBottom20"> Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. </p> </div> <div role="tabpanel" class="tab-pane fade" id="savories"> <p>At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi.</p> <p class="ct-u-paddingBottom20"> Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem numquam eius modi tempora incidunt. </p> </div> </div> |
Was this article helpful ?
Pagination
Display your posts on several pages and navigate between them with simple pagination.
Use for it simple HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 |
<div class="row ct-navigation-blog-outer"> <div class="col-md-6 col-xs-12 text-left"> <div class="ct-navigation-blog"> <a href="#" class="btn btn-lg btn-button--dark"><i class="fa fa-long-arrow-left"></i> older posts</a> </div> </div> <div class="col-md-6 col-xs-12 text-right"> <div class="ct-navigation-blog"> <a href="#" class="btn btn-lg btn-button--dark">newer posts <i class="fa fa-long-arrow-right"></i></a> </div> </div> </div> |
Was this article helpful ?
Categories widget
Use simple HTML markup to display a widget.
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
<section class="widget"> <div class="widget-inner"> <h4 class="widget-title ct-u-font1 ct-u-paddingBottom10">categories</h4> <ul class="ct-u-font2 text-center"> <li><a href="blog-single.html">announcing</a></li> <li><a href="blog-single.html">news</a></li> <li><a href="blog-single.html">photography</a></li> <li><a href="blog-single.html">press</a></li> <li><a href="blog-single.html">uncategorized</a></li> </ul> </div> </section> *Popular posts* ( http://prntscr.com/68un6l ) <pre> <section class="widget text-left"> <h4 class="widget-title ct-u-font1 ct-u-paddingBottom5">popular posts</h4> <article class="ct-blogItem"> <div class="ct-blogItem ct-innerMargin"> <div class="ct-blogItem ct-entryMetaPost"> <span class="ct-blogItem ct-entryDate">oct 22, 2104</span> </div> </div> <h4 class="ct-entryPost ct-u-font2"> <a href="blog-single.html">jim and nick's and the fatback coll...</a> </h4> </article> <article class="ct-blogItem"> <div class="ct-blogItem ct-innerMargin"> <div class="ct-blogItem ct-entryMetaPost"> <span class="ct-blogItem ct-entryDate">oct 22, 2104</span> </div> </div> <h4 class="ct-blogItem ct-entryPost ct-u-font2"> <a href="blog-single.html">drinking pappy under the live oaks</a> </h4> </article> <article class="ct-blogItem"> <div class="ct-blogItem ct-innerMargin"> <div class="ct-blogItem ct-entryMetaPost"> <span class="ct-blogItem ct-entryDate">oct 22, 2104</span> </div> </div> <h4 class="ct-blogItem ct-entryPost ct-u-font2"> <a href="blog-single.html">hanging out with david cross and t...</a> </h4> </article> </section> |
Was this article helpful ?
Buttons
Check all buttons, that you can create with Test!
Use the following basic HTML markup:
1 2 3 4 5 |
<li> <a href="#" class="btn btn-lg btn-button--brown "> Example of button </a> </li> |
And of the following variations:
Types of buttons:
– btn
– btn-sm
– btn-md
Different looks:
-btn-default
-btn-inverse
-btn-button–brown
-btn-button–dark
Was this article helpful ?
CSS Files and Structure
If you would like to edit the color, font, or style of any elements, you would do the following:
1 |
#primaryContent a {color: #someColor;} |
If you find that your new style is not overriding, it is most likely because of a specificity problem. Scroll down in your CSS file and make sure that there isn’t a similar style that has more weight.
I.E.
1 |
#wrap #primaryContent a {color: #someColor;} |
So, to ensure that your new styles are applied, make sure that they carry enough “weight” and that there isn’t a style lower in the CSS file that is being applied after yours.
Colors
The theme includes a css file wich you can use to edit the colors.
You just need to add the corresponding CSS file to the head of the page like this:
1 2 3 4 5 |
<head> (..) <link rel="stylesheet" type="text/css" href="css/motive.css"> (..) </head> |
Main Menu structure
Just change brand name, upload your logo to images/content/ folder and you’re ready to go!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
<nav class="navbar ct-navbar navbar-default yamm ct-navbar--fadeIn" role="navigation"> <div class="container"> <div class="ct-navbarContainer"> <div class="navbar-header"> <a class="navbar-brand" href="index.html"><img id="ct-js-logo" src="assets/images/demo-content/logo.png" alt="FISHtank"></a> <!-- + --> </div> <ul class="nav navbar-nav"> <li role="presentation" class="dropdown"> <a class="dropdown-toggle" href="about.html" role="button" aria-expanded="true"> Home <span class="caret"></span> </a> <ul class="dropdown-menu"> <li> <div class="yamm-content"> </div> </li> </ul> </li> <li><a href="contact.html">Contact Us</a></li> </ul> <ul class="nav navbar-nav yamm ct-navbar--right"> <li><a href="login.html">My Account</a></li> </ul> </div> </div> </nav> |
In order to create mega menus read the documentation here:
Icons
We’ve included 360+ font icons.
Awesome Icons – http://fontawesome.io/icons/
HTML markup:
1 2 |
<!-- Awesome Icons --> <i class="fa fa-cog"></i> |
CSS Files & Structure
We’ve included 2 files.
bootstrap.css contains Bootstrap 3 Library.
style.css file contains general styles.
1. Snap mobile
2. Sidebar
3. Content
4. Frame box
5. Image box
6. Contact
7. Popup
8. Sliders
9. Animations
10. Food box
11. To Top button
12. Navigations blog
13. Blog section
14. Comments
15. Google Map
16. Loader
Utilities
Utility classes are low-level structural and positional traits. Utilities can be applied directly to any element, multiple utilities can be used tohether and utilities can be used alongsie component classes.
Utilities are intended for frequently used CSS properties and patterns, like: floats, containing floats, vertical alignemnt, text tryncation. Relying on utilities can help to reduce repetition and provide consistend implementations.
- Test uses utilities for the following categories:
- Typography
- Display Types
- Paddings
- Margins
- Line height
- Borders
- Colors
- Transform
- Section elements
Was this article helpful ?
Javascript
All javascripts are placed in folder /js. In main.js file we implement all functions calls.
This theme uses following Javascript files:
- HTML/assets/js/jquery.min.js – Jquery Plugin
- HTML/assets/js/bootstrap.min.js – Bootstrap Plugin
- HTML/assets/js/placeholder.min.js
- HTML/assets/js/easing.1.3.js
- HTML/assets/js/device.min.js
- HTML/assets/js/jquery.browser.min.js
- HTML/assets/js/snap.min.js – Snap Plugin is for responsive menu
- HTML/assets/js/jquery.appear.js
- HTML/assets/js/masonry.min.js – This is using in home page and in gallery
- HTML/assets/plugins/owl/owl.carousel.min.js – slider plugin
- HTML/assets/plugins/owl/init.js
- HTML/assets/js/portfolio/imagesloaded.js – Needed for gallery
- HTML/assets/plugins/magnific-popup/jquery.magnific.min.js – Needed for gallery, using when you want to see a big image after click on thumbnail
- HTML/assets/plugins/magnific-popup/init.js
- HTML/assets/js/main.js – Main scripts
- HTML/assets/js/less.min.js
Google Map (GMAP3 Plugin)
This is google map with custom marker, you can define couple parameters:
- data-location – address to show
- data-height – map height (if undefined height will be 220px)
- data-offset – by how many map should be repositioned from marker center point (default -30)
It uses gmap3 plugin.
Documentation: here
HTML Markup:
1 |
<div class="ct-googleMap" data-location="Narbutta 24, Warsaw" data-zoom="15" data-height="500"></div> |
All javascript code can be found in js/main.js file.
jquery.appear
This plugin call function when element appear in viewport. This is used in custom animation, progress bars, counter timer.
Documentation: https://github.com/bas2k/jquery.appear/
1 2 3 4 5 6 7 8 9 10 11 12 13 |
if (jQuery().appear) { if (device.mobile()) { // disable animation on mobile jQuery("body").removeClass("withAnimation"); } else { jQuery('.withAnimation .animated').appear(function () { jQuery(this).each(function () { jQuery(this).addClass('activate'); jQuery(this).addClass($(this).data('fx')); }); }, {accY: -150}); } } |
Charts.js
This plugin is used to make graphics.
Documentation: http://www.chartjs.org/
Was this article helpful ?
Slider
There are three available types of slider. You can use it with the following variations:
- ct-owl–type1
- ct-owl–type2
- ct-owl–type3
Use the simple HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
div class="ct-js-owl ct-owl--type1" data-items="1" data-autoPlay="true" data-pagination="false" data-navigation="true" data-autoHeight="true"> <div class="item"> [content] </div> <div class="item"> [content] </div> </div> |
Don’t forget to include on the page the following javascripts:
1 2 |
<script src="assets/js/owl.carousel/owl.carousel.min.js"></script> <script src="assets/js/owl.carousel/init.js"></script> |
Was this article helpful ?
Progress icons
HTML markup:
1 2 3 |
<div class="progress-icons" data-font-size="90" data-icon-color="#F00A0A" data-active="11" data-total="15" data-icon="fa-male" data-delay="200"> </div> |
Don’t forget to include the following javascript file:
1 |
<script src="assets/js/progressicons/init.js"></script> |
Was this article helpful ?
Google Map
HTML markup:
1 2 3 |
<div class="ct-googleMap-contsainer"> <div class="ct-googleMap" data-height="280" data-location="Narbutta 24, Warsaw" data-zoom="15"></div> </div> |
Required javascript files:
1 2 3 |
<script src="http://maps.google.com/maps/api/js?sensor=false"></script> <script src="assets/js/gmap/gmap3.min.js"></script> <script src="assets/js/gmap/init.js"></script> |
Was this article helpful ?
Toggleable
TABS
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
<div class="ct-tab"> <div class="tabs-container ct-tab-container"> <ul class="nav nav-tabs nav-justified ct-tab-navbar" role="tablist" id="myTab"> <li class="active"><a href="#related" role="tab" data-toggle="tab">Related</a></li> <li><a href="#recent" role="tab" data-toggle="tab">Recent</a></li> <li><a href="#popular" role="tab" data-toggle="tab">Popular</a></li> </ul> <div class="tab-content ct-tab-content"> <div class="tab-pane active" id="related"> [content] </div> <div class="tab-pane" id="recent"> [content] </div> <div class="tab-pane" id="popular"> [content] </div> </div> </div> </div> |
ACCORDION
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
<div class="panel-group ct-accordion" id="accordion"> <div class="panel panel-default ct-accordion-panel"> <div class="panel-heading ct-accordion-heading"> <h4 class="panel-title ct-accordion-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne"> [heading] </a> </h4> </div> <div id="collapseOne" class="panel-collapse collapse in"> <div class="panel-body ct-accordion-body"> [content] </div> </div> </div> <div class="panel panel-default ct-accordion-panel"> <div class="panel-heading ct-accordion-heading"> <h4 class="panel-title ct-accordion-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" class="collapsed"> [heading] </a> </h4> </div> <div id="collapseTwo" class="panel-collapse collapse "> <div class="panel-body ct-accordion-body"> [content] </div> </div> </div> <div class="panel panel-default ct-accordion-panel"> <div class="panel-heading ct-accordion-heading"> <h4 class="panel-title ct-accordion-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapseThree" class="collapsed"> [heading] </a> </h4> </div> <div id="collapseThree" class="panel-collapse collapse"> <div class="panel-body ct-accordion-body"> [content] </div> </div> </div> </div> |
Was this article helpful ?
Pricing Table
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
<article class="ct-pricingTable"> <div class="ct-pricingTable-header"> <div> <h5><small>Personal</small></h5> <p> <sup>$</sup>19/month </p> </div> </div> <div class="ct-pricingTable-container"> <ul class="list-unstyled"> <li class="active"> <p><i class="fa fa-check"></i>Vestibulum ultrices orci</p> </li> <li class="active"> <p><i class="fa fa-check"></i>Quisque a lorem</p> </li> <li class="active"> <p><i class="fa fa-check"></i>Aliquam luctus eros</p> </li> <li> <p><i class="fa fa-check"></i>Mauris sed nunc a nunc</p> </li> <li> <p><i class="fa fa-check"></i>Nam eu purus tincidunt</p> </li> </ul> </div> <div class="ct-pricingTable-footer"> <a class="btn btn-motive ct-btn-block" href=""><span>Subscribe Now</span></a> </div> </article> |
Was this article helpful ?
Tables
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
<div class="ct-table"> <div class="table-responsive"> <table class="table"> <thead> [head content] </thead> <tbody> [body content] </tbody> </table> </div> </div> |
You can adjust table look, with Bootstrap variations:
- table-responsive,
- table-striped,
- table-bordered,
- table-hover
Was this article helpful ?
Progress bar
SIMPLE
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
<div class="ct-progressBar"> <header class="ct-u-hideText"> <h4>Progress Bar</h4> </header> <div class="ct-progressBar-content"> <div class="progress"> <div class="progress-bar animating" role="progressbar" data-percentage="90" aria-valuenow="90" aria-valuemin="0" aria-valuemax="100"> <span>Web Design <strong>90%</strong></span> </div> </div> </div> </div> |
EXTENDED
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
<div class="ct-progressBar"> <div class="ct-progressBar-content ct-u-paddingBottom40"> <div class="media"> <div class="media-left"> <a href="#" class="ct-progressBar-icon ct-hover--outlineOut"><i class="fa fa-facebook"></i></a> </div> <div class="media-body media-middle ct-u-width100per"> <div class="progress"> <div class="progress-bar animating" role="progressbar" data-percentage="100" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100"> <span>Facebook <strong>100%</strong></span> </div> </div> </div> </div> </div> </div> |
Don’t forget about javascript:
1 |
<script src="assets/js/progresBar/init.js"></script> |
Was this article helpful ?
Navbar
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
<nav class="navbar ct-u-backgroundWhite " role="navigation"> <div class="ct-u-hideText"> <h2 class="ct-u-hideText">Main Menu</h2> </div> <div class="container-fluid navbar-menu"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> [logo] </div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="header-search pull-right"> <form class="form-inline" role="search"> <div class="input-group"> <input type="text" class="form-control search-input" placeholder="Search"> <span class="input-group-btn"> <button type="submit" class="btn btn-primary btn-search">Submit</button> </span> </div> </form> </div> <div class="collapse navbar-collapse"> <ul class="nav navbar-nav yamm list-unstyled ct-navbar--fadeIn"> <li class="dropdown"> [content] </li> <li class="dropdown yamm-fw"> <a href="features-grid.html">Features </a> <ul class="dropdown-menu"> <li class="yamm-inner"> <div class="yamm-content"> [content] </div> </li> </ul> </li> </ul> </div> <!-- /.navbar-collapse --> </div> <!-- /.container --> </nav> |
- ct-headroom–scrollUpMenu
- ct-headroom–scrollUpTopBar
- ct-headroom–scrollUpBoth
- ct-headroom–fixedTopBar
- ct-headroom–fixedMenu
- ct-headroom–fixedBoth
- ct-headroom–hideMenu
- ct-navbar–transparent
You can also use smaller navbar type by adding the following class to .navbar:
- navbar-makeSmaller
Was this article helpful ?
Portfolio item
Use the following HTML markup to display single portfolio item:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
<article class="ct-gallery-item ct-portfolio-item webdesign"> <header class="ct-u-hideText"> <h2 class="ct-u-hideText">Gallery item</h2> </header> <div class="ct-portfolio-item-outer"> <div class="ct-portfolio-item-media"> <a href="#"> <figure class="ct-imageBox effect-apollo"> <div class="ct-imageBox-image"> [image] </div> <figcaption> [content or empty] </figcaption> </figure> </a> </div> <div class="ct-portfolio-item-inner"> <header class="ct-portfolio-header"> <div class="ct-portfolio-title"> [title or none] <p> [text or none] </p> </div> </header> </div> </div> </article> |
Was this article helpful ?
Count To
Create awesome counters with simple HTML markup:
1 2 3 4 5 6 7 8 9 10 |
<div class="col-sm-3 ct-u-paddingTop30"> <div class="ct-counterBox"> <span class="ct-counterBox-number ct-js-counter" data-ct-to="48" data-ct-speed="5000"> 0 </span> <h5>Pizza's eaten</h5> </div> </div> |
Don’t forget to include the following javascript:
1 2 |
<script src="assets/js/counter/jquery.countTo.js"></script> <script src="assets/js/counter/init.js"></script> |
Was this article helpful ?
Coming Soon Counter
Your page is still under construction? Don’t worry! You can always keep visitors informed with Coming Soon Counter.
Use the following HTML markup:
1 |
<div class="row centered text-center ct-u-paddingBoth30" id="counter"></div> |
And define counter values in javascript:
1 2 3 4 5 6 7 8 |
<script src="assets/js/counter/jquery.countTo.js"></script> <script src="assets/js/counter/init.js"></script> <script src="assets/js/counter/jquery.mb-comingsoon.min.js"></script> <script type="text/javascript"> $('#counter').mbComingsoon({expiryDate: new Date(2015, 2, 24, 0, 0), speed: 950}); </script> |
Was this article helpful ?
Charts
Circle
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
<div class="ct-graphBox ct-graphBox--default"> <div class="ct-graphBox-graph"> <canvas width="150" height="150" class="ct-js-pieChart" data-ct-percentage="85" data-ct-middleSpace="85" data-ct-secondColor="#eeeeee" data-ct-firstColor="#a382d4"></canvas> <span class="ct-graphBox-graphPercentage">85%</span> </div> <div class="ct-graphBox-content"> <h4 class="ct-graphBox-title"> Graphic Design </h4> <p> Lorem ipsum dolor sit amet, consecte adipiscing elit. Suspendisse condimentum porttitor cursumus. Duis nec nulla turpis. Nulla lacinia laoreet odio </p> </div> </div> |
Script:
1 2 |
<script src="assets/js/charts/Chart.min.js"></script> <script src="assets/js/charts/init.js"></script> |
Bar
HTML markup:
1 |
<canvas id="barchart" height="450" width="600"></canvas> |
Script:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
<script src="assets/js/charts/Chart.min.js"></script> <script src="assets/js/charts/init.js"></script> <script> var randomScalingFactor = function () { return Math.round(Math.random() * 100) }; var barChartData = { labels: ["January", "February", "March", "April", "May", "June", "July"], datasets: [ { fillColor: "rgba(252,67,73,0.5)", strokeColor: "#fc4349", highlightFill: "#fc4349", highlightStroke: "#fc4349", data: [randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor()] }, { fillColor: "rgba(173,210,96,0.5)", strokeColor: "#add260", highlightFill: "#add260", highlightStroke: "#add260", data: [randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor()] } ] } window.onload = function () { var ctx1 = document.getElementById("barchart").getContext("2d"); window.myBar = new Chart(ctx1).Bar(barChartData, { responsive: true } </script> |
Line
HTML markup:
1 |
<canvas id="polararea" height="450" width="600"></canvas> |
Edit all values with Javascript:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
<script src="assets/js/charts/Chart.min.js"></script> <script src="assets/js/charts/init.js"></script> <script> var randomScalingFactor = function () { return Math.round(Math.random() * 100) }; var lineChartData = { labels: ["January", "February", "March", "April", "May", "June", "July"], datasets: [ { label: "My First dataset", fillColor: "#fc4349", strokeColor: "#fc4349", highlightFill: "#fc4349", highlightStroke: "#fc4349", pointColor: "rgba(220,220,220,1)", pointStrokeColor: "#fff", pointHighlightFill: "#fff", pointHighlightStroke: "rgba(220,220,220,1)", data: [randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor()] }, { label: "My Second dataset", fillColor: "rgba(151,187,205,0.2)", strokeColor: "rgba(151,187,205,1)", pointColor: "rgba(151,187,205,1)", pointStrokeColor: "#fff", pointHighlightFill: "#fff", pointHighlightStroke: "rgba(151,187,205,1)", data: [randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor(), randomScalingFactor()] } ] } window.onload = function () { var ctx2 = document.getElementById("linechart").getContext("2d"); window.myLine = new Chart(ctx2).Line(lineChartData, { responsive: true }); } </script> |
Polar
HTML markup:
1 |
<canvas id="polararea" height="450" width="600"></canvas> |
Script:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
<script src="assets/js/charts/Chart.min.js"></script> <script src="assets/js/charts/init.js"></script> <script> var randomScalingFactor = function () { return Math.round(Math.random() * 100) }; var polarData = [ { value: 300, color: "#F7464A", highlight: "#FF5A5E", label: "Red" }, { value: 50, color: "#46BFBD", highlight: "#5AD3D1", label: "Green" }, { value: 100, color: "#FDB45C", highlight: "#FFC870", label: "Yellow" }, { value: 40, color: "#949FB1", highlight: "#A8B3C5", label: "Grey" }, { value: 120, color: "#4D5360", highlight: "#616774", label: "Dark Grey" } ]; window.onload = function () { var ctx3 = document.getElementById("polararea").getContext("2d"); window.myPolarArea = new Chart(ctx3).PolarArea(polarData, { responsive: true } </script> |
Was this article helpful ?
Buttons
Test comes with number of buttons types
You can use any of them with the simple HTML markup:
1 |
<a href="#" class="btn btn-lg btn-motive ct-btn-inverse ct-btn-rounded ct-hover--outlineOut"><i class="fa fa-file-text-o"></i><span>Learn More About Us</span></a> |
Just change types with the following options:
- ct-btn-inverse
- ct-btn-rounded
- ct-btn-transparent
- ct-btn-block
- ct-btn-link
- ct-hover–outlineOut
You can also use one of default Bootstrap parameters for buttons, like size and colors – find out more here.
Was this article helpful ?
Owl Slider
Check slider documentation here
You can call it with the following script:
1 2 |
<script src="assets/js/owl.carousel/owl.carousel.min.js"></script> <script src="assets/js/owl.carousel/init.js"></script |
And HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
<section class="ct-js-owl ct-owl--type3" data-height="765" data-items="1" data-autoPlay="true" data-pagination="false" data-navigation="true" data-autoHeight="true" data-animation="true" data-snap-ignore="true"> <div class="item" data-bg="assets/images/demo-content/photodune-735770-joy-and-freedom-m.jpg"> <div class="item-inner"> [content] </div> </div> <div class="item" data-bg="assets/images/demo-content/photodune-735770-joy-and-freedom-m.jpg"> <div class="item-inner"> [content] </div> </div> </section> |
Was this article helpful ?
Display your twitter feed with simple HTML markup:
1 2 3 4 5 6 7 8 9 10 |
<div class="twitterContainer ct-u-paddingBoth10"> <header class="text-center ct-u-marginBottom40 ct-u-ff--1"> <h6><small class="ct-fw-300 text-uppercase ct-u-Creme ct-u-ls-2">Latest Tweet</small></h6> </header> <div class="ct-js-twitter ct-twitter"></div> <div class="text-center ct-u-marginTop10"> <a href="#" class="btn btn-motive ct-btn-inverse btn-lg ct-btn-rounded ct-hover--outlineOut"><span>CreateIT</span></a> </div> </div> |
Don’t forget to include also script for this:
1 |
<script src="assets/twitter/js/jquery.tweet.js"></script> |
And here is the result:
Was this article helpful ?
Morph button
Use Morph button for Login/Register options or Email in Person Box. After click on it will display form window and move to another place on the page.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
<div class="ct-mbMorphButtonContainer ct-js-mbMorphButton ct-personBox-morph"> <button class="btn btn-motive ct-btn-rounded ct-hover--outlineOut"> <i class="fa fa-envelope cw-mail"></i> </button> <div class="ct-mbMorphButton-wrapper-outer"> <div class="ct-mbMorphButton-wrapper-inner"> <span class="ct-mbMorphIconClose"><i class="fa fa-times"></i></span> [content] </div> </div> <div class="ct-mbMorphButton-overlay"></div> </div> |
And script:
1 |
<script src="assets/less/ButtonComponentMorph/js/mbMorphButton.js"></script> |
See it in the action here
Was this article helpful ?
Social Icons
Test comes with number of Social Icons, created with FontAwesome icons set.
You can use it with simple HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
<ul class="socialicons socialicons-lg socialicons--white"> <li> <a href="#" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="Vimeo"> <i class="fa fa-vimeo-square"></i> </a> </li> <li> <a href="https://twitter.com/createitpl" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="Twitter"> <i class="fa fa-twitter"></i> </a> </li> <li> <a href="https://www.facebook.com/createITpl" data-toggle="tooltip" data-placement="bottom" title data-original-title="Facebook"> <i class="fa fa-facebook"></i> </a> </li> </ul> |
There are several size and color options:
- socialicons-sm
- socialicons-md
- socialicons-lg
- socialicons–white
- socialicons–gray
- socialicons–darkGray
- socialicons–darkGray2
Was this article helpful ?
Forms
Contact Form
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
<div class="ct-comment"> <div class="successMessage ct-alert ct-alert--success"> <div class="ct-alert-header"> <div class="ct-alert-title"> <h4><small>Success</small></h4> </div> <div class="ct-alert-closeIcon"> <i class="fa fa-times"></i> </div> </div> <div class="ct-alert-content"> <p> Success </p> </div> </div> <div class="errorMessage ct-alert ct-alert--danger"> <div class="ct-alert-header"> <div class="ct-alert-title"> <h4><small>Danger</small></h4> </div> <div class="ct-alert-closeIcon"> <i class="fa fa-times"></i> </div> </div> <div class="ct-alert-content"> <p> Error </p> </div> </div> <form class="form-horizontal validateIt" role="form" action="assets/form/send.php" method="POST"> <div class="row"> <div class="col-md-4"> <div class="form-group"> <label for="name" class="col-md-3 control-label">Name:*</label> <div class="col-md-9"> <input type="text" class="form-control" required="" name="field[]" id="name" placeholder="Name"> </div> </div> <div class="form-group"> <label for="email" class="col-md-3 control-label">E-mail:*</label> <div class="col-md-9"> <input type="email" class="form-control" required="" name="field[]" id="email" placeholder="e-mail"> </div> </div> <div class="form-group"> <div class="ct-contact-btn col-md-9 col-md-offset-3"> <button type="submit" class="btn btn-motive ct-btn-rounded ct-hover--outlineOut ct-contact-btn"><span>Submit</span><i class="fa fa-send"></i></button> </div> </div> </div> <div class="col-md-8"> <div class="form-group"> <label for="email" class="col-md-2 control-label">Your comment:*</label> <div class="col-md-10"> <textarea class="form-control" rows="8" required="" name="field[]" placeholder="Type any text"></textarea> </div> </div> </div> </div> </form> </div> |
Script:
1 |
<script src="assets/form/js/contact-form.js"></script> |
Newsletter
HTML markup:
1 2 3 4 5 6 7 8 9 10 |
<div class="ct-newsletter"> <form class="form-inline" role="form" action="assets/form/send.php" method="POST"> <div class="input-group"> <input type="text" class="form-control" required="" name="field[]" placeholder="E-mail adress"> <span class="input-group-btn"> <button class="btn btn-motive" type="submit"><i class="fa fa-send"></i></button> </span> </div> </form> </div> |
Script:
1 |
<script src="assets/form/js/contact-form.js"></script> |
Common Problems
Where I can edit my contact form/newsletter email addres?
You can define where we should send messages from your contact form and newsletter in file HTML/assets/form/config.php
Add your email address instead of recipient@mail.com and it’s ready to use!
Was this article helpful ?
Icon box
You can use three types of Icon Boxes with the following CSS varaitions:
- ct-iconBox–type1
- ct-iconBox–type2
- ct-iconBox–type3
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
<article class="ct-iconBox ct-iconBox--type1"> <div class="ct-iconBox-header"> <div class="ct-iconBox-logo"> <span class="ct-iconBox-logo ct-hover--outlineOut"><i class="fa fa-eye"></i></span> </div> <div class="ct-iconBox-title"> <div> <h6>Who Were Playing In The</h6> </div> </div> </div> <div class="ct-iconBox-text"> <p>Priests were passing in processions, beating their dreary tambourines; police and custom-house officers with pointed hats</p> </div> <a class="btn btn-motive btn-sm ct-btn-rounded ct-btn-transparent ct-hover--outlineOut" href=""><i class="fa fa-file-text-o"></i><span>Read More</span></a> </article> |
Was this article helpful ?
Portfolio
You can display your portfolio item in several different ways with the following CSS variations:
- default
- ct-portfolio-masonry
- ct-portfolio-masonry–col2
- ct-portfolio-masonry–col3
- ct-portfolio-masonry–col4
HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
<section class="ct-gallery ct-portfolio-container ct-portfolio-masonry ct-portfolio-masonry--col2"> <header class="ct-u-hideText"> <h2 class="ct-u-hideText">Gallery</h2> </header> <article class="ct-gallery-item ct-portfolio-item webdesign"> [content] </article> <article class="ct-gallery-item ct-portfolio-item webdesign"> [content] </article> <article class="ct-gallery-item ct-portfolio-item webdesign"> [content] </article> </section> |
Scripts:
1 2 3 4 |
<script src="assets/js/portfolio/infinitescroll.min.js"></script> <script src="assets/js/portfolio/jquery.isotope.min.js"></script> <script src="assets/js/portfolio/imagesloaded.js"></script> <script src="assets/js/portfolio/init.js"></script> |
Was this article helpful ?
Blockquote
There are three types of blockquotes:
- ct-quote–type1
- ct-quote–type2
- ct-quote–type3
To create any of them use the simple HTML markup:
1 2 3 4 5 6 |
<div class="ct-quote--type1"> <blockquote class="text-center"> <p class="ct-u-colorDark">Various versions have evolved over the years, sometimes by accident, sometimes on purpose</p> <a href="#"><cite>VINCENT THOMPSON <span>CREATIVE MIND</span></cite></a> </blockquote> </div> |
Was this article helpful ?
Person Box
Introduce your team members with pretty person boxes.
Use for this simple HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
<article class="ct-personBox"> <header class="ct-personBox-title"> <h4><a href="#">Sarah Green</a></h4> <p>Head of Digital</p> </header> <figure class="ct-personBox-images ct-hover ct-js-hover ct-hover-type14"> <a href="#"><img src="assets/images/demo-content/peoplecomp_03.png" alt="peoplecomp_03" /></a> </figure> <div class="ct-personBox-text"> <p>All the Lorem Ipsum generators on the Internet ten to repeat predefined chunks as necessary, making this the</p> <div class="ct-personBox-email ct-morph-button ct-morph-button-modal ct-morph-button-modal-2 ct-morph-button-fixed"> <button type="button" class="btn btn-motive ct-btn-rounded ct-btn-NavbarMenu ct-hover--outlineOut"><i class="fa fa-envelope cw-mail"></i></button> <div class="ct-morph-content"> <div> <div class="content"> <span class="icon icon-close"><i class="fa fa-times"></i></span> <h4 class="ct-fw-900 text-uppercase">Ask Me</h4> <form> <div class="form-group"> <label for="ct-personBox-text3">Message</label> <textarea class="form-control" id="ct-personBox-text3" rows="3" placeholder="Message"></textarea> </div> <div class="form-group"> <label for="ct-personBox-email3">Email address</label> <input type="email" class="form-control" id="ct-personBox-email3" placeholder="Enter email"> </div> <button type="submit" class="btn btn-motive ct-btn-rounded ct-hover--outlineOut ct-u-marginTop15 pull-right">Send</button> </form> </div> </div> </div> </div><!-- morph-button --> <span class="ct-js-emailPerson">Email Her</span> </div> </article> |
Was this article helpful ?
Breadcrumbs
Make your website navigation more efficient with our breadcrumbs.
Create breadcrumbs with simple HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
<section class="ct-breadcrumbs"> <div class="container"> <div> <div class="ct-breadcrumbs-pageTitle"> <h3><small>Progress Bar</small></h3> </div> <div class="ct-breadcrumbs-list"> <ul class="list-unstyled list-inline"> <li><a href="index.html">Features</a></li> <li>Progress Bar</li> </ul> </div> </div> </div> </section> |
Was this article helpful ?
Call To action
Present your content in new way with Call To Action box.
It can be done with simple HTML markup:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<div class="ct-callToAction"> <div class="ct-callToAction-inner"> <div class="ct-callToAction-title"> <p> Passepartout wandered for several hours in the midst of this motley crowd, looking in </p> </div> <div class="ct-callToAction-btn"> <a href="#" class="btn btn-lg btn-motive ct-btn-inverse ct-btn-rounded ct-hover--outlineOut"><i class="fa fa-comments"></i><span>Let'a Talk</span></a> </div> </div> </div> |
Was this article helpful ?
Color Box
Check out our beautiful color boxes here
Create a simple container with background color and content. Additionally you can add here up or down arrow in several positions.
Use the simple HTML markup:
1 2 3 4 5 6 7 8 9 |
<div class="ct-colorBox ct-colorBox--lighten10 ct-colorBox--before"> <div class="ct-colorBox-wrapper"> <div class="ct-colorBox-wrapperInner"> [content] </div> </div> </div> |
And extend options with the several variations:
- ct-colorBox–lighten10
- ct-colorBox–lighten20
- ct-colorBox–darken10
- ct-colorBox–darken20
- ct-colorBox–after
- ct-colorBox–before
- ct-colorBox-arrow
- ct-colorBox-arrow–top
- ct-colorBox-arrow–bottom
- ct-colorBox-arrow–left
- ct-colorBox-arrow–right
- ct-colorBox-arrow–center
- ct-colorBox-arrow–btPrev
- ct-colorBox-arrow–btNext
Was this article helpful ?
Javascript
All javascripts are placed in folder /js. In main.js file we implement all functions calls.
This theme uses following Javascript files:
- jquery-1.11.2
- jquery.easing.1.3
- jquery.browser
- jquery.appear
- bootstrap
- device
- classie
- contact-form
- jquery.tweet
- jquery.stellar/ct-mediaSection
- uiMorphingButton_fixed (http://tympanus.net/codrops/2014/05/12/morphing-buttons-concept/)
- snap (https://github.com/jakiestfu/Snap.js/)
- progresBar
- headroom (http://wicky.nillia.ms/headroom.js/)
- owl.carousel (http://owlgraphic.com/owlcarousel/#how-to)
- jquery.isotope
- jquery.magnific-popup
- gmap3
- Chart
- jquery.countTo
- jquery.mb-comingsoon
- progressicons
Google Map (GMAP3 Plugin)
This is google map with custom marker, you can define couple parameters:
- data-location – address to show
- data-height – map height (if undefined height will be 220px)
- data-offset – by how many map should be repositioned from marker center point (default -30)
It uses gmap3 plugin.
Documentation: here
HTML Markup:
1 |
<div class="ct-googleMap" data-location="Narbutta 24, Warsaw" data-zoom="15" data-height="500"></div> |
All javascript code can be found in js/main.js file.
jquery.appear
This plugin call function when element appear in viewport. This is used in custom animation, progress bars, counter timer.
Documentation: https://github.com/bas2k/jquery.appear/
1 2 3 4 5 6 7 8 9 10 11 12 13 |
if (jQuery().appear) { if (device.mobile()) { // disable animation on mobile jQuery("body").removeClass("withAnimation"); } else { jQuery('.withAnimation .animated').appear(function () { jQuery(this).each(function () { jQuery(this).addClass('activate'); jQuery(this).addClass($(this).data('fx')); }); }, {accY: -150}); } } |
Was this article helpful ?
CSS Files and Structure
If you would like to edit the color, font, or style of any elements, you would do the following:
1 |
#primaryContent a {color: #someColor;} |
If you find that your new style is not overriding, it is most likely because of a specificity problem. Scroll down in your CSS file and make sure that there isn’t a similar style that has more weight.
I.E.
1 |
#wrap #primaryContent a {color: #someColor;} |
So, to ensure that your new styles are applied, make sure that they carry enough “weight” and that there isn’t a style lower in the CSS file that is being applied after yours.
Colors
The theme includes a css file wich you can use to edit the colors.
You just need to add the corresponding CSS file to the head of the page like this:
1 2 3 4 5 |
<head> (..) <link rel="stylesheet" type="text/css" href="css/motive.css"> (..) </head> |
Main Menu structure
Just change brand name, upload your logo to images/content/ folder and you’re ready to go!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
<nav class="navbar ct-navbar navbar-default yamm ct-navbar--fadeIn" role="navigation"> <div class="container"> <div class="ct-navbarContainer"> <div class="navbar-header"> <a class="navbar-brand" href="index.html"><img id="ct-js-logo" src="assets/images/demo-content/logo.png" alt="FISHtank"></a> <!-- + --> </div> <ul class="nav navbar-nav"> <li role="presentation" class="dropdown"> <a class="dropdown-toggle" href="about.html" role="button" aria-expanded="true"> Home <span class="caret"></span> </a> <ul class="dropdown-menu"> <li> <div class="yamm-content"> </div> </li> </ul> </li> <li><a href="contact.html">Contact Us</a></li> </ul> <ul class="nav navbar-nav yamm ct-navbar--right"> <li><a href="login.html">My Account</a></li> </ul> </div> </div> </nav> |
In order to create mega menus read the documentation here:
Icons
We’ve included 360+ font icons.
Awesome Icons – http://fontawesome.io/icons/
HTML markup:
1 2 |
<!-- Awesome Icons --> <i class="fa fa-cog"></i> |
CSS Files & Structure
We’ve included 2 files.
bootstrap.css contains Bootstrap 3 Library.
style.css file contains general styles.
1. Variables
2. Bootstrap
3. Mixins
4. Typography
5. Button hover effects
6. animate.css
7. Yamm
8. Image hover effects
9. Counter
10. Owl
11. Media section
12. Buttons
13. Morph buttons
14. Divided
15. Menu
16. Social icons
17. Forms
18. Widget
19. Icon box
20. Portfolio
21. Blockquote
22. Person Box
23. Progress Bar
24. Breadcrumbs
25. Call to action
26. Color Box
27. Media object
28. Blog
29. Blog sidebar
30. Blog Post
31. Pagination
32. List switcher
33. Comment
34. Contact
35. Error Page
36. Testimonals
37. Tables
38. Pricing tables
39. Toggables
40. Twitter
41. Footer
42. Maps
43. Utilities
44. Base Style
45. To Top arrow
46. Intro Effect
47. Magnific
Utilities
Utility classes are low-level structural and positional traits. Utilities can be applied directly to any element, multiple utilities can be used tohether and utilities can be used alongsie component classes.
Utilities are intended for frequently used CSS properties and patterns, like: floats, containing floats, vertical alignemnt, text tryncation. Relying on utilities can help to reduce repetition and provide consistend implementations.
- Test uses utilities for the following categories:
- Typography
- Display Types
- Paddings
- Margins
- Line height
- Borders
- Colors
- Transform
- Section elements
Was this article helpful ?
Main Navbar
There are several navbar color types to choose. You can setup navbar type and scroll effect globally via Appearance > Customize > Main Navbar
Notice, that sometimes you can check changes in Customizer preview only after click on Save & Publish button.
Those settings will be automatically applied for every page, though you can change options for each page with Template Settings:
You can also define here:
- if title bar should be displayed,
- bar color,
- bar size,
- if title should be displayed,
- if breadcrumbs should be displayed
Was this article helpful ?
Pages Options
In Pages panel you are able to edit the following options:
- Logo Settings
- Home page settings:Show/Hide comments,
- Show/Hide comment form
- Header settings:
- 404 Page:
- Button Link
- facebook Link
- twiter Link
- dragable Link
- sound Link
Was this article helpful ?
Portfolio Options
PORTFOLIO INDEX OPTIONS:
- Enter portfolio index page title – it will be displayed as title of your index page,
- Show portfolio index page title – hide/show portfolio index page title,
SINGLE PORTFOLIO OPTIONS:
- Portfolio single page title – define custom portfolio title,
- Portfolio single show page title – show/hide page title,
- Project prev – define custom label,
- Project next – define custom label,
- back to portfolio – define custom label,
- Show breadcrumbs – show/hide breadcrumbs,
- Single work Title – show/hide single work title,
- Image – show/hide,
- Client – show/hide,
- Date – show/hide,
- Categories – show/hide,
- Other projects – show/hide,
- External URL label – define custom label,
- Categories label – define custom label,
- Date label – define custom label,
- Client label – define custom label,
- Comments – show/hide,
- Comment form – show/hide,
- Related projects label – define custom label,
- Related projects description – define custom description,
- Related projects limit
Was this article helpful ?
Posts Options
When using the assigned blog page as described in Blog Index page, all the options you can select for it are located in Appearance > Customize on the Posts tab. There are dozens of options to choose from like layout, categories, dates, etc. There are general blog options and single post page options. Each one has title and descriptions to help you better understand what they do. Any type of blog options you need to set will be set here in theme options when using the assigned blog page.
INDEX PAGE OPTIONS:
- Blog title – it will be displayed as title of your index page,
- Show index as – select the way of displaying posts on index,
- Show posts index page title – hide/show blog title,
- Post detail button label – define custom label for button Read More,
- Date – show/hide posts date
- Image / video / gallery – show/hide image, video or gallery assigned to post (if you select Hide – we will display only text on blog index page),
- Title / quote author – show/hide posts author,
- Text Option – display full posts text, post excerpt or no intro text in posts list,
- Show read more button – show/hide button Read More
- Sidebar – show/hide sidebar on blog index page,
- Tags – show/hide posts tags,
- Categories – show/hide posts categories,
- Pagination notice – we will display pagination in the following format: Page 1 OF 7 – you can adjust labels with the following code instead: Custom-text %current% custom-text %total% – it’s useful if you want to translate your content
SINGLE POST OPTIONS – select how should look like single post page:
- Post page title – it will be displayed as title of your single post page,
- Show posts index page title – hide/show blog title,
- Date – show/hide posts date
- Image / video / gallery – show/hide image, video or gallery assigned to post (if you select Hide – we will display only text on post page),
- Title / quote author – show/hide post author,
- Content – show/hide post content (text),
- Author link – show/hide link to post author,
- Comments – show/hide comments,
- Comment form – show/hide comment form (select Hide if you don’t want comments below you post),
- Comments tag – show/hide comments tag,
- Sidebar – show/hide – show/hide sidebar,
- Tag cloud – show/hide tags,
- Categories – show/hide categories,
- Show socials box – show/hide socials,
- Share button label – define custom label for Share Button,
- Show author box – show/hide box with author information.
- Pagination – show/hide pagination,
- Previous post label – define custom label for Previous post button,
- Next post label – define custom label for Next post button,
- By label – define custom label for BY tag,
Common issue: How to change post intro text?
Intro text, which can be displayed on Blog index page is an Excerpt. You can edit it manually for every post with the following field:
Notice: if you don’t see Excerpt field when you are editing your post, go to Screen Options at the top of the post edition window (on the right hand side) and enable Excerpt with checkbox.
Was this article helpful ?
Socials
Social icons, from the top of the page can be removed or changed via Appearance > Customize > Socials
We will display here only icons for social media profiles, which you define in settings:
So if you don’t want to display, for example Facebook icon – just leave Facebook field empty.
Was this article helpful ?
Customizer
Test comes with advanced customizer, which allows to edit most of theme elements in one place. To use it navigate to Appearance > Customizer
It will display a panel with tabs corresponding to all theme sections, like:
- Pages
- Main Navbar
- Posts
- Portfolio
- Faq
- WooCommerce
- Footer Widgets
You will find there also main style settings under:
- Test style
In Test style section you can edit theme colors and fonts
All changes done with customizer will be applied only once you click on
Was this article helpful ?
Galleries
Test comes extended Galleries options, which allow you to manage all galleries and image in one place. Galleries are custom post types, where you can add multiple images, which then can be used almost everywhere on your page.
Creating Gallery
To create new Gallery, navigate to Galleries > Add New
For new gallery you can define:
- Title (required),
- Tags (optional),
- Images (recommended),
The most important are of course images. You can Upload here new images from you computer or select images from Media library – one or multiple (hold CTRL or SHIFT to select more that one image).
For every gallery you can:
- reorder images with drag and drop tool,
- remove images from gallery with x sign
- add new images from media library or computer.
After every modification click on Update to keep your changes saved.
Header gallery
Each page has number of options to change header appearance. For the right half of header you can select images with Parallax or Kenburns effect, background Video or Slider.
If you would like to display images as Kenburns or Slider, you can do it with one of Galleries. Just select, which Gallery should be display here.
Slider Gallery
You can present your images as simple slider. From available components list select Slider. In tab Custom Gallery in slider settings you will see option to select gallery, which should be displayed as slider.
Notice: you have three Select options for images:
- none – image won’t be displayed,
- select all – all images from the gallery will be displayed (all changes which you will do for gallery, like adding/removing image will be applied in slider gallery),
- custom select – only selected images will be displayed.
Image Grid
Another shortcode to display images uploaded to galleries in Image Grid – it works analogously to Slider element, but instead of slides, images are displayed in 2, 3 or 4 columns and can be opened in Lightbox.
Portfolio Gallery
We didn’t forget also about standard gallery – which displays featured images of all created Portfolio Items (Portfolio Items > Add New). You can display it with Gallery element.
You will find here number of settings to change:
- Show/Hide categories filters
- Filters alignment
- “all” filter label
- Number of columns
- Gallery box style
Was this article helpful ?
Sections
Section is essential element of page structure – it comes with number of structural and styles option. Below you will find main sections functionalities, which allow you to manage pages content easier.
To add new section – select Row from list of available components.
Once Row is selected you will see the list of the following options
- Type – you can choose between the following types: Divider, Parallax, Kenburns, Video, Default
- ID – section ID can be used if you want to create Onepager page – define custom ID for each section and corresponding /#section-id-name link in navigation menu
- Height – define custom section height,
- Divider color – this parameter will be displayed only if you selected Divider section type. Select background color for right (divided) column of the section
- Background mobile – this parameter will be displayed only if you selected Parallax or Kenburns section types – it allows you to select section background image, will be displayed on mobile devices,
- Background – this parameter will be displayed only if you selected Parallax or Kenburns section types – it allows you to select section background image,
- With container – select this option, if you want to keep your content in Bootstrap container, otherwise content will be full width (adjusted to browser window),
- Content centered – center align container content,
- Next section scroll button – creates button with arrow and link to different section (you can define, which sections it should be by its ID)
- Onepager element – select only if you want to create Onepager page and only for sections, which will be linked in your navigation menu
Section Types
Divider
Creates section, which is divided to two columns with different background. Left column has always default backgroud. For right you can select your color with Divider color parameter.
Notice: you will get the best effect if you will enable With Container option for divided section.
Default
Basic version of section. You can divide it for any number of columns. It’s by default has no background and text inside has Primary (motive) color.
Parallax
Define background image with Parallax effect. You can modify parallax ratio and section height with additional section parameters. You can use any content you want in Parallax section.
Kenburns
Creates animated background with images, which are transits one to another.
Notice: to keep your pages structure responsive – every page page element should be inside Row (section) element.
Was this article helpful ?
Customizer
Test comes with advanced customizer, which allows to edit most of theme elements in one place. To use it navigate to Appearance > Customizer
It will display a panel with tabs corresponding to all theme sections, like:
- Style
- General
- Pages
- Main Navbar
- Posts
- Team
- Socials
- Faq
- WooCommerce
- Footer Widgets
You will find there also main style settings under:
- Test style
- General
In Test style section you can edit theme colors and layout setup
In General you can setup logos, copyright text and main theme settings
Notice:
All changes done with customizer will be applied only once you click on
Was this article helpful ?
Main Navbar
Select your navigation bar and top bar style.
Select default to keep you Navigation bar hidden after scroll down. If you want to display navbar or both bar always – select fixed option.
Was this article helpful ?
Pages Options
In Pages panel you are able to edit the following options:
- General pages options:
- Show/Hide Title row on pages
- Show/Hide Title text on pages
- Show/Hide comments,
- Show/Hide comment form
- Header settings:
- Select default header type – you can choose between: Parallax header, Video, Kenburs or Slider
- Header Image – define background image if you selected Parallax header above
- Gallery for Kenburns Header – select gallery of images if you want to use header with kenburns effect
- Gallery for Slider Header – select gallery of images if you want to display images sliders in header
- Video source – If video header is enabled, then you can display video as background
- Video type – select video source type
- Parallax ratio
- Header background color
- Title text paddings
- Header paddings
- Header margins
- Header height – you can set custom height of header (in px or %)
Notice: – settings above are by default applied for all your pages. Though you can also customize them for each page separately with Header and Navbar settings – you will see this option during page content edition.