Vayvo - Template Documentation

By Progression Studios


Thank you for purchasing this site template. If you have questions that are beyond the scope of this help file, visit our support forum.

Vayvo uses the HTML Framework Boostrap. Bootstrap is an open source toolkit for developing with responsive HTML, CSS, and JS websites.

The full boostrap documentation and be found online here: https://getbootstrap.com/docs/4.0/getting-started/introduction/


CSS Structure

All of the CSS files are located in the head of the document. The main CSS feils are as follows:


Tablet/Mobile Styling

The responsive styling for the site template is located in the style.css file. You will find all of these styles under the last section of the document "24. RESPONSIVE STYLES". The mobile navigation will be covered in the "Navigation" section of the documentation further down.


Color Customizing

We have placed all the blue highlight colors in one section of your style.css file. This makes it extremely easy for you to customize the main colors of the theme. You will find the main green color "#22b2ee" uner the section "03. HIGHLIGHT COLORS" of your style.css file. Example:

/*
=============================================== 03. HIGHLIGHT COLORS ===============================================
*/
	
ul#friends-activity-profiles li.friends-activity-profiles-more a,
a.edit-profile-sidebar,
ul.dashboard-sub-menu li.current a:after,
body .asRange .asRange-pointer:before,
body .asRange .asRange-selected,
.checkbox-pro-container .checkmark-pro:after,
span.user-notification-count,
ul#registration-steps-pro li.current-menu-item .registration-step-circle-icon {
	background:#22b2ee;
}

JavaScript Structure

All of the JavaScript files are loaded in the footer or your site. All JavaScript plugins have been added seperately. This allows you to easily add/remove javascript plugins in order to optimize your site speed. Here is an overview of all the javascript files:

The HTML Framework Boostrap already has a grid system built-in. This allows you to easily add rows & columns. In addition you have the ability to control the columns on multiple device sizes.

You can find the full bootstrap grid documentation online here: https://getbootstrap.com/docs/4.0/layout/grid/

Bootstrap’s grid system uses a series of containers, rows, and columns to layout and align content. It’s built with flexbox and is fully responsive. Below is an example and an in-depth look at how the grid comes together.

New to or unfamiliar with flexbox? Read this CSS Tricks flexbox guide for background, terminology, guidelines, and code snippets.

Here is an example three column layout:

<div class="container">
  <div class="row">
    <div class="col-sm">
      One of three columns
    </div>
    <div class="col-sm">
      One of three columns
    </div>
    <div class="col-sm">
      One of three columns
    </div>
  </div>
</div>


The various hero sliders located in the site template are powered by the javascript plugin "Flexslider." You can find a list of all the options for the slider here: https://github.com/woocommerce/FlexSlider

The JavaScript for the sliders is located under /js/scripts.js


An example from scripts.js file:

$('.progression-studios-slider').flexslider({
	slideshow: true,  		/* Autoplay True/False */
	slideshowSpeed: 8000,	/* Autoplay Speed */
	animation: "fade",		/* Slideshow Transition Animation */
	animationSpeed: 800, 	/* Slide Transition Speed */
	directionNav: true,		/* Left/Right Navigation True/False */
	controlNav: true,		/* Bullet Navigaion True/False */
	prevText: "",
	nextText: "",
});

Slider Styles

The styling for the sliders can be found in the style.css file in the section "20. HOMEPAGE SLIDER".


Slider Height

The slider height is controlled in a number of ways. Here is an example from the site template that is 80% of your browser height (vh). You can adjust this to any other vh OR to a pixel number like 700px. Also, you will find the tablet and mobile heights under the responsive css section at the bottom of the style.css file


Slider Reflection Base

The slide reflection is added via a class "progression-studios-skrn-slider-upside-down" along with a second link to the slide image.

<div class="progression-studios-skrn-slider-upside-down" style="background-image:url(images/slide.jpg);"></div>

.flexslider.progression-studios-slider,
.progression-studios-slider-image-background {
	height:80vh;
}


Slider Responsive Styles

We have adjustsments for font sizes and spacing on tablet and mobile. These are located in the style.css file in the section "29. RESPONSIVE STYLES"


We have a number of buttons built-in to the theme. You can add a simple button using the .btn class. You can also adjust the size via the class "btn-lg" and "btn-sm".

Example Button:

<a class="btn" href="#!">Choose Plan</a>

This site template uses two font icon packs. This allows you to place icons on your site along with the ability to adjust the size and color.

FontAwesome

The social media icons and various bullets/arrows are added via the free FontAwesome font pack. You can find a list of icons on this page: https://fontawesome.com/icons. You can use any "free" icon throughout your site. Here is an example of how easy it is to display an icon:



DashIcons

The star rating icons are added via the free DashIcons font pack. You can find a list of icons on this page: https://github.com/WordPress/dashicons.

Vayvo has video support built-in to the theme. You can see examples of this on the dashboard-home.html and dashboard-movie-profile.html pages. The video player we are using is an open source video player: http://afterglowplayer.com

This player supports locally hosted videos, Youtube, & Vimeo. Full documentation for this video player can be found online: http://docs.afterglowplayer.com

You can open the video player in a lightbox by using the class "afterglow" on a link. Then link to the video player with the matching id. Example:

<a class="btn btn-slider-pro afterglow" href="#VideoLightbox-1"><i class="fas fa-play"></i></a>
	
<video id="VideoLightbox-1" poster="images/videos/poster.jpg" width="960" height="540">
	<source src="/images/videos/sample.mp4" type="video/mp4">
</video>


If you would like to place a video on a page without a lightbox, you can use the class "afterglow" on the video element like so:

<video class="afterglow" poster="images/videos/poster.jpg" width="960" height="540">
	<source src="/images/videos/sample.mp4" type="video/mp4">
</video>


<script src="js/afterglow.min.js" defer></script><!-- Video Player JS Plugin -->


The video background on the landing pae is powered by the plugin "Bideo" You can find a more information on this plugin here: https://rishabhp.github.io/bideo.js/

The javascript rqeuired to run the video background is:

	<script src="js/bideo.js" defer></script>
			

The JavaScript for controlling video is located under /js/video-background.js


You can control the video file in this file:

	    src: [
	      {
	        src: 'images/videos/landing-video.mp4',
	        type: 'video/mp4'
	      }
	    ],
		

The required HTMl for the video background output is:

<video id="background_video" loop muted></video>
<div id="video_cover"></div>	

If you have questions that are beyond the scope of this help file, visit our support forum.

Any questions regarding customizations are not included in item support. It is up to the buyer to make any necessary customizations they need. The official ThemeForest support policy can be found here: https://themeforest.net/page/item_support_policy. That being said we will try and assist all buyers as much as possible with questions.

If you would like to hire us for custom development, please contact here: http://progressionstudios.com/contact/