Freshmart - Organic, Fresh Food, Farm HTML Template

We would like to thank you for purchasing Freshmart - Organic, Fresh Food, Farm HTML Template for your website. We outline all kinds of good information, and provide you with all the details you need to use this template.

If you are unable to find your answer here in our documentation, feel free to ask for help from our support team, all you have to do is contact with us via email tivatheme@cloodo.com.

Introducing Freshmart - Organic, Fresh Food, Farm HTML Template

Freshmart - Organic, Fresh Food, Farm HTML Template

  • /HTML
    • /css (Template CSS)
    • /img (All Images)
    • /js (Template JS)
    • /libs (All external libs. We keep all of them in this folder to make updates easily.)

It's possible to change the JS settings by extending the defaults from the template, that way is so much easier to update the template changing only one JS file.
Here are a few samples on how to do that:

Changing Settings


1. Scroll to top (js/main.js)
$('.go-up').hide();
$(window).on('scroll', function () {
	if ($(this).scrollTop() > 400) {
		$('.go-up').fadeIn();
	} else {
		$('.go-up').fadeOut();
	}
	
	return false;
});
$('.go-up a').on('click', function (e) {
	e.preventDefault();
	$('html, body').animate({
		scrollTop: 0
	}, 600);
	
	return false;
});

2. Toggle Topbar (js/main.js)
$('#toggle-topbar').click(function(){
	$(this).parent().addClass('active');
	$('.topbar-content').slideDown(100);
	$('#header').css('border-top', '0');
	$('#toggle-topbar').hide();
	$('.close-topbar').show();
});
$('.close-topbar').click(function(){
	$(this).parent().removeClass('active');
	$('.topbar-content').slideUp(100);
	$('#toggle-topbar').show();
	$('#header').css('border-top', '8px solid #78b144');
	$('.close-topbar').hide();
})

3. Popup Screen (js/main.js)
if ($('.newsletter-popup').length) {
	// Control when window small
	if (screen.width < 500) {
		$('.newsletter-popup .popup').css('width', '80%');
	}
	
	// Click to close popup
	$('html').on('click', function (e) {
		if (e.target.id == 'newsletter-popup') {
			$('.newsletter-popup').remove();
		}
	});
	
	$('.newsletter-popup .popup .close').on('click', function (e) {
		e.preventDefault();
		$('.newsletter-popup').remove();
	});
	
	// Screen duration
	setTimeout(function() {
		$('.newsletter-popup').remove();
	}, 20 * 1000);
}
...

We are using Bootstrap framework. So, basic HTML structure is same as it is used in Bootstrap.

<!DOCTYPE html>
<html>
	<head>
		<!-- Bootstrap & Other CSS files -->
	</head>
	<body class="home home1">
		<div id="all">
			<header id="header">
				<!-- Logo, Menu, Search -->
			</header>
			
			<div id="content" class="site-content">
				<!-- Main Content -->
			</div>
			
			<footer id="footer">
				<!-- Footer Menu, Copyright -->
			</footer>
			
			<div class="go-up">
				<!-- Go To Top button -->
			</div>
		</div>
		
		<!-- Include JS files -->
	</body>
</html>

The organization of the CSS is one of our priorities.

These are the CSS file we're using in the template:

  • style.css - (Main css style)
  • css/responsive.css (Css responsive)

Fonts

The template use 2 Google fonts:

<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Playfair+Display:300,400,700" rel="stylesheet">

To change the font, first go to http://www.google.com/webfonts choose a font and use the generated code.

1. Font Awesome is a @font-face iconset that you can change size and color of the icons using CSS. If you need more information, please visit this site:
Fontawesome/

<i class="fa fa-edit"></i>
<i class="fa fa-search"></i>
...

2. Material Design is a @font-face iconset that you can change size and color of the icons using CSS. If you need more information, please visit this site:
Material Design/

<i class="zmdi zmdi-home"></i>
<i class="zmdi zmdi-phone-in-talk"></i>
...

If you are unable to find your answer here in our documentation, feel free to ask for help from our support team, all you have to do is contact with us via email tivatheme@cloodo.com.

Our support scope

Our support covers configuration, building site as demo, trouble using any features, and bug fixes. We don't provide support for customizations or 3rd party extension.

Our support time

We try our best to monitor the email around the clock, however, this is not always possible due to different time zones. We will try to reply you as fast as we can.

Our working time is 8.00 AM - 5.30 PM, Monday to Friday (GMT+7). So if ask for help in the weekend, you may have to wait a little bit for support and please be patient.