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.
If you want to use some additional fields, choose them from screen options at the top of the screen.
- 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”:
Seabreeze items with category “starters”:
Cupcake items with category “Salty Cakes”:
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.
- 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:
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
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" |