Corso - Landing Page
Documentation

# INTRODUCTION

Hello and thank you for using Corso Training Course Landing Page Template. Corso is a landing page template built with HTML and Bootstrap featuring image slider, details lightbox, video lightbox, text slider, dropdown navigation, extra pages and working forms.

Built with Bootstrap, HTML, CSS, PHP and JavaScript it will help you achieve your online marketing goals in a beautiful and efficient manner.

Frameworks and toolkits used: Bootstrap, Popper, jQuery, jQuery Easing, Validator, Magnific Popup, Swiper, The Final Countdown.

You can edit the template's Html, Css, Php, Js files with your preferred text and code editor: Notepad++, Visual Code, Sublime or any other...

For image editing you can use Adobe Photoshop or any other graphic editor of your choice.

# FILES STRUCTURE

Documentation - is the folder of this help file.
Web - contains the html, css, js and php files of the template.

Web folder includes index.html file which you will use to open the template and the extra pages: article-details.html, privacy-policy.html, terms-conditions.html. Besides index.html, you will also find the following folders:

- Css - Bootstrap, Font Awesome, Magnific Popup, Swiper and the template's custom stylesheet styles.css
- Images - Images used throughout the template including the favicon and logo
- Js - JavaScript files for Bootstrap, Popper, jQuery, jQuery Easing, Magnific Popup, Swiper, Validator, and Corso's custom scripts: scripts.js
- Php - PHP script files for the contact forms
- Webfonts - Font Awesome files

# IMAGES

### Image Links

Here are the links to the images used throughout the template:

- Header pattern: https://www.freepik.com/premium-vector/japanese-seamless-pattern-collection-decorative-wallpaper_5124086.htm
- Slider: https://www.freepik.com/free-photo/business-executives-discussing-with-their-colleagues-whiteboa_1005923.htm
- Slider: https://www.freepik.com/free-photo/graphic-designers-discussing-whiteboard-with-their-colleagues_1005920.htm
- Slider: https://www.freepik.com/free-photo/business-executives-applauding-their-colleague-after-presentatio_1005898.htm
- Instructor: https://www.freepik.com/free-photo/business-executive-interacting-with-his-colleagues_1005901.htm
- Lightbox: https://www.freepik.com/free-photo/group-business-executives-smiling-camera_1005986.htm
- Students: https://www.freepik.com/free-photo/graphic-designers-discussing-laptop_1005956.htm
- Video: https://www.freepik.com/free-photo/business-executive-explaining-her-colleagues-whiteboard_1005905.htm
- Testimonials: https://www.freepik.com/free-photo/group-business-executives-smiling-camera_1005986.htm
- Date: https://www.freepik.com/premium-photo/3d-rendering-luxury-hotel-reception-lounge_4438066.htm
- Article details image large: https://www.pexels.com/photo/photo-of-imac-near-macbook-1029757/
- Article details image small: https://www.pexels.com/photo/apple-office-internet-ipad-38544/

### Image Resources

You can find your own images while checking out the following free online sources:

- Freepik: https://www.freepik.com/home
- Pexels: https://www.pexels.com/
- SplitShire: https://www.splitshire.com/
- StartupStockPhotos: http://startupstockphotos.com/
- StockSnap: https://stocksnap.io/
- ISO Republic: http://isorepublic.com/
- Videezy: https://www.videezy.com/ - for videos

### Changing The Logo

- Place your image file in the images folder
- Open for editing index.html
- Find Navigation section
- Here find this line of code:

    <a class="navbar-brand logo-image" href="index.html"><img src="images/logo.svg" alt="alternative"></a>

- And replace logo.svg with your new file name
- Save the file and refresh the browser window to see the changes

### Changing The Header Background Pattern

- Corso uses a pattern image as background decoration for the Header and Footer sections
- To change the image save the new one in the images folder
- Open for editing css/styles.css
- Find the Header section
- Then find the following piece of code:

    .header {
    	position: relative;
    	background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/header-background.jpg') center center no-repeat;
    	background-size: cover;
    	padding-top: 8rem;
    	padding-bottom: 40%;
    	text-align: center;
    }

- And replace header-background.jpg with your new file name
- Save the file and refresh the browser window to see the changes

### Changing Slider Images

- Edit and save the image files in the images folder
- Open for editing index.html
- Find the section Header then Image Slider then the following lines of code

    <!-- Slide -->
    <div class="swiper-slide" >
    	<img class="img-fluid" src="images/details-slide-1.jpg" alt="alternative">
    </div>
    <!-- end of slide -->

- Here replace details-slide-1.jpg with your own file name
- Save the file and refresh the browser window to see the changes
- Repeat the steps above for all slides
- For optimum results with the least amount of work I recommend using the same image size as the original in the Live Preview

### Changing Testimonial Section Images

- Edit and save the image files in the images folder
- Open for editing index.html
- Find the section Testimonials then Text Slider then the following lines of code

    <!-- Slide -->
    <div class="swiper-slide">
    	<div class="image-wrapper">
    		<img class="img-fluid" src="images/testimonial-1.jpg" alt="alternative">
    	</div> <!-- end of image-wrapper -->
    	<div class="text-wrapper">
    		<div class="testimonial-text">I took the SEO training course about a year ago and I am very happy. It taught me all the basics of search engine optimization and some tricks.</div>
    		<div class="testimonial-author">Jude Thorn - Online Marketer</div>
    	</div> <!-- end of text-wrapper -->
    </div> <!-- end of swiper-slide -->
    <!-- end of slide -->

- Here replace testimonial-1.jpg with your own file name
- Save the file and refresh the browser window to see the changes
- Repeat the steps above for all the slides
- For optimum results with the least amount of work I recommend using the same image size as the original in the Live Preview

Corso uses the Swiper plugin for the text slider. You can change settings like: time between slides, pause on hover, reactions to keyboard and others by visiting the plugins page: http://idangero.us/swiper/api/ and adding them to the Text Slider - Swiper section in js/scripts.js

    /* Text Slider - Swiper */
    var textSlider = new Swiper('.text-slider', {
    	autoplay: {
    		delay: 6000,
    		disableOnInteraction: false
    	},
    	loop: true,
    	navigation: {
    		nextEl: '.swiper-button-next',
    		prevEl: '.swiper-button-prev'
    	},
    	spaceBetween: 70,
    	slidesPerView: 2,
    	breakpoints: {
    		// when window is <= 1199px
    		1199: {
    			slidesPerView: 1,
    		},
    	}
    });

# ICONS

### Font Awesome Icons

Corso uses Font Awesome icon font in many sections and elements.

To change one of the Font Awesome icons you can simply replace the classes that you'll find in index.html e.g. fa-atom, fa-key, fa-newspaper with the ones that you need from http://fontawesome.io/icons/

### Social Media Icons

To change social media icons in the Footer section of the template, you need to:
- Open index.html from the template folder
- Find the section Social Links in the Newsletter:
- And replace fa-facebook, fa-twitter, and so on... with the classes name that you need from http://fontawesome.io/icons/ in the Brand Icons section
- Also don't forget to replace href="#your-link" with the link to your social page or account

### Social Media Tip

If you want to control the way the posts look like when you share the landing page on social media (Facebook, Google+ and LinkedIn especially) don't forget to update the OG Meta Tags (OpenGraph) in the Head section of the index.html file.

    <meta property="og:site_name" content="" /> <!-- website name -->
    <meta property="og:site" content="" /> <!-- website link -->
    <meta property="og:title" content=""/> <!-- title shown in the actual shared post -->
    <meta property="og:description" content="" /> <!-- description shown in the actual shared post -->
    <meta property="og:image" content="" /> <!-- image link, make sure it's jpg -->
    <meta property="og:url" content="" /> <!-- where do you want your post to link to -->
    <meta property="og:type" content="article" />

You can check out An Introduction To Using Facebooks Open Graph Protocol courtesy of Engage Interactive

# CONTACT FORMS

To receive emails with data from your visitors simply change the line $EmailTo = "yourname@domain.com"; to your email address in the php folder in the following files:

- contactform-process.php
- newsletterform-process.php
- privacyform-process.php
- registrationform-process.php

Attention:The script only runs online (on a liver server with PHP support) so the forms will not work while the landing page is offline on your hard-drive

If you want to change input fields names, you will need to update them accordingly in the following files:

- index.html, scripts.js and the php file from the php folder.

### Setup A Redirect Page On Form Submit

To setup a redirect to a thank you page on form submit, you need to:
- Open js/scripts.js inside the template folder
- Find the following block of code in the form section

    function rformSuccess() {
    	$("#registrationForm")[0].reset();
    	rsubmitMSG(true, "Request Submitted!");
    	$("input").removeClass('notEmpty'); // resets the field label after submission
    }

- And change it to:

    function rformSuccess() {
    	$("#registrationForm")[0].reset();
    	window.location.href = "https://yourlinkhere.com";
    }

- And replace inside the quotes https://yourlinkhere.com with your link

# SUPPORT

Premium items: Support is taken very seriously and is offered via email lucian@inovatik.com for 12 months from the purchase date.

Free items: Because of limited resources at this point I am not able to provide support for free items but don't hesitate to send your questions at lucian@inovatik.com and I will try to help and at least point you in the right direction.