Thank you for purchasing The Gorgan HTML5 Template For Travel Bloggers. If you have any questions that are beyond the scope of this help file, please feel free to email – oleh.lavrik@gmail.com or contact us on our Dedicated Docs Platform. Thanks so much! The HTML code is 100% responsive and adaptive to different devices. The code is valid and cross browser on each modern browsers. It used the HTML5 and CSS3 technics.
In this user guide you will find all required information to get your site up and running: starting from Template installation and setup, to usage of different post types, page templates and shortcodes.
In Gorgan we use mobile first approach it means CSS3 styles for mobile devices loading faster then for tablet and desktop devices.
Information about Updates and New Themes are always announced on Twitter and Facebook. Twitter updates are usually more up to date, Facebook updates are more detailed and easier to follow :)
This template has built on HTML 5, CSS3/SASS technologies. Basically, we used Bootstrap 4.2 as a framework, all HTML files located in the src directory. Also we use JavaScript, Jquery as JavaScript framework, NodeJs, NPM & Bower packages. This Template is a responsive layout with one columns. The general template structure is the same throughout the template.
All pages have preloading placeholder. All content will be shown, after total page loading. We use Google Maps in Contact Us page, you can change your own position on the map. Also, we have possibility to send Ajax mail from Contact page, just setup your mail server.
In demo version our team use best images service Unsplash all images belong to that service we just use it for demonstration goal. We give Template with images placeholders with sizes instead of images, we respect image rights.
Project separated into application and distribution sides:
Steam & Grill use additional technologies:
First of all you'll need to install all npm dependencies.
npm install
Note! All npm dependencies contains in package.json file.
Next thing you will need to do is install bower like package manager
npm install -g bower
bower install
Note! All bower dependencies contains in bower.json file.
For fast developing we use Gulp
To start developing process run in prompt next command gulp
in project root dir.
If you want to edit some html, SASS, JavaScript files, best way to use sources in src folder.
Gulp (gulpfile.js) has next tasks:
gulp
task for starting developing process.More information about tasks you'll find in gulpfile.js
Better way to use sources in src folder, but if you don't know all technologies you can simply edit dist files
Change some CSS styles. Open *.html which you need, for example index.html find head block, then find CSS styles comment next string like link href="stylesheet" .. etc, will be including CSS file.
You have to change href="path/file.min.css"
to href="path/file.css"
in order to include normal CSS3 file style.
For example: href="./css/index.min.css"
to href="./css/index.css"
for including unminified version of CSS3 file.
Then you can open CSS file which you need for example dist/css/index.css and modify it.
Note! Gorgan project includes normal and minified CSS3 versions of files Like dist/css/index.min.css and dist/css/index.css You can switch if you need it. For what it is required? Minified version of files need for faster loading project, it is difficult to modify it, Normal CSS version good for modification but slower for loading
Change brand name. Open *.html which you need, for example index.html find header block with class="header-brand" next find link class="logo-link" and change brand image. We strongly recommended use img in SVG for best image quality for all device views. Also we use next dimensions for three views
You can change it styles in main.css just find next CSS3 class #header-media .header-top-line .h-center-col .center-block .header-brand .logo
Below you'll find brand dimensions for desktop and tablet. By default 134px x 45px for mobile devices, we use mobile first approach.
Change slide in header slider.
Upload your image to dist/assets/i folder. Open index.html find section with id="header-slider"
then find block with class="owl-slide"
.
There are slides for content slider, find style=""
attribute and change background-image
path to yours.
Change video background at header. Upload your image to dist/assets/video folder.
Open index-video.html find section with class="v-header"
then find block video
,
inside you'll find block source
just change src
attribute insert your path to video.
For example ./assets/video/video-walking.mov
Change image background at header. Upload your image to dist/assets/i folder.
Open index-picture.html find section with class="v-header"
then find block with classfullscreen-video-wrap
inside you'll find img
HTML tag, just change src
attribute insert your path to picture.
For example ./assets/i/your-image-name.jpg
Add new item to main menu. Open any *.html file.
At Gorgan project in top header we use two menu left and right, between located brand name.
If you want edit some items of menu,
just find ul
with id header-left-menu
or header-right-menu
and do what you would like.
Also you can add sub menu to yours new menu item, just add ul
tag with class dropdown-menu
with sub element items, inside your new item menu li
You should look how to build sub menu in other items sub menu
All texts and images you can change in .html files.
In the project at page contact.html we use Google Maps API
id="contact-map"
also you can change some styles in style.css by finding selector with contact-map
In order to change point at the map, you have to find next string var var uluru = {lat: 49.019332, lng: 25.796666};
in tag script
at contact.html
then change your position on Google Map.
You can get coordinate from Google maps like 49.018948, 25.793922
first part of value to comma (49.018948) it's lat value and second value (25.793922) after comma it's lng.
Just change var uluru = {lat: xxxx, lng: xxxx};
to yours.
In order to change location on Google Maps you should do (For Developers)
function initMap()
function
var uluru = {lat: xxxx, lng: xxxx};
Gulp
for building new build of the project.
In order to change location on Google Maps you should do (For Users)
function initMap()
function
var uluru = {lat: xxxx, lng: xxxx};
You can send an email from page contact.html by Ajax method.
$recipient
variable and change it to yours mail address.
In order to change anything in header slider you need:
Gulp
in prompt.src/i
directory.scr/assets/templates/_header-slider.html
in IDE or Notepad++.
owl-slide
html class and change background-image
path to file in attribute style.background-image: url('./assets/i/image-name.jpg').
dist/i
directory.dist/index.html
in IDE or Notepad++.
owl-slide
html class and change background-image
path to file in attribute style.background-image: url('./assets/i/image-name.jpg').
Gulp
in prompt.scr/assets/templates/_header-slider.html
in IDE or Notepad++.
owl-slide-title
html class and change text inside tag a.
dist/index.html
in IDE or Notepade++.
owl-slide-title
html class and change text inside tag a.
Gulp
in prompt.scr/assets/templates/_header-slider.html.
owl-slide-subtitle
html class and change text in it.
dist/index.html
in IDE or Notepade++.
v-subtitle
html class and change text in it.
Gulp
in prompt.scr/assets/templates/_header-slider.html
owl-slide-text
html class and change text in it.
dist/index.html
in IDE or Notepade++.
owl-slide-text
html class and change text in it.
Gulp
in prompt.scr/assets/templates/_header-slider.html
owl-slide-rm
html class and change text in it to yours.
dist/index.html
owl-slide-rm
html class and change text in it to yours.
In order to change anything in header with video background you need:
Gulp
in prompt.src/assets/video
directoryscr/templates/_header-video.html
fullscreen-video-wrap
html class and change source tag
path to file in attribute src.src="./assets/video/video-walking.mov"
dist/assets/video
directorydist/index-video.html
fullscreen-video-wrap
html class and change source tag
path to file in attribute src.src="./assets/video/video-walking.mov"
Gulp
in prompt.scr/assets/templates/_header-video.html
v-title
html class and change text inside tag a.
dist/index-video.html
v-title
html class and change text inside tag a.
Gulp
in prompt.scr/assets/templates/_header-video.html
v-subtitle
html class and change text in it.
dist/index-video.html
v-subtitle
html class and change text in it.
Gulp
in prompt.scr/templates/_header-video.html
v-text
html class and change text in it.
dist/index-video.html
v-text
html class and change text in it.
Gulp
in prompt.scr/assets/templates/_header-video.html
more-info-btn
html class and change text in it to yours.
dist/index-video.html
more-info-btn
html class and change text in it to yours.
In order to change anything in header with picture background you need:
Gulp
in prompt.src/assets/i
directoryscr/assets/templates/_header-picture.html
fullscreen-video-wrap
html class and change img
path to file in attribute src.src="./assets/i/picture-name.jpg"
src/assets/i
directorydist/index-picture.html
fullscreen-video-wrap
html class and change img
path to file in attribute src.src="./assets/i/picture-name.jpg"
Gulp
in prompt.scr/assets/templates/_header-picture.html
v-title
html class and change text inside tag a.
dist/index-picture.html
v-title
html class and change text inside tag a.
Gulp
in prompt.scr/assets/templates/_header-picture.html
v-subtitle
html class and change text in it.
dist/index-picture.html
v-subtitle
html class and change text in it.
Gulp
in prompt.scr/assets/templates/_header-picture.html
v-text
html class and change text in it.
dist/index-picture.html
v-text
html class and change text in it.
Gulp
in prompt.scr/assets/templates/_header-picture.html
more-info-btn
html class and change text in it to yours.
dist/index-picture.html
more-info-btn
html class and change text in it to yours.
Important! Template not include images which you see in demo! All images belong to Unsplash
You have got Gorgan Theme For Travellers with images placeholders with sizes instead of images, we respect image rights. Just change images to yours.
List of all Bower packages you'll find at bower.json all of it located in bower_components folder.
Note! bower_components folder appear after installation bower
as package manager.
List of all NPM packages you'll find at package.json all of it located in node_modules folder.
Note! node_modules folder appear after installation npmjs
as package manager.
Also, our team will gladly answer all your questions that you could not find in this documentation. Just send message to oleh.lavrik@gmail.com Thank you for purchasing our product.
Deep theme customization (beyond theme options) can be done in CSS. If you are familiar with it, you can use FireBug (FireFox plugin for web-developers) or Chrome web developers tools to define which style should be changed and where.
Once again, thank you so much for purchasing our theme.