Overview of the template, its contents, and how to get started with the template.
by pixelwars
Thank you for purchasing our theme. If you have any questions that are beyond the scope of this help file, you can sign in to our support forums with your purchase code. And please rate the theme on themeforest if you liked it. Thanks so much!
- Pixelwars Team
Any questions that are beyond the scope of this help file, use support forums.
Follow us on themeforest and don't miss new upcoming premium themes.
If you liked the theme you can rate it on themeforest in your downloads menu.
We assume you have basic knowledge of HTML / CSS and JS. In this doc you will not learn how to code but you will learn how to setup, use and customize the theme. Before you begin make sure you have a code editor, you can use Dreamweaver or any other editor like Notepad++ will be enough.
Within the download you'll find the following file structure, logically groupped common assets.
Once downloaded, unzip the compressed folder to see the structure of th theme. You'll see something like this:
impressivCard/ ├── css/ ├── js/ ├── images/ └── index.html
ImpressivCard uses jmpress script to create CSS3 3D layout on infinite canvas with fallback to css2 safe layout for not supported browsers. This theme is a kind of a one page template, all pages are in "index.html".
Uses HTML5 Doctype
<!doctype html>
html tag with custom html5 data attributes for easy customizing. You can learn more about in customization section
<html class="light-menu no-overflow" data-safeMod="false" data-mobileSafeMod="true" data-safeModPageInAnimation="fadeInLeft" data-inAnimation="fadeInLeft" data-outAnimation="fadeOutRightBig" data-lightboxInAnimation="fadeInLeftBig" data-profileImageAnimation="rotate-left">
Head tags contains meta tags, font / css and javascript files.
Here is meta tags and title. You can edit them as you want except the viewport meta tag, it preserves responsive layout.
<meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta name="description" content="impressiVcard - impressiVCard Responsive HTML5 VCard Template"> <meta name="keywords" content="impressivcard, vcard, html5, ,portfolio"> <meta name="author" content="Pixelwars"> <title>ImpressivCard</title>
Here is favicon and apple touch icons.
<!-- FAV and TOUCH ICONS --> <link rel="shortcut icon" href="images/ico/favicon.ico"> <link rel="apple-touch-icon-precomposed" sizes="144x144" href="images/ico/iv-logo-144.png"> <link rel="apple-touch-icon-precomposed" sizes="114x114" href="images/ico/iv-logo-114.png"> <link rel="apple-touch-icon-precomposed" sizes="72x72" href="images/ico/iv-logo-72.png"> <link rel="apple-touch-icon-precomposed" href="images/ico/iv-logo-57.png">
Here is font files. Fonts by Google Webfonts
<!-- FONTS --> <link href='http://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Patua+One' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Rokkitt:400,700' rel='stylesheet' type='text/css'>
Here is css files.
<!-- STYLES --> <link rel="stylesheet" type="text/css" href="css/normalize.css"> <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="css/jquery.transitions.css"> <link rel="stylesheet" type="text/css" href="css/main.css"> <link rel="stylesheet" type="text/css" href="css/animate.css"> <link rel="stylesheet" type="text/css" href="css/jquery.fancybox-1.3.4.css">
And here is script files needed.
<!-- SCRIPTS -->
<!--[if lte IE 9]><script src="js/IE9.js"></script><![endif]-->
<!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/jquery-1.7.2.min.js"><\/script>')</script>
<script src="js/jquery.address-1.4.min.js"></script>
<script src="js/detectmobilebrowser.js"></script>
<script src="js/jmpress.js"></script>
<script src="js/iscroll.js"></script>
<script src="js/jScroll.js"></script>
<script src="js/modernizr.js"></script>
<script src="js/jquery.waitforimages.js"></script>
<script src="js/jquery.isotope.min.js"></script>
<script src="js/jquery.transitions.js"></script>
<script src="js/jquery.fitvids.js"></script>
<script src="js/jquery.validate.min.js"></script>
<script src="js/spin.min.js"></script>
<script src="js/jquery.fancybox-1.3.4.pack.js"></script>
<script src="js/send-mail.js"></script>
<script src="js/main.js"></script>
This theme is based on Bootstrap 2 framework which has a solid responsive grid system (1170px to 320px). The HTML files are in well formatted and highly commented.
This is the markup for header.
<!-- ************************ HEADER -->
<header id="header">
<div class="wrapper">
<!-- NAV MENU -->
<nav>
<ul>
<li><a href='#/about'><span>About Me</span></a></li>
<li><a href='#/resume'><span>Resume</span></a></li>
<li><a href='#/portfolio'><span>Portfolio</span></a></li>
<li><a href='#/contact'><span>Contact</span></a></li>
</ul>
</nav>
<!-- NAV MENU -->
<!-- TITLE -->
<div class="title">
<!--<img src="images/site/image-logo.png" alt="logo">-->
<h1>Thomas Edison</h1>
<p>Inventer of the bulb</p>
</div>
<!-- TITLE -->
</div>
</header>
<!-- ************************ HEADER -->
You can use image logo instead of text. Just remove h1 and p elements from div class title and put your image logo (230px/60 px sits well) inside.
Here is the markup for general layout;
<!-- ************************ PAGES -->
<div id="pages">
<!-- PAGE : ABOUT -->
<section id="about" class="page wrapper" data-x="1500" data-y="250" data-rotate="-90" data-scale="16">
<!-- PAGE TITLE -->
<h2 class="caption"><span>ABOUT ME</span></h2>
<div class="iscroll-wrapper">
<div class="scroller container">
<!--row-->
<div class="row">
<!-- ABOUT ME PAGE CONTENT -->
</div>
<!--row-->
</div>
<!--end scroller-->
</div>
<!--iscroll-wrapper-->
</section>
<!-- PAGE : ABOUT -->
<!-- PAGE : RESUME -->
<section id="resume" class="page wrapper resume" data-x="-16500" data-y="-1250" data-rotate="0" data-scale="14">
<!-- PAGE TITLE -->
<h2 class="caption"><span>RESUME</span></h2>
<div class="iscroll-wrapper">
<div class="scroller container">
<!--row-->
<div class="row">
<!-- RESUME PAGE CONTENT -->
</div>
<!--row-->
</div>
<!--end scroller-->
</div>
<!--iscroll-wrapper-->
</section>
<!-- PAGE : RESUME -->
<!-- PAGE : PORTFOLIO -->
<section id="portfolio" class="page wrapper portfolio" data-x="14500" data-y="1250" data-rotate="0" data-scale="4">
<!-- PAGE TITLE -->
<h2 class="caption"><span>PORTFOLIO</span></h2>
<div class="iscroll-wrapper">
<div class="scroller container">
<!--FILTERS-->
<ul id="filters">
</ul>
<!--FILTERS-->
<!-- PORTFOLIO ITEMS -->
<div id="portfolio-items" class="portfolio-items">
</div>
<!-- PORTFOLIO ITEMS -->
</div>
<!--end scroller-->
</div>
<!--iscroll-wrapper-->
</section>
<!-- PAGE : PORTFOLIO -->
<!-- PAGE : CONTACT -->
<section id="contact" class="page wrapper" data-x="14500" data-y="5250" data-rotate="90" data-scale="2">
<!-- PAGE TITLE -->
<h2 class="caption"><span>CONTACT</span></h2>
<div class="iscroll-wrapper">
<div class="scroller">
<!--row-->
<div class="row">
<!-- CONTACT PAGE CONTENT -->
</div>
<!--row-->
</div>
<!--end scroller-->
</div>
<!--iscroll-wrapper-->
</section>
<!-- PAGE : CONTACT -->
</div>
<!-- ************************ PAGES -->
<!-- ************************ PORTFOLIO OVERLAY -->
<div class="p-overlay">
</div>
<!-- ************************ PORTFOLIO OVERLAY -->
<!-- ************************ PORTFOLIO OVERLAY -->
<div class="p-overlay">
</div>
<!-- ************************ PORTFOLIO OVERLAY -->
<!-- ************************ AJAX LOADER -->
<div class="loader"></div>
<!-- ************************ AJAX LOADER -->
<div class="row"> markup. About me page is consist of three columns : Profile Image / Text and Social Media / Personal Titles.
1. Profile Image : Profile image is wrapped in a 3/12 column. <div class="te-images"> keeps your profile image list and <div class="te-cover"> keeps the image that will be shown when page loaded. When user clicks on profile image other images will be shown with a cool css3 animations, you can customize the animation at the customization.
<!--column 3/12--> <div class="span3 profile-image"> <!-- te-wrapper --> <div id="te-wrapper" class="te-wrapper"> <!-- images --> <div class="te-images"> <img src="images/site/profile-1.jpg" alt="profile picture"> <img src="images/site/profile-2.jpg" alt="profile picture"> <img src="images/site/profile-3.jpg" alt="profile picture"> </div> <!-- images --> <!-- cover --> <div class="te-cover"> <img src="images/site/profile-1.jpg" alt="profile picture"> </div> <!-- cover --> <!-- transition --> <div class="te-transition"> <div class="te-card"> <div class="te-front"></div> <div class="te-back"></div> </div> </div> <!-- transition --> </div> <!-- te-wrapper --> </div> <!--column 3/12-->
2. About Me Text and Social Icons : wrapped in a 4/12 column. Consist of some text and social icons. Font icons are used for social icons, since they are vectorel you have retina support!
<!--column 4/12--> <div class="span4"> <!-- about me text --> <h2>...an American <span class="label primary">inventor</span> and businessman.</h2> <p>I create beautiful web interfaces for the digital world. I am focused on the best user experience. I worked with so many big clients. I am the king...</p> <!-- about me text --> <h3>Let's socialize!</h3> <!-- social icons --> <ul class="social"> <li><a class="facebook" href="#">X</a></li> <li><a class="twitter" href="#">_</a></li> <li><a class="linkedin" href="#">v</a></li> <li><a class="flickr" href="#">b</a></li> <li><a class="dribble" href="#">S</a></li> <li><a class="lastfm" href="#">u</a></li> <li><a class="rss" href="#">*</a></li> <li><a class="forrst" href="#">d</a></li> <li><a class="skype" href="#">:</a></li> <li><a class="picassa" href="#">8</a></li> <li><a class="youtube" href="#">'</a></li> <li><a class="google" href="#">k</a></li> <li><a class="vimeo" href="#">!</a></li> <li><a class="behance" href="#">G</a></li> <li><a class="tumblr" href="#">\</a></li> <li><a class="blogger" href="#">J</a></li> <li><a class="delicious" href="#">L</a></li> <li><a class="digg" href="#">Q</a></li> <li><a class="friendfeed" href="#">f</a></li> <li><a class="github" href="#">j</a></li> <li><a class="wordpress" href="#">$</a></li> </ul> <!-- social icons --> </div> <!--column 4/12-->
3. Personal Titles : wrapped in a 5/12 column. You can add or remove more titles.
<!--column 5/12--> <div class="span5"> <!-- personal info --> <ul class="personal-info"> <li><span class="title">NAME</span><span class="value">Thomas Edisson</span></li> <li><span class="title">AGE</span><span class="value">33</span></li> <li><span class="title">BIRTH PLACE</span><span class="value">Mars</span></li> <li><span class="title">ADDRESS</span><span class="value">Lorem st. Ipsum Town 4500 California</span></li> <li><span class="title">E-MAIL</span><span class="value"><a href="mailto:johndoe@company.com">johndoe@company.com</a></span></li> <li><span class="title">PHONE</span><span class="value">+321 456 78 45</span></li> <li><span class="title">FREELANCE</span><span class="value">Available</span></li> </ul> <!-- personal info --> </div> <!--column 5/12-->
Inline Videos : you can put anywhere responsive videos like that;
<!-- inline video example -->
<div class="video-wrap">
<iframe src="http://player.vimeo.com/video/49225173?title=0&byline=0&portrait=0&color=FFE04F" width="500" height="281"></iframe>
</div>
<!-- inline video example -->
Resume page is consist of two columns : Employment and Education / Skills.
1. Employment and Education : wrapped in a 6/12 column. Here is the markup;
<!--column 6/12--> <div class="span6"> <!-- EMPLOYMENT --> <div class="history-group"> <h3><span class="label black">Employment</span></h3> <div class="history-unit"> <h4>Lead UX Designer <span class="work-time">2011 - Present</span></h4> <h5>Apple Inc.</h5> <p>Worked in so many projects for best clients around the world and i get so many experiences based on my job.</p> </div> <div class="history-unit"> <h4>Game Designer <span class="work-time">2007 - 2011</span></h4> <h5>Ubizoft Inc.</h5> <p>Also i have designed levels of some cool games everyone plays.</p> </div> <div class="history-unit"> <h4>Web Developer <span class="work-time">2004 - 2007</span></h4> <h5>Web Agency</h5> <p>Worked in so many projects for best clients around the world.</p> </div> </div> <!-- EMPLOYMENT --> <!-- EDUCATION --> <div class="history-group"> <h3><span class="label black">Education</span></h3> <div class="history-unit"> <h4>Phd Computer Science <span class="work-time">2000 - 2002</span></h4> <h5>MIT</h5> <p>Studied Phd. in MIT on Computer Science.</p> </div> <div class="history-unit"> <h4>Physics <span class="work-time">1996 - 2000</span></h4> <h5>Princeton University</h5> <p>I get my Bachelor Degree in Princeton University.</p> </div> </div> <!-- EDUCATION --> <!-- CV BUTTON --> <div class="launch cv"> <a href="#" class="btn">DOWNLOAD CV</a> </div> <!-- CV BUTTON --> </div> <!--column 6/12-->
2. Skills : wrapped in a 5/12 column with offset1 class its offseted 1 column from left fore more whitespace. Consist of groupped skills with percentage. Use data-percent="number" attribute of <div class="bar" data-percent="40"> to give percentage to each skill.
<!--column 5/12--> <div class="span5 offset1"> <!-- DEV SKILLS --> <div class="history-group"> <h3><span class="label black">Development Skills</span></h3> <div class="history-unit"> <h4>HTML5</h4> <div class="bar" data-percent="100"> <div class="progress"></div> </div> </div> <div class="history-unit"> <h4>CSS3</h4> <div class="bar" data-percent="50"> <div class="progress"></div> </div> </div> <div class="history-unit"> <h4>jQuery</h4> <div class="bar" data-percent="70"> <div class="progress"></div> </div> </div> <div class="history-unit"> <h4>Wordpress</h4> <div class="bar" data-percent="100"> <div class="progress"></div> </div> </div> </div> <!-- DEV SKILLS --> <!-- DESIGN SKILLS --> <div class="history-group"> <h3><span class="label black">Design Skills</span></h3> <div class="history-unit"> <h4>Fireworks</h4> <div class="bar" data-percent="90"> <div class="progress"></div> </div> </div> <div class="history-unit"> <h4>Photoshop</h4> <div class="bar" data-percent="60"> <div class="progress"></div> </div> </div> <div class="history-unit"> <h4>Illustrator</h4> <div class="bar" data-percent="40"> <div class="progress"></div> </div> </div> </div> <!-- DESIGN SKILLS --> </div> <!--column 5/12-->
Portfolio page has 5 columns masonry layout and filtering powered isotope plugin.
1. Filtering : Here is the markup;
data-filter=".design" attiribute keeps the class name of items which will be filtered under same category.<!--FILTERS--> <ul id="filters"> <li class="current"><a href="#" data-filter="*">all</a></li> <li><a href="#" data-filter=".design">design</a></li> <li><a href="#" data-filter=".coding">coding</a></li> <li><a href="#" data-filter=".logo">logo</a></li> </ul> <!--FILTERS-->
2. Portfolio Items : Here is the structure of portfolio items;
<div class="item design"> is related to data-filter=".design" attribute of filter markup.<!-- PORTFOLIO ITEMS --> <div id="portfolio-items" class="portfolio-items"> <div class="item design"> ... </div> <div class="item coding"> ... </div> <div class="item logo"> .. </div> </div> <!-- PORTFOLIO ITEMS -->
We have 2 different types of portfolio item in general; Ajax Portfolio Details (with sidebar - full width layout) / Lightbox (image - image gallery - video)
1. Ajax Portfolio Details Link : uses jquery ajax html loading to show portfolio details. Here is the markup;
<div class="item design">
<div class="media-box">
<img src="images/portfolio/portfolio-08.jpg" alt="portfolio-post">
<div class="mask">
<h3 class="title">SEE PROJECT DETAILS</h3>
<a href="portfolio-item-02.html" class="ico ajax"></a>
</div>
</div>
<h3 class="project-title">Robot in love</h3>
<p class="category">Illustration</p>
</div>
2. Lightbox Portfolio Details Link : uses customized and mobile optimized fancybox plugin. Supports image titles, image gellaries and videos. Here is the markup;
<div class="item coding">
<div class="media-box">
<img src="images/portfolio/portfolio-05.jpg" alt="portfolio-post">
<div class="mask">
<h3 class="title">SEE PROJECT DETAILS</h3>
<a href="images/portfolio-big/portfolio-big-01.jpg" title="This is the title of lightbox image!" data-lightbox-gallery="fancybox-item-02" class="ico lightbox"></a>
<!-- other lightbox images and video -->
<a href="images/portfolio-big/portfolio-big-02.jpg" data-lightbox-gallery="fancybox-item-02" title="Showcase of my cool project" class="hidden lightbox"></a>
<a href="images/portfolio-big/portfolio-big-04.jpg" data-lightbox-gallery="fancybox-item-02" class="hidden lightbox"></a>
<a href="http://player.vimeo.com/video/49225173?title=0&byline=0&portrait=0&color=FFE04F" title="Video title." data-lightbox-gallery="fancybox-item-02" class="hidden lightbox iframe"></a>
<!-- other lightbox images and video -->
</div>
</div>
<h3 class="project-title">Lightbox Gallery</h3>
<p class="category">Game Design</p>
</div>
The first link, with class ico is the thumb for portfolio item, and its target image/video will be shown first once clicked the thumb.
data-lightbox-gallery attribute will be shown as lightbox gallery. iframe to work correctly. 3. Custom Url : opens the url in a new window
<div class="item logo"> <div class="media-box"> <img src="images/portfolio/portfolio-07.jpg" alt="portfolio-post"> <div class="mask"> <h3 class="title">SEE PROJECT DETAILS</h3> <a href="http://www.google.com" class="ico" target="_blank"></a> </div> </div> <h3 class="project-title">Blue Houses</h3> <p class="category">Custom Url</p> </div>
The link, with class ico contains the url and doesn't have ajax class unlike others.
We have two different layout for portfolio details: Sidebar / without Sidebar.
The head markup of portfolio single page differ from index.html, you can think a lighter version.
Less css files;
<!-- STYLES --> <link rel="stylesheet" type="text/css" href="css/normalize.css"> <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="css/main.css">
Less js files;
<!-- SCRIPTS -->
<!--[if lte IE 9]><script src="js/IE9.js"></script><![endif]-->
<!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/jquery-1.7.2.min.js"></script>')</script>
<script src="js/jquery.fitvids.js"></script>
<script>
$(function() { $(".portfolio-single").fitVids(); })
</script>
Here is the generic layout of portfolio single pages;
<div class="portfolio-single container"> <div class="row"> <!-- PORTFOLIO SINGLE CONTENT --> </div> </div>
<div class="portfolio-single container"> in index.html via ajax. 1 - Portfolio Single with sidebar : And the markup is;
<!-- TITLE - column 8/12 --> <div class="span8 portfolio-field portfolio-title"> <h2>LIMITLESS SKY</h2> </div> <!-- TITLE - column 8/12 --> <!-- PORTFOLIO-NAV - column 4/12 --> <div class="span4 portfolio-field portfolio-nav"> <a class="icon button prev ajax" href="portfolio-item-03.html"><</a> <a class="icon button back" href="/#/portfolio">Â</a> <a class="icon button next ajax" href="portfolio-item-02.html">=</a> </div> <!-- PORTFOLIO-NAV - column 4/12 --> <!-- PORTFOLIO-IMAGES - column 8/12 --> <div class="span8 portfolio-field"> <img src="images/portfolio-big/portfolio-big-01.jpg" alt="project"> <img src="images/portfolio-big/portfolio-big-04.jpg" alt="project"> </div> <!-- PORTFOLIO-IMAGES - column 8/12 --> <!-- PORTFOLIO SIDEBAR - column 4/12 --> <div class="span4 portfolio-field"> <h3>Description</h3> <p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. </p> <p>Established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters. </p> <h3>Client</h3> <p>Apple Inc.</p> <h3>Technology</h3> <ul class="tags"> <li><a>HTML 5</a></li> <li><a>CSS 3</a></li> <li><a>jQuery</a></li> <li><a>Responsive Design</a></li> </ul> <div class="launch"> <a href="#" class="btn">LAUNCH PROJECT</a> </div> </div> <!-- PORTFOLIO SIDEBAR - column 4/12 --> <!-- PORTFOLIO-NAV BOTTOM - column 12/12 --> <div class="span12 portfolio-field portfolio-nav bottom"> <a class="icon button prev ajax" href="portfolio-item-03.html"><</a> <a class="icon button back" href="/#/portfolio">Â</a> <a class="icon button next ajax" href="portfolio-item-02.html">=</a> </div> <!-- PORTFOLIO-NAV BOTTOM - column 12/12 -->
2 - Portfolio Single no sidebar : And the markup is;
<!-- TITLE - column 8/12 --> <div class="span8 portfolio-field portfolio-title"> <h2>RETRO RADIO APP</h2> </div> <!-- TITLE - column 8/12 --> <!-- PORTFOLIO-NAV - column 4/12 --> <div class="span4 portfolio-field portfolio-nav"> <a class="icon button prev ajax" href="portfolio-item-02.html"><</a> <a class="icon button back" href="/#/portfolio">Â</a> <a class="icon button next ajax" href="portfolio-item-01.html">=</a> </div> <!-- PORTFOLIO-NAV - column 4/12 --> <!-- PORTFOLIO-IMAGES/VIDEO - column 12/12 --> <div class="span12 portfolio-field"> <img src="images/portfolio-big/portfolio-big-03.jpg" alt="project"> <iframe src="http://player.vimeo.com/video/49225173?title=0&byline=0&portrait=0&color=FFE04F" width="500" height="281"></iframe> </div> <!-- PORTFOLIO-IMAGES - column 12/12 --> <!-- DESCRIPTION - column 5/12 --> <div class="span5 portfolio-field"> <h3>Description</h3> <p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.</p> <div class="launch"> <a href="#" class="btn">LAUNCH PROJECT</a> </div> </div> <!-- DESCRIPTION - column 5/12 --> <!-- TAGS - column 4/12 --> <div class="span4 portfolio-field"> <h3>Technology</h3> <ul class="tags"> <li><a>HTML 5</a></li> <li><a>CSS 3</a></li> <li><a>jQuery</a></li> <li><a>Responsive Design</a></li> <li><a>PHP</a></li> </ul> </div> <!-- TAGS - column 4/12 --> <!-- CLIENT - column 3/12 --> <div class="span3 portfolio-field"> <h3>Client</h3> <p>Apple Inc.</p> </div> <!-- CLIENT - column 3/12 --> <!-- PORTFOLIO-NAV BOTTOM - column 12/12 --> <div class="span12 portfolio-field portfolio-nav bottom"> <a class="icon button prev ajax" href="portfolio-item-02.html"><</a> <a class="icon button back" href="/#/portfolio">Â</a> <a class="icon button next ajax" href="portfolio-item-01.html">=</a> </div> <!-- PORTFOLIO-NAV BOTTOM - column 12/12 -->
Contact page is consist of two columns : Google Map / Contact Form.
1. Google Map : is wrapped in a 7/12 column. Includes google map iframe embed code. And the markup is;
<!--column 7/12--> <div class="map span7"> <h3>Where am I in this world?</h3> <iframe src="http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=little+italy&aq=&sll=36.558188,-86.709595&sspn=3.878053,8.453979&vpsrc=0&ie=UTF8&hq=&hnear=Little+Italy,+New+York&t=m&ll=40.71916,-73.997297&spn=0.014702,0.054417&z=14&iwloc=A&output=embed"></iframe> </div> <!--column 7/12-->
2. Contact Form : wrapped in a 5/12 column. Includes a simple working ajax php contact form. The markup is;
<!--column 5/12--> <div class="span5"> <h3>Drop me a line!</h3> <!--CONTACT FORM--> <form id="contact-form" action="send-mail.php" method="post" class="validate-form"> <fieldset> <!-- personal info --> <ul class="personal-info contact-form"> <li><label class="title" for="name">NAME</label><input class="text required" id="name" name="name" type="text" placeholder="What is your name?"></li> <li><label class="title" for="email">E-MAIL</label><input class="text required email" id="email" name="email" type="text" placeholder="So i can get back to you."></li> <li><label class="title" for="message">MESSAGE</label><textarea class="text required" id="message" name="message" placeholder="And your message to me..."></textarea></li> <li class="submit-area"> <button type="submit" class="btn-send">SEND</button> <input type="hidden" name="submitted" id="submitted" value="true" /> <span class="icon">Ã</span> </li> </ul> <!-- personal info --> </fieldset> </form> <!--CONTACT FORM--> </div> <!--column 5/12-->
Setting Contact Form : Open send-mail.php in your theme folder and edit the lines to your mail address and site name.
// site owner infos $email_to = 'yourmail@gmail.com'; $success_message = "Your message has been successfully sent."; $site_name = 'ImpressiVcard';
Here is a complete list of used css files in the theme and what thay stand for;
Included Fonts (Font icons)
In this theme we have used font icons instead of png icons, because font icons are vector-scalable, ready for retina screens, saves bandwidth and easy to work with.
We are using jquery (v1.7.2) as javascipt framework. We know the latest version of jquery is v1.8.2 but since some of the plugins we have used are not compatible with v1.8.2 we are using jquery version 1.7.2.
Here is a complete list of used script files in the theme and what thay stand for;
We designed the theme for easy customization. You can costumize the theme easily to your needs in two general ways : Html Data Attributes / CSS Skins.
Here is a list of custom data attributes you can use with html tag.
<html class="no-overflow" data-safeMod="false" data-mobileSafeMod="true" data-safeModPageInAnimation="fadeInLeft" data-inAnimation="fadeInLeft" data-outAnimation="fadeOutRightBig" data-lightboxInAnimation="fadeInLeftBig" data-profileImageAnimation="rotate-left" data-jmpressAnimationDuration="1000">
data-mobileSafeMod :
true/false : when true fallbacks to css2 layout, deactivates jmpress 3d layout and iscroll scrollbars for smartphones. Default and recommended : true for performance reasons on smartphones.
data-safeMod :
true/false : when true fallbacks to css2 layout, deactivates jmpress 3d layout and iscroll scrollbars for every device including desktops. Default false.
data-safeModPageInAnimation :
Determines the animation type for page transitions when in safe mode; You can see a full list of supported animations live in animate.css.
data-inAnimation :
Determines the animation type for ajax portfolio details page in animation; You can see a full list of supported animations live in animate.css.
data-outAnimation :
Determines the animation type for ajax portfolio details page out animation; You can see a full list of supported animations live in animate.css.
data-lightboxInAnimation :
Determines the animation type for lightbox in animation; You can see a full list of supported animations live in animate.css.
data-profileImageAnimation :
Determines the animation type for profile image transition. Here is a list of supported animations;
data-jmpressAnimationDuration :
3D jmpress page layout, page transition animation duration in ms , default : 1000
When using jmpress 3d layout, you can customize every pages position in the 3d infinite canvas with page tag data-attributes. Here is full list of page data attributes;
<section id="about" class="page wrapper" data-x="-16500" data-y="-1250" data-rotate="0" data-scale="14">
data-x
Cartesian coordinates: X Position.
data-y
Cartesian coordinates: Y Position.
data-z
Cartesian coordinates: Z Position.
data-r
Polar coordinates: radius.
data-phi
Polar coordinates: angle (starting at top, counterclockwise).
data-scale
Scale of element (also scale-x, scale-y, scale-z).
data-rotate
Degree of rotation.
data-rotate-x
Degree of rotation on x-axis.
data-rotate-y
Degree of rotation on y-axis.
data-rotate-z
Degree of rotation on z-axis.
For more info about jmpress inline attributes you can check out jmpress inline attributes.
data-x, data-y, data-scale and data-rotate attributes. Other attributes will provide you a more complex 3D layouts. Play with the attributes and get yourself a unique 2D/3D page layout on infinite canvas. This theme is designed for easy to style with css skins : predefined organized style files. Here is the file structure of css/skins folder;
css/skins/ ├── background/ ├── base/ ├── color/ ├── extra/ └── menu/
color
Includes 30 predifened styles that changes the primary color of the overall design.
background
Includes 30 background colors + patterns.
base
Includes 2 base style for light-text / dark-text for the theme.
menu
Includes 5 different menu styles.
extra
Includes extra style files.
Add the selected skin style files just before the close bracket of head tag.
<link rel="stylesheet" type="text/css" href="css/skins/base/dark-text.css"> <link rel="stylesheet" type="text/css" href="css/skins/color/blue.css"> <link rel="stylesheet" type="text/css" href="css/skins/background/blue.css"> <link rel="stylesheet" type="text/css" href="css/skins/menu/dark-transparent.css"> <link rel="stylesheet" type="text/css" href="css/skins/extra/glow-light.css"> <link rel="stylesheet" type="text/css" href="css/skins/extra/noise.css">
While this theme is designed for easily styling with predefined css skin files if you want to edit a specific section of the site, follow these steps;
First grab the element you want to style by inspecting element in your browser, right click the element and click Inspect Element. If you don't know how, check out this article, once you are familiar with this approach you will find it extremely easy to edit/override current styles of an element.
Let's say you want to make active filter link item bolder in portfolio filtering. Grab the element by right click on it and click "Inspect Element", on the right pane of developer tool window we can see to code to grab the elemnent with css : #filters .current a Then do the following;
#filters .current a { font-weight: bold; }
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 .
#portfolio #filters .current a { font-weight: bold ; }
And if your new style is not overriding, add !important at the end of style definition;
#filters .current a { font-weight: bold !important; }
head tag. <style>
#filters .current a { font-weight: bold !important; }
</style>
This theme uses three different embeeded fonts; Lora for body, Rokkitt for headings, Patua One for site title and "Georgia" is used in some sections which is a web-safe font, no need to embed it again. We include this three fonts from Google Webfonts which uses font-face technique for font embeeding.
Font declerations are at the head section;
<!-- FONTS --> <link href='http://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Patua+One' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Rokkitt:400,700' rel='stylesheet' type='text/css'>
To change fonts, just go to Google Webfonts site, search and select a new font, click "Quick use" link, then copy the stylesheet code from Add this code to your website: / Standart section and paste the code into head section. Then change the font family name in main.css starting from line:376. These font definitions in main.css are the only font definitions for the entire theme, once you have changed font-family in these lines, you are done!
/* FONTS */
/* BODY */
body, input, textarea, select, button, html input[type="button"], input[type="reset"], input[type="submit"]
{ font-family: Lora, Georgia, "Times New Roman", Times, serif; }
/* HEADINGS */
h1, h2, h3, h4, h5, h6, #filters li
{ font-family: "Rokkitt", serif; }
/* SITE TITLE */
h1 { font-family: "Patua One", serif; }
/* ITALIC FONT */
#header .title p, .history-unit h5
{ font-family:Georgia, "Times New Roman", Times, serif; }