GYMS HTML

"GYMS HTML" Documentation by NoStudio Themes

Created 20/11/2015
By: NoStudio Themes
Email: info@nsthemes.com


Thank you for downloading our theme. If you have any questions that are beyond the scope of this help file, please feel free to email us. You can also let us know how we can improve this theme! Thanks so much!

1. HTML Structure

Nav menu
Here the structure of the nav menu, you can simply change the label like "HOME" and the anchor like "index.html#contacts3-15".
Look at parts highlighted below :

        
<!-- START NAV MENU -->
<nav class="ns-navbar-menu-box ns-navbar-menu-box-inline-right">
 <div class="ns-navbar-column">
  <ul class="ns-navbar-items ns-navbar-items-right ns-buttons ns-buttons-freeze ns-buttons-right btn-decorator ns-buttons-active ns-buttons-only-links">
   <li class="ns-navbar-item"><a class="ns-buttons-link btn text-success" href="#top">HOME</a></li>
   <li class="ns-navbar-item"><a class="ns-buttons-link btn text-success" href="index.html#features1-8">COURSES</a></li>
   <li class="ns-navbar-item"><a class="ns-buttons-link btn text-success" href="index.html#msg-box5-10">ABOUT</a></li>
   <li class="ns-navbar-item"><a class="ns-buttons-link btn text-success" href="index.html#features1-11">TRAINER</a></li>
   <li class="ns-navbar-item"><a class="ns-buttons-link btn text-success" href="index.html#gallery1-13">GALLERY</a></li>   
   <li class="ns-navbar-item"><a class="ns-buttons-link btn text-success" href="index.html#contacts3-15">CONTACT</a></li>
  </ul>
 </div>
</nav>
<!-- END NAV MENU -->
        
       


Parallax
You can simply change image parallax, by renaming the default image (1920x1275.png) and uploading your picture into "images" folder.
Below you can see the example of the text that you have to renaming:

        
<!-- START PARALLAX -->
<section class="ns-box ns-section ns-section-relative ns-section-fixed-size ns-section-full-height ns-section-bg-adapted ns-parallax-background" id="header1-0" style="background-image: url(assets/images/1920x1275.png);">
<!-- END PARALLAX -->
        
       


Content
In this theme you can find some text that help you to change your content:

        
<!-- START GENERAL INFO -->

	....your content goes here....

<!-- END GENERAL INFO -->

<!-- START VIDEO CONTENT -->

	....your content goes here....

	        <iframe class="ns-embedded-video" src="https://www.youtube.com/embed/9_5pjZlWV3A?rel=0&autoplay=0&loop=0"   frameborder="0" allowfullscreen></iframe>

<!-- END VIDEO CONTENT -->

<!-- START TEAM -->

	....your content goes here....

<!-- END TEAM -->


<!-- START FOOTER -->

	....your content goes here....

<!-- END FOOTER -->

        
       


Gallery
You can built your gallery by renaming the gallery images ( thumbnail images ) and by renaming lightbox images ( large images ).
The code below help you to setup your gallery:

        
<!-- START GALLERY -->

    .
    .
    .
    <a href="#lb-gallery1-13" data-slide-to="0" data-toggle="modal">
        <img alt="" src="assets/images/800x533.png">
        <span class="icon glyphicon glyphicon-zoom-in"></span>
    </a>    
    .
    .
    .

<!-- END GALLERY -->

<!-- START LIGHTBOX GALLERY -->
    .
    .
    .
<div class="item">
    <img alt="" src="assets/images/1280x853.png">
</div>
    .
    .
    .
<!-- START LIGHTBOX GALLERY -->
        
       


Maps structure
Visit Google maps to get the coordinates to the map by typing your address into the search field ; after that, you have to paste them in the yellow code below. You can also add some informations in the tooltip, by replacing the text "Genoa", as you can see in the structure below:

        
<!-- START MAPS -->
<figure class="ns-figure ns-figure-wysiwyg ns-figure-full-width ns-figure-caption-outside-bottom" id="map1-8">
    <div class="ns-figure-map ns-google-map">
        <p class="ns-google-map-marker" data-coordinates="44.413512,8.918394">Genoa</p>
    </div>
</figure>
<!-- END MAPS -->
        
       

2. CSS Files

This theme import different CSS files:

  • fonts.googleapis.com this is the extarnal css used for the font type.
  • bootstrap.min.css this is the css of the framework that is used in this theme.
  • animate.css this css help some text animate.
  • style.css (assets/ns-themes/css/style.css) this is the main css file, here you can find color, typography, etc...
  • style.css (assets/ns-themes-gallery/style.css) this is the css of the gallery.
  • style.css (assets/ns-themes-slider/style.css) this is the css of the slider.
  • ns-additional.css some additional css like paragraph style or sub text color for this specified theme.



3. Javascript

This theme import different Javascript files:

  • jquery.min.js this is a javascript library that reduces the amount of code that you must write.
  • bootstrap.min.js bootstrap framework got also javascript file to reduce code to write.
  • maps.googleapis.com this is the external javascritp used to display google maps in the map section of this theme.
  • SmoothScroll.js this javascript allow Smooth Scroll in this theme.
  • jarallax.js this javascript allow parralax image in this theme.
  • masonry.pkgd.min.js this javascript is a grid layout library.
  • imagesloaded.pkgd.min.js this javascript is a library help your images.
  • bootstrap-carousel-swipe.js this is the specified file for the slider in the top of the theme.
  • script.js this is the main javascript file.
  • script.js (ns-themes-gallery) this is the gallery javascript file.
  • jquery.ajaxchimp.min.js this javascript file is used to configure mailchimp subscription.
  • main.js this is a file used to add some additional funcion.



4. Mailchimp

How to configure Mailchimp subscription:
Mailchimp is a solution for Email marketing. You can sign up for free use or get premium features. If you don't have an account click here and create it.
After that open the "main.js" file and change data with your information, see below:

        
$('#mc-form').ajaxChimp({
    language: 'cm',
    url: 'http://nsthemes.us12.list-manage.com/subscribe/post?u=07ab11a197e784f0a8f6214a4&id=d48f6e6eaa'
        //http://xxx.xxx.list-manage.com/subscribe/post?u=xxx&id=xxx
});        
        
       

5. Contact form

How to configure contact form:
Configure contat form is really simply, you have to open the file "mail.php" and change the email address with your email address as you can see in the following line:

        
    mail('info@nsthemes.com', $subject, $_POST['message']);      
        
       

6. Credits

Credits and source file:




Developed with passion by NS Themes - all right reserved - 2015