1. Introduction
  2. HTML Structure
  3. CSS Files and Structure
  4. Customization
    1. Color scheme & Layout type:
    2. Fonts and text colors:
    3. LayerSlider setup:
    4. Email:
    5. Twitter:
    6. Google Maps:
  5. JavaScript
  6. PSD Files
  7. Credits

Clinico

Responsive Medical and Health Template


Thank you for purchasing our template. If you have any questions that are beyond the scope of this help file, please feel free to contact us. Thanks so much!

Please note: for questions on basic HTML, JavaScript or CSS editing - please give your question to Google or visit W3Schools. You will need some HTML/CSS knowledge to edit this template.

HTML Structure


Clinico template has a fixed layout with up to twelve columns. All the information within the main content area is nested within a div. The general template structure is the same throughout the template.

The multi column layout consists of the following div classes: 
.vc_span12,
.vc_span11,
.vc_span10,
.vc_span9,
.vc_span8,
.vc_span6,
.vc_span5,
.vc_span4,
.vc_span3,
.vc_span2,
.vc_span1,
 

If you would like to edit the color, font or style of any element on the site please find the element's class or ID and locate where it is being controlled in style.css.

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.

CSS Files and Structure


We're using multiple CSS files in this template. Those files also contain some general styling, such as anchor tag colors, font-sizes etc. Keep in mind that these values might be overridden somewhere else in the files below:

  1. style.css - main css file (included reset styles);
  2. crscheme.css - current color css file;
  3. font-awesome.css - Font Awesome 4.0.3 css file;
  4. layerslider.css - the Layer Slider styles;
  5. jquery.fancybox.css - contain the styles for FancyBox script;
  6. owl.carousel.css - contain the styles for Owl Carousel;
  7. color-blue.css, color-cyan.css, color-green.css, color-orange.css, color-pink.css, color-purple.css - template color stylesheets;

Please note: Clinico includes 6 main colour variations (Blue, Cyan, Green, Purple, Pink and Orange) which are located in one folder "css". To activate another then the default color scheme we need to rename the appropriate color css file to "crscheme.css".

At first glance, the CSS may look confusing, let me explain each below:

Main CSS Files

Handy CSS Classes:
.clearfix - A quick way to clear floated HTML elements
.top-link - Use this button to smoothly scroll to the top of a page.
.left - Float item to left
.center - Center item
.right - Float item to right

style.css file contains specific styling for the page. The file is separated into sections using:

-- General
  -- fonts
  -- COMPOSER
  -- defaults
  -- forms
  -- buttons
  -- page
  -- grid
  -- typography
  -- clearfix
-- Plugins
  -- isotope
  -- owl carousel
-- HEADER
  -- layout
  -- logo
  -- main nav
  -- mobile main nav
  -- quick search
-- CONTENT
  -- layout
  -- page title
  -- slider
  -- benefits
  -- services
  -- news
  -- photo tour
  -- Services Carousel
  -- Features unlimited color
  -- page-404
  -- Retina ready and responsive
  -- captcha
  -- blog post
  -- comments
  -- add comment
  -- doctors
  -- doctors carousel
  -- timetable
  -- map
  -- feedback
-- ELEMENTS
  -- text
  -- accordion
  -- buttons
  -- callout
  -- capitalized
  -- chart graph
  -- dividers
  -- icons
  -- messages
  -- milestone
  -- pricing table
  -- progress bar
  -- services
  -- news
  -- location
  -- recent posts
  -- work time
  -- copyrights
-- ANIMATIONS
  -- slide up
  

Template customization


Color scheme & Layout type:

  1. With the help of Style Switcher (see the picture below) please choose a suitable color scheme for your website. Let's choose the pink one as example.
    Active Pattern
  2. Now we need to apply this color scheme and activate it. Just open the "css" folder of your template and find the appropriate .css file (in our case it's called "color-pink.css"). After doing this we need to rename the current "crscheme.css" file to "crscheme_old.css" then rename "color-pink.css" to "crscheme.css".
  3. In case of applying the boxed layout we need to add "page-boxed" class to the main div of each html page:
  4. That's all, your new color scheme and page layout are setup and applied to all html files!

Fonts and text colors:

  1. Choose the needed font for your main menu or content. (for example we can choose any font from google fonts: http://www.google.com/webfonts#ChoosePlace:select)
  2. Let's choose Happy Monkey font as example.
  3. All you need to do is import the font at the beginning of the style.css file:
    @import url(http://fonts.googleapis.com/css?family=Happy+Monkey);

    and edit the according class or ID.
    In case of changing the main menu font, we need to find and edit this class: ".main-nav"
    .main-nav {
    	position: absolute;
    	top: 0;
    	right: 50%;
    	margin-right: -585px;
    	font:400 14px/1.5em 'Happy Monkey', sans-serif;
    }
    
    add this line "font:400 14px/1.5em 'Happy Monkey', sans-serif;".
    The same steps we should take to change fonts for the headings or any other template sections;

LayerSlider setup:

We're using LayerSlider plugin in this template. The manual for this slider is located here.

Email setup for contact form:

  1. Our Clinico template includes working contact form. To change the email address so that all messages would come to your email we'll need to edit just one file called "contact-send.php" at line 10 which is located in the "php" folder:
            $ourMail = "[email protected]"; 
            
    so, instead of "[email protected]" just input your email address and upload the file to your host. That's all! The contact form and under construction page will send all inquiries to your email address.

Twitter setup:

  1. Now we're ready to go forward and change the Twitter user ID.

    1. The first thing that you will need is a Twitter account. Note that the account that you create need not be the one that you are retrieving status updates (tweets) from.

    2. Go to http://dev.twitter.com and login with your developer account, or your new, regular account. If you are doing the latter, Twitter will automatically create a developer account for you from your regular one.

    3. Hover over your username (upper right) and click "My Applications".

    4. Click "Create a new application" and enter the necessary information. For the "Callback URL", enter the URL of the website on which you will be using this plugin. NOTE: the "Callback URL" is optional and is only necessary if you plan to use callbacks.

    5. Once your Application has been created, click on "Create my access token", at the bottom of the "Details" tab on the application's page.

    Please note: there's a nice article showing the above steps with screenshots: http://bit.ly/1dc3veA. So, it might be helpful if you find the above steps a little complex.

    6. Now, when you have all the keys, secrets and tokens necessary for using Twitter plugin, open the "scripts.js" (located in the "js" folder) and find the section "// twitter". Here you will find a twitter block, which contains the Twitter ID. Just replace the "username:ID" with your twitter ID. Then you need to open the "\twitter\index.php" file and edit the "config" section filling in the following fields: $consumer_key, $consumer_secret, $user_token, $user_secret with your own twitter access keys.

    Be careful while setting up the above keys and tokens. Wrong values might block the whole scripts.js file which is used throughout the whole template.

    !!!Please don't forget to upload the "index.php" file to your host after you save all changes.

Google Map setup:

Google Map setup is a very easy process.

All you have to do is to edit the "js/scripts.js" file at the "google map" section:

/**/
/* google map */
/**/

function init_map()
{
	var coordLat = -37.81261128155935;
	var coordLng = 144.96260404586792;
	if( jQuery(window).width() < 756 )
	{
		delta = 0;
	}
	
	var point = new google.maps.LatLng(coordLat,coordLng);
	var center = new google.maps.LatLng(coordLat,coordLng);
	
	var mapOptions = {	
		zoom: 15,
		center: center,
		scrollwheel: false,
		mapTypeId: google.maps.MapTypeId.ROADMAP
  }
  var map = new google.maps.Map(document.getElementById('map'), mapOptions);
  var image = 'images/gmap_default.png';
  var beachMarker = new google.maps.Marker({
  	map: map,
  	position: point
  });
}
	
Just edit the "coordLat = -37.81261128155935;" and "coordLng = 144.96260404586792;" values to show your location. These values may be found under the "Short URL" field:

Now you need to save the scripts.js file and upload it to your host.

In case of customizing the map please refer to this article: https://developers.google.com/maps/tutorials/customizing/styling-the-base-map

That's all, your google map is setup and ready to use!

JavaScript


This template imports the following Javascript files. You can get more script info when clicking the appropriate link:

  1. scripts.js - main js file.
  2. jquery.fancybox.pack.js. Refer to the author's documentation for additional notes on how to use it.
  3. jquery.isotope.min.js Refer to the author's documentation for additional notes on how to use it.
  4. owl.carousel.min.js Refer to the author's documentation for additional notes on how to use it.
  5. jquery.ui libraries Refer to the author's documentation for additional notes on how to use it.
  6. jquery.min.js (jQuery v1.10.2) Refer to the author's documentation for additional notes on how to use it.

PSD Files


We've included some PSD files to make the re-design process a bit easier.

Please check the PSD folder for all included PSD files.

Credits


We've used the following images, icons and other resources as listed.

Once again, thank you so much for purchasing this template. We'll be glad to help you in case of having any questions relating to it. We'll do our best to assist.