HOAX - Documentation
Created: June 10, 2017
By: Rometheme
Email: rometheme@gmail.com
Thank you for purchasing my theme. If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here. Thanks so much!

A) Getting Started

HOAX is a clean, modern, and fully responsive Muse Template. it is designed for digital creation, creative team, video maker, animation studio, agency, freelance, businesses or any type of person or business who wants to showcase their work, services and professional way. It is built using bootstrap 3.3.2 framework, works totally responsive, easy to customise, well commented codes and seo friendly

This template made with Bootstrap, using HTML5, CSS3, JS and jQuery.

Get Yourself a Code Editor

Yes, it’s completely possible to edit HTML in Notepad or a similar program, but things will go much more smoothly for you if you use a proper code editing app. One of the main reasons is you’ll get colored highlighting of your code, as you’ll see shortly, which will make it much easier to read and edit.

I recommend Sublime Text, which you can download here: https://www.sublimetext.com/3

Download the template main files from Themeforest

  • First, you need to download the template files from your Themeforest account. Navigate to your Downloads tab on Themeforest.
  • Find the templates.
  • Click the Download button,
  • and then click "All Files and documentation".

Most HTML templates will come in a ZIP file - if so, go ahead and extract yours now. Then look around inside the template’s folders until you find the “index.html” or “index.htm” file.

In our example template the “index.html” file is found in the “HTML/v9” directory.




B) HTML Structure

<!-- Load page -->
<div class="animationload">
...
</div>

<!-- HEADER -->
<div class="header">
...
</div>

<!-- JUMBOTRON -->
<div class="section">
...
</div>

<!-- PORTFOLIO -->
<div class="section portfolio">
...
</div>

<!-- CTA -->
<div class="section cta">
...
</div>

<!-- FOOTER SECTION -->
<div class="section footer">
...
</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:

.section-heading { color: #someColor; }

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.

.services .section-heading { color: #someColor; }

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.


C) CSS Files and Structure

On the CSS side, we load different css files depending on the page that loads.

How to change a title/font from css

We recommend using the FireBug add on in Firefox for a fast identification of the css properties that you might want to change. Lets say for example that we want to change the color and add a link to the h1 represented in the picture below.

CSS

Open the style.css file form the root folder and search h1 until you find the color property in the file. Its on line 661 and it looks line this:

h1, .page-header {
  font-size: 40px;
  line-height: normal; }

h2, .single-news .blok-title, .news-item .blok-title {
  font-size: 32px;
  line-height: normal; }
Change the color with the one you want and hit save. If you want to change only the h1 color, you have to separate the h1 and give it another color. The css should look like this.

.page-header {
  font-size: 40px;
  line-height: normal; }
h1{
  color: #12aaeb;
  font-size: 40px;
  line-height: normal; }
Now, lets say we wanted h1 to poin to http://google.com. At this point the h1 looks like this:

<h1>Shortcodes: Typography & paragraph styles</h1>

To make it point to a specific URL the h1 must look like this:

<h1><a href="http://www.google.com">Shortcodes: Typography & paragraph styles</a></h1>

You can make changes to the css to any elements. You just need to know the name of the element or div either by using FireBug or by opening the HTML and then search for that element in the css. Piece of cake!



Social Icons

social icon

To add a link to your social icon paste the necessary URL into the <a href=> tag. See the example below:

<a href="#"><i class="fa fa-facebook"></i></a>

Portfolio Grid

boxicon

You can customize the portfolio Grid image by changing <img src="images/portfolio-thumb-2.jpg" alt=""> values as well as their styles. Check below screenshot.


<div class="grid">
 <div class="grid-sizer"></div>
 <div class="gutter-sizer"></div>
 <!-- item 1 -->
 <div class="grid-item">
  <a href="images/500x500.jpg" title="Portfolio 1"><img src="images/portfolio-thumb-1.jpg" alt=""></a>
 </div>
 <!-- item 2 -->
 <div class="grid-item">
  <a href="images/500x500.jpg" title="Portfolio 2"><img src="images/portfolio-thumb-2.jpg" alt=""></a>
 </div>
 <!-- item 3 -->
 <div class="grid-item">
  <a href="images/500x500.jpg" title="Portfolio 3"><img src="images/portfolio-thumb-1.jpg" alt=""></a>
 </div>
 ...
</div>

Video Popup

Video

You can customize the necessary URL into the <a href=> tag. See the example below:

Youtube

<div class="grid-item">
 <a class="popup-youtube" href="https://www.youtube.com/watch?v=6zryWQP8sZg">
  <img src="../assets/images/portfolio-1.jpg" alt=""></a>
</div>

Vimeo

<div class="grid-item">
 <a class="popup-vimeo" href="https://vimeo.com/70388300">
  <img src="../assets/images/portfolio-1.jpg" alt=""></a>
</div>

D) JavaScript

This template imports different js files for the different sliders, lightboxes and interactive tabs from the homeplage and the rest of the pages. All the js is built around JQuery. What follows are some examples where jQuery was used:

Maps Google

<div class="maps-wraper">
   <div id="cd-zoom-in"></div>
   <div id="cd-zoom-out"></div>
   <div id="maps" class="maps" data-lat="-7.452278" data-lng="112.708992" 
   data-marker="images/cd-icon-location.png">
   </div>
</div>

you can change coordinate google map by edited the atribute data-lat for latitute and data-lng for langitude. And Icon Marker by edited the attribute data-marker.



Contact Form

Open the file in "php/form-process.php" line 27
$EmailTo = "emailaddress@test.com"
edited 'emailaddress@test.com' with your email




E) Search Engine Optimization

In order to improve your search engine ranking, and thus enable your web site to appear among search results, please don't forget to change the description and keywords with your own.

<meta name="description" content="">
<meta name="keywords" content="">
				

F) Sources and Credits

I've used the following images, icons or other files as listed.

HTML, CSS and JS:

Images:

Fonts:


Once again, thank you so much for purchasing this theme. As I said at the beginning, I'd be glad to help you if you have any questions relating to this theme. No guarantees, but I'll do my best to assist. If you have a more general question relating to the themes on ThemeForest, you might consider visiting the forums and asking your question in the "Item Discussion" section.

Rometheme

Back to Top