SKRN - 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.

SKRN 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 green 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 "#3db13d" 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:#3db13d;
}

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 are located in two places:

script.js - This javascript effects the options for the landing page sliders (index.html).

script-dashboard.js - This javascript effects the options for all the dashboard pages.


An example from script.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. The landing page (index.html) styles are located in the section "19. HOMEPAGE STYLES". The dashboard slider styles are located in the section "11. DASHBOARD SLIDER STYLES".

The default FlexSlider styles are located in the section "20. FLEXSLIDER DEFAULT STYLES". This seciton controls things like the left/right navigation styles and bullets.


Slider Height

The slider height is controlled in a number of ways. Here is an example from the site template that is 85% of your browser height (vh). You can adjust this to any other vh OR to a pixel number like 700px.

.flexslider.progression-studios-dashboard-slider {
	background:#fafafa;
	height:85vh;
}

.progression-studios-slider-dashboard-image-background {
	height:85vh;
	background-repeat: no-repeat;
	background-position:center center;
	background-size: cover;
}

Mobile Slider Height: The sliders do have a minimum height also set on mobile. This min-height is 640px and located at the end of the style.css file (line 4549):

.progression-studios-full-height-slider .progression-studios-slider-dashboard-image-background,
.flexslider.progression-studios-dashboard-slider.progression-studios-full-height-slider {
	min-height:640px;
}

.flexslider.progression-studios-dashboard-slider,
.progression-studios-slider-dashboard-image-background {
	min-height:640px;
}

.flexslider.progression-studios-dashboard-slider,
.progression-studios-slider-dashboard-image-background {
	min-height:640px;
}

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 "24. RESPONSIVE STYLES"


Overlay on Mobile

On a some of the sliders we have an overlay color added on mobile. This is so the text is more readable on mobile as the background image is limited. This is added via the class "progression-studios-slider-mobile-background-cover". You can search for the class in the style.css file to see how the color is added.

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>

Example Highlight Color Button (Add class btn-green-pro ):

<a class="btn btn-green-pro" href="#!">Learn More</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:

<i class="fab fa-facebook">

Iconsmind Ultimate Pack

The SKRN site template also includes the premium Iconsmind font pack: https://iconsmind.com/.

You can find a list of all the icons in your site template files under /icons/Iconsmind__Ultimate_Pack/Link Icons/demo.html. Also, you can find them listed online here:

Adding the icon to a page is easy as adding this HTML:

<span class="icon-User"></span>

Genre Icons (Image)

The gengre icons used in the theme are a custom image icon, not a font. You can find the original photoshop version of these icons if you want to edit them via photopshop. They are located in /Additional Files/Original Design/genres-icons.psd in your download.

Skrn 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="progression-studios-slider-play-btn afterglow" href="#VideoLightbox-1"><i class="fas fa-play"></i></a>
	
<video id="VideoLightbox-1" poster="https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-HD.jpg?v1" width="960" height="540">
	<source src="https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-HD.mp4" type="video/mp4">
	<source src="https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-HD.webm" type="video/webm">
</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="https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-HD.jpg?v1" width="960" height="540">
	<source src="https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-HD.mp4" type="video/mp4">
	<source src="https://cdn.plyr.io/static/demo/View_From_A_Blue_Moon_Trailer-HD.webm" type="video/webm">
</video>


Landing Page: The landing.html pages do not have required javascript in the footer. If you want to add a video to those pages, you will need to include the video javascript in the footer:

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


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/