“ThreeSixty Bootstrap 3 Template” Documentation by “Fabian Bentz” v1.0


“ThreeSixty Template”

Created: 04/27/2014
By: Fabian Bentz
Email: info@fabianbentz.de

Thank you for downloading my theme.


Table of Contents

  1. HTML Structure
  2. CSS Files and Structure
  3. JavaScript
  4. Sources and Credits
  5. PHP Code Explanation

A) HTML Structure - top

This theme is a responsive layout with 12 columns build on Bootstrap 3. All of the informations are nested within a div with an specific id. The general template structure is the same throughout the template. Here is the general structure.

HTML Structure

If you would like to edit the background, font, or style of any elements in one of these columns, you would do the following:

	#about {
		background-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.

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.


B) CSS Files and Structure - top

I'm using 7 custom CSS files in this theme. The first one is the "custom.css" file. This file also contains some general styling. Every of the 6 Color Styles uses a specific CSS file. This Files contains anchor tag colors, font-colors, etc. Keep in mind, that these values might be overridden somewhere else in the file.

  1. custom.css
  2. Color Themes:
  3. theme1.css
  4. theme2.css
  5. theme3.css
  6. theme4.css
  7. theme5.css
  8. theme6.css

All files are separated into sections using:

	

	1. NAVBAR
	   - some Code -
    2. ABOUT US
       - some Code -
    3. SERVICE
       - some Code -
    4. PORTFOLIO
       - some Code -
    5. TEAM
       - some Code -
    6. PRICE TABLES
       - some Code -
	
	etc, etc. 

If you would like to edit a specific section of the site, simply find the appropriate label in the CSS file, and then scroll down until you find the appropriate style that needs to be edited.

The other 6 CSS Files included in this Template are necessary files from Bootstrap/Sequence Slider/Magnific Popup/etc. .

  1. bootstrap.css
  2. color.switch.css
  3. jquery.bxslider.css
  4. magnific-popup.css
  5. sequence-slider.css
  6. top.css

C) JavaScript - top

This theme imports 13 Javascript files.

  1. jquery-1.10.2.min.js
  2. My custom script:
  3. functions.js
  4. Plugins:
  5. jquery.mixitup.min.js
  6. magnific.js
  7. jquery.bxslider.min.js
  8. jquery.sequence-min.js
  9. nbw-parallax.js
  10. jquery.inview.js
  11. smoothscroll.js
  12. jquery.sticky.js
  13. jquery.style-switcher.js
  14. jquery.flexisel.js
  15. retina-1.1.0.min.js
  1. jQuery is a Javascript library that greatly reduces the amount of code that you must write.
  2. Most of the animation in this site is carried out from the customs scripts. For Example the Portfolio Hover Overlay:
    $('.overlay').hover( 
            function(){
                $(this).find('.caption').fadeIn(550); 
            },
            function(){
                $(this).find('.caption').fadeOut(550); 
            }
    ); 
    
  3. In addition to the custom scripts, I implement a few "tried and true" plugins to create the effects. This plugins are packed, so you won't need to manually edit anything in the file. The only necessary thing to know is how to call the method. For example:
    	
    $(function(){
             $('#Grid').mixitup({
                    targetSelector: '.mix',
                    filterSelector: '.filter',
                    effects: ['fade','blur'],
                    easing: 'smooth',
    
                });
    });

D) Sources and Credits - top

I've used the following plugins, images, icons or other files as listed.


E) PHP CODE - top

I'm use 1 custom PHP file (contact.php) in this theme for the Contact Form. You only have to add your Mail Adress and your Subject.

	
// Get the Values from the Contact form
$EmailFrom = "Website Contact Form";
$EmailTo = "YOUR MAIL ADRESS";             // insert your email address here
$Subject = "YOUR SUBJECT HERE";            // insert your Subject here
$name = Trim(stripslashes($_POST['name'])); 
$email = Trim(stripslashes($_POST['email'])); 
$phone = Trim(stripslashes($_POST['phone']));
$message = Trim(stripslashes($_POST['message'])); 
	

Once again, thank you so much for downloading this theme.

Fabian Bentz

Go To Table of Contents