Affapress Documentation

This documentation contains a complete tutorial that will make you easier to customize the look of the template as you want.

Thank you very much for purchasing from Affapress.

If you have any issues or questions that this documentation does not cover, you can send us a message to support@affapress.com.
You can get more updates documentation here!


Template Installation


You can view this template in any web browser from your desktop computer. Because the files are written in HTML, you do not need an internet connection in order to display or edit the template from your text editor.

All of the HTML files are given a descriptive name to make it easier to distingish what each file will display.

Upload to The Server

  1. It's important to understand that you must either have your own server space or use someone elses. The server space can be purchased at many different places around the internet. You need somewhere to put the files that you purchased so others can find them online.
  2. Select /html/ folder, then choose layout which you want, and there will have several files with the extension labeled .html. This is where all your content will. In addition to .html you should see a file labeled .css. The .css files are going to be the files that will tell the .html how to to be styled. CSS is simply a way to take text, images, and other elements and change the look of them. It's very important to keep the .css file with the HTML or the HTML will not look how the design is meant to look. Along with the HTML and CSS files, you will also have five additional folders to upload: css, fonts, images, js and mailchimp.
  3. Start your FTP client (I persoanlly use Filezilla which is free) and login. Login to your server. You will need your server name (often times this will be your domain name), username, and password that you setup with the hosting company.
  4. Locate the domain folder you wish to upload your template files to on your server. You are going to want to click and drag every file that you have labeled .html, .css, .js into your FTP client.
  5. Once the files are done uploading, you can try access your website via browser.

Change The Template Color

It's easy to change color of this template, you just need to change the a line code below:

  1. Open the .html file (example index.html).
  2. Find this line of code in <head> section:
                        <!-- Custom Colors -->
                        <!--<link rel="stylesheet" href="css/colors/blue.css">-->
                        <!--<link rel="stylesheet" href="css/colors/green.css">-->
                        <!--<link rel="stylesheet" href="css/colors/pink.css">-->
                        <!--<link rel="stylesheet" href="css/colors/purple.css">-->
                        <!--<link rel="stylesheet" href="css/colors/yellow.css">-->
                        
  3. Choose your favorite color with remove one of the comment tag like this:
                        <!-- Custom Colors -->
                        <!--<link rel="stylesheet" href="css/colors/blue.css">-->
                        <link rel="stylesheet" href="css/colors/green.css">
                        <!--<link rel="stylesheet" href="css/colors/pink.css">-->
                        <!--<link rel="stylesheet" href="css/colors/purple.css">-->
                        <!--<link rel="stylesheet" href="css/colors/yellow.css">-->
                        
  4. Save and see the result!

HTML Structure


This site template has a fixed layout with a variation of column layouts depending on the page. This template uses the 1170 grid system (12 columns) which will help streamline any customization you wish to make. If you're unfamiliar with the 1170 grid system, be sure to read about it here!

The main structure of this site is wrapped in a 'container' div. Inside of that div you will find each major section of the site given an appropritae grid size all equalling 12 columns in length. For example, the '#main' element has a class of 'col-sm-8' and the '#side' element has a class of 'col-sm-4'. The total columns equals 12 columns.

                <div class="container">
                    <div class="row">
                        <div id="main" class="col-sm-8"></div>
                        <div id="side" class="col-sm-4"></div>
                    </div>
                </div>
                

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

                .navbar { text-align:center; }
                

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.

                #header .navbar { text-align:center; }
                

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.


Site Logo

You can change the main site logo with change this code:

                <div class="navbar-brand">
                    <a href="index.html"><img src="images/logo.png" alt="Logo" /></a> <!-- site logo -->
                </div>
                

Main Navigation

You can change the main site navigation with change this code:

                <ul class="nav navbar-nav">
                    <li class="active"><a href="#header" class="smooth-scroll">Home</a></li>
                    ....
                    <li class="menu-btn"><a href="#">Sign-Me Up!</a></li>
                </ul>
                

Header Elements

In this section you can change the header content like header title text, sign-up form and featured list.

                <!-- .header-content -->
                <div class="header-content">
                    
                    <!-- .container -->
                    <div class="container">
                        
                        <div class="header-heading-title">
                            <h1>....</h1>
                            <h4>....</h4>
                        </div>
                        
                        <!-- .row -->
                        <div class="row">
                            
                            <div class="col-sm-5 col-md-4">
                                <div class="header-form">
                                    <div class="header-form-heading">
                                        <h4><i class="fa fa-pencil"></i> ....</h4>
                                        <p>....</p>
                                    </div>
                                    <div class="header-form-body">
                                        <div class="submit-status"></div> <!-- submit status -->
                                        <form method="post" action="#" class="affa-form-signup">
                                            ....
                                        </form>
                                        <p class="txt-desc">....</p>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="col-sm-7 col-md-8 col-lg-7 col-lg-offset-1">
                                <ul class="header-txt-list">
                                    <li>
                                        <i class="fa fa-laptop"></i>
                                        <h4>....</h4>
                                        <p>....</p>
                                    </li>
                                    ....
                                </ul>
                            </div>
                            
                        </div>
                        <!-- .row end -->
                        
                    </div>
                    <!-- .container end -->
                    
                </div>
                <!-- .header-content end -->
                

Feature Elements

In this section you can change the features list offered by your product or service.

Feature Icon Text:

                <!-- .row -->
                <div class="row">
                    
                    <div class="col-sm-4">
                        <div class="affa-feature-icon">
                            <i class="fa fa-plug"></i>
                            <h4>....</h4>
                            <p>....</p>
                        </div>
                    </div>
                    
                    ....
                    
                </div>
                <!-- .row end -->
                

Note: You can see the complete list of font icons here!

Feature Image Text:

                <!-- .row -->
                <div class="row">
                    
                    <div class="col-sm-4">
                        <div class="affa-feature-img">
                            <img src="images/content/feature/1.jpg" alt="Image">
                            <h4>....</h4>
                            <p>....</p>
                        </div>
                    </div>
                    
                    ....
                    
                </div>
                <!-- .row end -->
                

Feature Column Text:

                <!-- .row -->
                <div class="row">
                    
                    <div class="col-sm-6 col-md-5 margin-bottom40">
                        <figure><img src="images/content/landing/apple-devices.png" alt="Image"></figure>
                    </div>
                    
                    <div class="col-sm-6 col-md-7 col-lg-6 col-lg-offset-1 margin-bottom20">
                        <div class="col-txt100">
                            
                            <div class="post-heading-left post-heading-top-desc margin-bottom20">
                                <p>....</p>
                                <h2>....</h2>
                            </div>
                            
                            <p>....</p>
                            
                            <div class="list-icon">
                                <ul>
                                    <li><i class="fa fa-check-square-o"></i> ....</li>
                                    ....
                                </ul>
                            </div>
                            
                        </div>
                    </div>
                    
                </div>
                <!-- .row end -->
                

Testimonial Element

In this section you can change the testimonials list from your customers about your product or service.

                <!-- .carousel-slider -->
                <div class="carousel-slider affa-testimonials-carousel">
                    
                    <div class="slick-slide">
                        <div class="container">
                            <div class="affa-testimonial">
                                <div class="testimonial-txt">
                                    <p>....</p>
                                </div>
                                <div class="testimonial-name">
                                    <img src="images/content/avatar/1.jpg" alt="Avatar">
                                    <h4>....</h4>
                                    <p>....</p>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    ....
                    
                </div>
                <!-- .carousel-slider end -->
                

Counter Text Element

In this section you can display you products, members, downloads and visitors number of your company.

                <!-- .row -->
                <div class="row">
                    
                    <div class="col-sm-3">
                        <div class="affa-counter-txt">
                            <i class="fa fa-smile-o"></i>
                            <h4>2560</h4>
                            <p>Visitors</p>
                        </div>
                    </div>
                    
                    ....
                    
                </div>
                <!-- .row end -->
                

Note: You can see the complete list of font icons here!


Pricing Table Element

In this section you can show the plans and pricing for the services provided by your product or service.

                <!-- .affa-tbl-prc -->
                <div class="affa-tbl-prc">
                	<div class="row">
                        
                        <div class="col-sm-4">
                            <div class="tbl-prc-col">
                                <div class="tbl-prc-heading">
                                    <h4>....</h4>
                                    <div class="tbl-prc-price">
                                        <h5><span>$</span>....</h5>
                                        <p>...</p>
                                    </div>
                                </div>
                                <ul class="tbl-prc-list">
                                    <li>....</li>
                                    ....
                                </ul>
                                <div class="tbl-prc-footer">
                                    <a href="#" class="btn-custom btn-small">....</a>
                                </div>
                            </div>
                        </div>
                        
                        ....
                        
                    </div>
                </div>
                <!-- .affa-tbl-prc end -->
                

FAQ Element

In this section you can show your clients frequently asked questions.

                <!-- .row -->
                <div class="row">
                    
                    <div class="col-sm-6">
                        <div class="affa-faq">
                            <h4>....</h4>
                            <p>....</p>
                        </div>
                    </div>
                    
                    ....
                    
                </div>
                <!-- .row end -->
                

Map Element

In this section you can show the map address of your company.

                <!-- .affa-map -->
                <div class="affa-map">
                    
                    <a href="#" class="btn-collapse"><i class="fa fa-map-marker"></i></a>
                    
                    <div class="map-overlay">
                        <div class="container">
                            <div class="map-heading">
                                <h2>....</h2>
                                <p>....</p>
                            </div>
                        </div>
                    </div>
                    
                    <div id="companyMap" class="map-frame"></div>
                    
                </div>
                <!-- .affa-map end -->
                

Note: To change the Google Maps settings you can follow this steps!


Bottom Element

In this section you can show the subscribe form element and place above the footer section.

                <!-- #bottom -->
                <div id="bottom" class="bg-img">
                    
                    <!-- .bg-overlay -->
                    <div class="bg-overlay">
                        
                        <!-- .container -->
                        <div class="container">
                            
                            <div class="post-heading-center">
                                <h2>....</h2>
                                <p>....</p>
                            </div>
                            
                            <form method="post" action="#" class="affa-form-subscribe">
                                <input type="text" name="email" placeholder="Email address....">
                                <input type="submit" name="submit" value="Subscribe Now">
                            </form>
                            
                            <p class="txt-desc">....</p>
                            
                        </div>
                        <!-- .container end -->
                        
                    </div>
                    <!-- .bg-overlay -->
                    
                    <div class="bg-img-base" style="background-image:url(images/content/bg/3.jpg);"></div>
                    
                </div>
                <!-- #bottom end -->
                

Footer Elements

In this section you can change your social media links and copyright text with your own name or company.

                <!-- #footer -->
                <footer id="footer">
                    
                    <!-- .container -->
                    <div class="container">
                        
                        <p class="copyright-txt">....</p>
                        
                        <div class="socials">
                            <a href="#" title="Facebook" class="link-facebook"><i class="fa fa-facebook"></i></a>
                            ....
                        </div>
                        
                    </div>
                    <!-- .container end -->
                    
                </footer>
                <!-- #footer end -->
                

Note: You can see the complete list of font icons here!


FontAwesome Icon Packs

You can also use built-in icon packs in this template, all icons use CSS Font feature, so you can edit and give color to the icon easily. For referrences to easier you use all icons you can visit here!


CSS Structure


I'm using one main CSS file (/css/style.css), in this template which you are free to modify depending on the customization you require. There are also 7 additional style sheets that I do not recommend changing. Those style sheets reside in the /css/ folder. Below are 7 additional CSS files:

  • bootstrap.min.css - This is a main stylesheet that required for basic template styling like grid, form, input and web elements.
  • font-awesome.min.css - CSS stylesheets for font icon packs.
  • jquery.fancybox.css - This stylesheet used for styling the images gallery popup.
  • slick.css - This stylesheet use for styling all the web carousel elements.
  • slick-theme.css - Add additional styling to make Slick Slider look more elegant.
  • no-js.css - This stylesheet will be enabled if your browser don't support javascript.
  • ie-older.css - This stylesheet will be enabled if you use Internet Explorer 7 and below.

The main CSS file (/css/style.css) contains all of the specific stylings for the page. The file was divided into several sessions as below:

                /* ========================= Site Styles ========================= */
                
                General styles for all web elements
                
                /* ========================= Header ========================= */
                
                CSS styles for the header section
                
                /* ========================= Elements ========================= */
                
                CSS styles for specific web elements
                
                /* ========================= Footer ========================= */
                
                CSS styles for the bottom and footer section
                
                /* ========================= Media Queries ========================= */
                
                CSS styles for support all kinds of different screen sizes
                

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.


Scripts


This theme uses several scripts many of which are documented within the theme's code. If you're a developer, you will find this particularly useful.


Below is some scripts to change the Google Maps settings (place before </body> tag):

                var map;
                
                map = new window.GMaps({
                    div: '#companyMap',
                    lat: -12.0411925,
                    lng: -77.0282043,
                    scrollwheel: false,
                    zoomControl: false,
                    disableDoubleClickZoom: false,
                    disableDefaultUI: true
                });
                
                map.addMarker({
                    lat: -12.042,
                    lng: -77.028333,
                    title: 'Company Name',
                    infoWindow: {
                        content: 'Your Company Name'
                    }
                });
                

Note: You can see the complete documentation here!


PHP Integration


This template use the PHP engine for subscribe form has supported with MailChimp integration. To activate this integration you must make some adjusment to several php files.

Required: You has already signed in mailchimp.com and was familiar with the features provided by the MailChimp.

To adjust the MailChimp integration, follow this instruction:

  1. Open the /mailchimp/config.inc.php file.
  2. Change $apikey variable with your MailChimp API Key, you can see in http://admin.mailchimp.com/account/api
  3. Also change $listId variable with your MailChimp List ID. To get the List ID, login to your MailChimp account » select one of the list that has been created » go to Settings menu » List name & defaults.

This template also use the PHP engine for processing the sign-up form. Through this form a message will send to guest/visitor email with use your email address as a sender email. So you can edit your email address in process-signup.php file.

                $my_email = 'support@affapress.com'; // Change with your email address
                

Image Files


The following Photoshop files are included with download package file, all the files place in /psd/ folder.

  • index.psd

In addition to several other mockups you can download it for free through the links below:


Credits




Once again, thank you so much for purchasing this template. As I said at the beginning, I'd be glad to help you if you have any questions relating to this theme. Please contact me via email or social media. I'll do my best to assist!