• Facebook
  • Twitter

Youth Hostel – Responsive HTML5 Template


Support Our Blog

Thank you for purchasing this theme. If you have any questions that are beyond the scope of this help file, please feel free to start new ticket on this page. Thanks so much!

 

Scope of free support

 

We can help you with:

  1. Responding to questions or problems regarding the item and its features
  2. Fixing any discovered item’s bugs
  3. Providing updates to ensure compatibility with new software versions

HTML Structure


This theme is built upon bootstrap framework and is fully responsive. It adapts to window resolution and looks good on all devices including iPad and iPhone.
See for yourself (resize your browser).

If you would like to read more
about bootstrap framework click here :

Bootstrap Documentation

Grid System and Single row structure

 

The default Bootstrap grid system utilizes 12 columns. It’s responsive grid and adapts to viewport. Below 767px viewports, the columns become fluid and stack vertically. The fluid grid system uses percents instead of pixels for column widths. Each row always include 12 columns (for example col-md-8 + col-md-4 = col-md-12).
Bootstrap documentation: here

Basic grid HTML:

Page structure

Below you will find default page structure :


CSS files and structure


If you would like to edit the color, font, or style of any elements, you would do the following:

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.

I.E.

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.

Colors

The theme includes a css file wich you can use to edit the colors.
You just need to add the corresponding CSS file to the head of the page like this:

Icons

We’ve included 360+ font icons.

Awesome Icons – http://fontawesome.io/icons/

HTML markup:

CSS Files & Structure

We’ve included 2 files.
bootstrap.css contains Bootstrap 3 Library.
style.css file contains general styles.

style.less
1. Animations
2. Utilities
3. Font awesome
4. Fontello
5. Menu
6. Slick slider
7. Media Sections
8. Selectize
9. Bootstrap datepicker
10. Headroom
11. Magnificpopup
12. Typography
13. Section header
14. Portfolio
15. Icon box
16. Article box
17. Blockquote
18. Lists
19. Buttons
20. Line break
21. Slick navigation
22. Socials
23. Footer
24. Flag box
25. Main slider
26. Booking box
27. Forms
28. Date picker
29. Image box
30. Divided icon wall
31. Page header
32. Accordions
33. Pricing box
34. Testimonials
35. Product box
36. Gallery container
37. Blog
38. Pagination
39. Puzzle box
40. Google maps
41. Info box
42. Video poster
43. Pre loader
44. Progress bar
45. Tabs
46. Counters
47. Tables
48. Onepager
49. Person box
50. Icons

For more advanced user – we included also folder with less files  – under assets/less you will find the following files:

plugins.less – file for plugins styling
motive.less – file for motive styling
buttons.less – file for buttons styling (colors, sizes etc.)
pageheader.less – file for page header styling


Javascript Components


JavaScript files:

  • /charts/ – script for canvas charts animating
  • /counters/ – Files needed for initialising the animation number after loading pages.
  • /ct-mediaSection/ – Media sections where we can add parralax, kenburns or video to the section. Dynamical content of medias.
  • /datetime-picker/ -Scripts for choosing the date from small calendar and attaching it to the input form.
  • /gmaps/ – Plugin needed for displaying google map on the page.
  • /headroom/ – Animated/fixed navbars. Plugin needed for detecting scrollbar and attaching animations for menu.
  • /magnificpopup/ – Needed for galleries and their popups images where we can review them with slides via arrows.
  • /onepager/ – scripts for onepager.html only
  • /portfolio/ – scripts for gallery isotope
  • /progressbars/ – files needed for initialising the animation bars after loading pages
  • /progressicons/ – files needed for initialising the animation icons after loading pages
  • /selectize/ – Plugin which creates select box for select tag in the page. It generates html code via javascript so that each browser can have the same select box.
  • /slick/ – Files which initialize sliders in the page.
  • /external.js/ – One big file where are minifixed javascript files:_ 1.jquery 2.boostrap 3.placeholder 4. easing 5. device.min.js 6. jquery browser 7.Snap min JS 8. jquery appear_
  • /main.js/ – The main javascript initializaions and other major snippets.

Screenshot

Google Map (GMAP3 Plugin)

This is google map with custom marker, you can define couple parameters:

  • data-location – address to show
  • data-height – map height (if undefined height will be 220px)
  • data-offset – by how many map should be repositioned from marker center point (default -30)

It uses gmap3 plugin.
Documentation: here
HTML Markup:

All javascript code can be found in js/main.js file.

jquery.appear

This plugin call function when element appear in viewport. This is used in custom animation, progress bars, counter timer.
Documentation: https://github.com/bas2k/jquery.appear/

Charts.js

This plugin is used to make graphics.
Documentation: http://www.chartjs.org/


Slick Slider Navigation


Slick Slider in Youth Hostel have two types navigation with three (dots) and four (arrows) variations

Dots

ct-slick-dots–type1

This type has the following positions:

— ct-slick-dots–rightTop
— ct-slick-dots–rightBottom
— ct-slick-dots–centerBottom
— ct-slick-dots–leftTop
— ct-slick-dots–rightTop
— ct-slick-dots–centerTop

 

HTML markup

 

Screenshot

Example of dots slider nav

Example of dots slider nav

ct-slick-dots–type2

 

HTML markup

 

Screenshot

Example of dots slider nav 2

Example of dots slider nav 2

ct-slick-dots–type3

This type has the following positions:

1. ct-slick-dots–rightTop
2. ct-slick-dots–rightBottom
3. ct-slick-dots–centerBottom
4. ct-slick-dots–leftTop
5. ct-slick-dots–rightTop
6. ct-slick-dots–centerTop

 

HTML markup

 

Screenshot

Example of dots nav 3

Arrows

ct-slick-arrows–type1

This type has the following positions

1. ct-slick-arrows–position1

 

HTML markup

 

Screenshot

Example of arrow slider nav

Example of arrow slider nav

ct-slick-arrows–type2

This type has the following positions (vertical align middle, arrow on the left side (content), arrow on the right side (content))

1. ct-slickarrow–middleCorners (vertical align middle, arrow on the left side (body), arrow on the right side (body))

HTML markup

Image:

Example of arrow slider nav 2

Example of arrow slider nav 2

ct-slick-arrows–type3

This type has the following positions:

This type has a extra another class “ct-slick-arrows–motive”, which one changing our arrow color on hover into motive color

1. ct-slick-arrows–position1 (vertical align middle, arrow on the left side, arrow on the right side)
2. ct-slick-arrows–position2 (vertical align bottom, and arrows on the middle)
3. ct-slick-arrows–position4 (vertical align bottom, and arrows on the right side)
4. ct-slick-arrows–position5 (vertical align bottom, and arrows on the left side)
5. ct-slick-arrows–position8 (vertical align top, and arrows on the middle)

 

HTML markup

 

Screenshot

Example of arrow slider nav 3

Example of arrow slider nav 3

ct-slick-arrows–type4

This type has the following positions

1. ct-slick-arrows–position1
2. ct-slick-arrows–position2
3. ct-slick-arrows–position3
4. ct-slick-arrows–position4
5. ct-slick-arrows–position5
6. ct-slick-arrows–position7

 

HTML markup

 

Screenshot

Example of dots slider nav 4

Example of dots slider nav 4


Main Slider


HTML markup

 

JavaScript

<script src=”../assets/js/slick/js/slick.js”></script>
<script src=”../assets/js/slick/js/init.js”></script>
<script src=”../assets/js/selectize/selectize.min.js”></script>

 

Screenshot

Main slider

Main slider


Video poster


HTML markup

 

JavaScript

<script src=”../assets/js/magnificpopup/magnificpopup.min.js”></script><script src=”../assets/js/magnificpopup/init.js”></script>

 

Screenshot

Video poster

Video poster


Divided icon wall


HTML markup

 

JavaScript

<script src=”../assets/js/ct-mediaSection/js/smoothScroll.js”></script><script src=”../assets/js/ct-mediaSection/js/jquery.stellar.min.js”></script>
<script src=”../assets/js/ct-mediaSection/js/media-section.js”></script>

 

Screenshot

Devided icon wall

Divided icon wall


Blockquote


HTML markup

 

Screenshot

Blockquote

Blockquote


Article box


Youth Hostel have 3 types of Article boxes

Article box – type 1

 

HTML markup

 

Screenshot

Article box 1

Article box 1

Article box – type 2

 

HTML markup

 

Screenshot

Artickle box 2

Artickle box 2

Article box – type 3

 

HTML markup

 

Screenshot

Artickle box 3

Artickle box 3


Puzzle box


Youth Hostel have two types of puzzle boxes

Puzzle box – type1

 

HTML markup

 

Screenshot

Puzzle box 1

Puzzle box 1

Puzzle box – type2

 

HTML markup

 

Screenshot

Puzzle box 2

Puzzle box 2


Buttons


Youth Hostel have three sizes of buttons:

  • btn
  • btn-xs
  • btn-sm

Each can have one of the following variations:

 

Standard button

Screenshot

Default button

Standard button

HTML markup

 

Button with beating arrow

Screenshot

Button with arrow

Button with beating arrow

HTML markup

 

Button with arrow and icon

Screenshot

Button with arrow and image

Button with arrow and icon

HTML markup


Icon Box


Youth Hostel have four types of icon boxes.

Icon box version 1

 

HTML markup

 

Screenshot

Icon box 1

Icon box 1

Icon box version 2

 

HTML markup

 

Screenshot

Icon box 2

Icon box 2

Icon box version 3

 

HTML markup

 

Screenshot

Icon box 3

Icon box 3

Icon box version 4

 

HTML markup

 

Screenshot

Icon box 4

Icon box 4


Top bar


HTML markup (example for one item)

 

JavaScript

<script src=”../assets/js/slick/js/slick.js”></script>
<script src=”../assets/js/slick/js/init.js”></script>

 

Screenshot

Top bar

Top bar


Media sections


You can arrange your content with the following Media sections types:

 

HTML markup – for parallax

 

HTML markup – for kenburns

 

HTML markup – for video

 

Description

data-type – determines the type of media section
data-height – determines the height of media section
data-background – this attribute allows you to insert image for desktop devices
data-background-mobile – this attribute allows you to insert image for mobile devices

 

JavaScript

<script src=”../assets/js/ct-mediaSection/js/smoothScroll.js”></script>
<script src=”../assets/js/ct-mediaSection/js/jquery.stellar.min.js”></script>
<script src=”../assets/js/ct-mediaSection/js/media-section.js”></script>


Product box


Product box – type 1

 

HTML markup

 

Screenshot

Product box 1

Product box 1

Product box – type 2

 

HTML markup

 

Screenshot

Product box 2

Product box 2


Google maps


Google maps without any marker

 

HTML markup

Description

Class “ct-mapBox–disabled” – responsible for not displaying google marker in the form box.
Attribute data-marker=”false” – makes marker invisible (if you want make it visible use value “true”)

 

Screenshot

Google map without any marker

Google map without any marker

Google maps with mapBox

 

HTML markup

description

Attribute data-mapImage=”../assets/images/demo-content/map-image.png” – allows you to set any photo into mapBox

 

Screenshot

Google map with mapBox

Google map with mapBox

Google maps – data attributes explanation

— data-location – use it for display your location on the Google map (e.g. can be a string: “New York”, or cords: 40.7198584,-74.0021416)
— data-height – use it for height adjustment
— data-zoom – use it to set the zoom

 

JavaScript – for both version

<script src=”http://maps.google.com/maps/api/js?sensor=false”></script>
<script src=”../assets/js/gmaps/gmap3.min.js”></script>
<script src=”../assets/js/gmaps/init.js”></script>


Headers


The header in Youth Hostel can be:
– static
– paralax
– kenburns
– video

 

The header title can be placed:
– ct-pageHeader-center (center)
– ct-pageHeader-right (right-side)
– ct-pageHeader-left (left-side)

 

HTML markup – example for static header with header title at center

 

JavaScript

– for static header:
<script src=”../assets/js/ct-mediaSection/js/media-section.js”></script>

– for parallax, kenburns, video headers:
<script src=”../assets/js/ct-mediaSection/js/smoothScroll.js”></script>
<script src=”../assets/js/ct-mediaSection/js/jquery.stellar.min.js”></script>
<script src=”../assets/js/ct-mediaSection/js/media-section.js”></script>

 

Screenshot

Header

Header


Person Box


Youth Hostel have 2 types of Person box

Person box – type1

HTML markup

 

Screenshot

Person box 1

Person box 1

Person box – type2

HTML markup

 

Screenshot

Person box 2

Person box 2


Counters


Counters Icons

 

HTML markup

 

JavaScript

<script src=”../assets/js/counters/jQuery.countTo.js”></script>
<script src=”../assets/js/counters/init.js”></script>

 

Screenshot

Contact Icons

Counter Icons

Counters down

 

HTML markup

 

JavaScript

<script src=”../assets/js/counters/jQuery.countTo.js”></script>
<script src=”../assets/js/counters/init.js”></script>

 

Screenshot

Counters Down

Counters Down


Progress Icons


HTML markup

 

Desription – list of attributes

data-font-size=”115″ – it allows you to adjust the size of icon
data-icon-color=”#DD673E” – it allows you to adjust the color of icon
data-active=”4″ – it allows you to adjust the number of active icons
data-total=”7″ – it allows you to adjust the number of total icons which will be displayed
data-icon=”fa-globe” – you can select here appropriate icon
data-delay=”400″ – you can set here delay between each icons which will be displayed

 

JavaScript

<script src=”../assets/js/progressicons/init.js”></script>

 

Screenshot

Progress icons

Progress icons


Progress Bars


Indicate progress with  three versions of Progress Bars!

Screenshots

— ct-progressBar–type1

Progress bar type1

 

— ct-progressBar–type2

Progress bar type2

Progress bar type2

 

— ct-progressBar–type3

Progress bar type3

Progress bar type3

 

You can edit bars values and colors with data-attributes used with the following HTML markup

 

Java Script


Accordions


HTML markup – for one item

 

Available variations

For Youth Hostel there is available two variations:

— ct-accordion

— ct-accordion–type2

 

Screenshots

— ct-accordion

Accordion variation 1

Accordion variation 1

— ct-accordion–type2

Accardin variation 2
Accardin variation 2

Tabs


HTML markup – for one item (tabs type1)

 

Available variations

There is in Youth Hostel available two variations:

— ct-tabs–type1

 

— ct-tabs–type2

 

Screenshots

— ct-tabs–type1

Tabs type 1

Tabs type 1

— ct-tabs–type2

Tabs type 2

Tabs type 2


Socials


HTML markup – example for one social

 

Description

Attribute data-social-hover-color=”” responsible for social item color which one is already hovering. This allows you to set a different color to each social item.

example:

data-social-hover-color=”#000000″ – corresponds to the black color

 

JavaScript

Code responsible for this component is in the file: <script src=”../assets/js/main.js”></script>

 

Screenshots

Social Section

Social Section

Social Section - hover

Social section – hover


Gallery


HTML markup

 

JavaScript

<script src=”../assets/js/magnificpopup/magnificpopup.min.js”></script>
<script src=”../assets/js/magnificpopup/init.js”></script>

 

Screenshot

Gallery

Gallery


Testimonials


HTML markup – example for one item

 

Description

Attribute data-background=”” – it allows you to set background as a picture or color (if you want to set the background color use data-background=”#color”)

example:

data-background=”../path/to/image/image-name” – for background image
data-background=”#000000″ – for background color (#000000 – hexadecimal equivalent of black color)

The main person image can be animated. If you want to do this, add to img class “animated” and in attribute data-fx=”” add the name of the animation – the list of available animation can be found here: https://daneden.github.io/animate.css/

 

JavaScript
<script src=”../assets/js/slick/js/slick.js”></script>

 

Screenshot

Testimonials

Testimonials


Pricing box


HTML markup

 

HTML markup  (for pricing box with tooltip)

 

Available variations

There is available special pricing box with static tooltip on the top.
– new class required: ct-pricingBox–special
– new html markup required (example above)

We have here also a variation with a change of color for pricingBox.
– new class required: ct-pricingBox–switchColors
example

 

Screenshot

Pricing Box

Pricing Box


Contact Form


Template comes with ready to use:

  • Contact Form

All needed files are in /form directory.
Remember to includeon page.
To configure form just edit form/config.php and change e-mails to your own :

That’s it!

Contact Form

HTML Markup

Options (can be changed in HTML) :
Mail Subject – just change value in :
Success Message – change successMessage div content
Error Message – change errorMessage div content


Sources & Credits


The following sources and files have been used to build up this theme

Twitter Bootstrap http://twitter.github.com/bootstrap/

jQuery – http://www.jquery.com


Elite Author
We are elite
CreateIT
Who we are

Hi, we are createIT. We create IT. Web applications and websites to be precise.

And we are REALLY good at it.

Get to know us at www.createIT.pl
Thanks for buying!