Overview
Gustello is a warm, animated HTML5 template for Italian restaurants, trattorias and cafés. Playfair headlines and Oswald labels give it the feel of a family table that has been laid since 1987. Underneath, it runs real trattoria logic. The house clock knows which service is on, from the morning caffè to dinner. The booking book offers only the tables that are free, and takeaway pickups move with the size of the order. It ships with light and dark mode, right-to-left support and WebGL layers - basil leaves drifting through chosen bands and a rolling pin in the footer.
What’s included
- 31 HTML pages, 3 unique home page designs
- Light and dark mode on one switch, remembered between visits, with no flash on load
- Right-to-left stylesheets and a language picker that turns any page around
- WebGL layers tinted by the theme colours: basil leaves and a rolling pin
- Real trattoria logic from one data block: house clock, table availability, takeaway slots and brunch prices
- Our story as a timeline of years you can walk with the arrow keys
- Three scroll moments that never pin the page
- prefers-reduced-motion support for accessibility
- CSS-variable design tokens for both themes
- Working PHP form handler with optional invisible reCAPTCHA v3
- Fully responsive, zero console errors
- Well-commented code with a numbered JS index
- Documentation included
Getting Started
Thank you for choosing Gustello. Follow the steps below to get your site live.
1. Open locally
Unzip the package and open gustello/index.html in any modern browser (Chrome, Firefox, Edge, Safari). No build tools or server are required — every engine on the site works straight from the files.
2. Deploy to a server
Upload the contents of the gustello/ folder to your hosting with an FTP client (such as FileZilla) or your hosting control panel. Open your domain and the template loads at once.
3. Customise
Custom styles live in assets/css/style.css and assets/css/responsive.css. Colours and fonts are CSS variables — see Colors & Fonts. Prices, hours and items live in one data block in assets/js/main.js (module 09, Gusto Data) — see JavaScript Guide.
File Structure
404.html | Page Not Found |
about.html | About Us |
blog-details.html | Blog Details |
blog.html | Blog |
cart.html | Cart |
checkout.html | Checkout |
chef-details.html | Chef Profile |
chefs.html | Our Chefs |
coming-soon.html | Coming Soon |
contact.html | Contact Us |
dish-details.html | Dish Details |
event-details.html | Event Details |
events.html | Events & Classes |
faq.html | FAQ |
forgot-password.html | Forgot Password |
gallery.html | Gallery |
gift-cards.html | Gift Cards |
homepage-2.html | Home 02 |
homepage-3.html | Home 03 |
index.html | Home 01 |
login.html | Login |
menu.html | Our Menu |
order-status.html | Track Your Order |
product-single.html | Product Details |
register.html | Register |
reservations.html | Book A Table |
service-details.html | Weekend Brunch |
services.html | What We Offer |
shop.html | Bottega |
takeaway.html | Order Takeaway |
wishlist.html | Wishlist |
Folder Structure
gustello/
├── *.html (the pages)
├── sendmail.php
├── documentation/
└── assets/
├── css/ fontawesome-all.css, plugins, responsive.css, responsive.rtl.css, style.css, style.rtl.css
├── fonts/ theme-icons
├── img/ flags, food, gift, hero, icons, interior, logo, menu, shop, tall, team, textures
├── js/ main.js, plugins
└── webfonts/ fa-brands-400.ttf, fa-brands-400.woff2, fa-regular-400.ttf, fa-regular-400.woff2, fa-solid-900.ttf, fa-solid-9
Colors & Fonts
The design is driven by CSS variables declared at the top of style.css. Change a token once and every section, button and card updates.
--gu-gold--gu-bronze--gu-espresso--gu-night-2--gu-tan--gu-ivory--gu-chalk--gu-bg--gu-surface--gu-cream--gu-blush--gu-field--gu-heading--gu-text--gu-muted--gu-lineFonts
Oswald and Playfair are loaded from Google Fonts in the <head> of every page. To change a font, replace the Google Fonts link and the font variables in style.css.
Light & Dark Mode
Every header (and the mobile menu) has a theme switch. The choice is saved in the browser under the key gustello-theme and applied by a one-line script in the <head> before the page paints, so a visitor never sees a flash. The switch sets data-theme on the <html> tag.
- Tokens — the other theme’s colours sit in their own
[data-theme]block right after:rootinstyle.css. Change a colour there. - WebGL layers — the layers read their colours from CSS custom properties (
--gl-1to--gl-3,--gl-alpha), so a theme change repaints them. - Start in the other theme — add
data-theme="dark"to a page’s<html>tag; the switch still works and is still remembered.
RTL (Right To Left)
Gustello is RTL-ready: the layout, the sliders and the animations mirror. The language picker beside the theme switch lists left-to-right and right-to-left languages. Choosing a right-to-left one stores the language and the direction (keys gustello-lang and gustello-dir) and reloads; the script in <head> then sets dir="rtl" and swaps three stylesheets for the files in their data-rtl attribute. Nothing is translated — you bring your own copy. To make a page right to left for good:
1. Set The Direction
<html lang="en" class="no-js" dir="rtl">
2. Swap Three Stylesheets
assets/css/plugins/bootstrap.min.css | → assets/css/plugins/bootstrap.rtl.min.css |
assets/css/style.css | → assets/css/style.rtl.css |
assets/css/responsive.css | → assets/css/responsive.rtl.css |
style.rtl.css and responsive.rtl.css are mirrored twins of the LTR files, made with RTLCSS. If you change style.css, regenerate the twin with npx rtlcss style.css style.rtl.css.JavaScript Guide
All custom behaviour lives in assets/js/main.js, split into numbered modules listed in the index at the top of the file. Plugins are in assets/js/plugins/ and load before it. Module 09 (Gusto Data) is the one data block the pages and engines read: change a price, an hour or an item there and every page that shows it follows.
01 | Preloader |
02 | Sticky Header |
03 | Offcanvas Menu |
04 | Scroll Reveals |
05 | Back To Top |
06 | Anchor Scroll |
07 | Light & Dark Mode, Direction |
08 | WebGL Textures |
09 | Gusto Data |
10 | Kitchen Clock |
11 | Custom Select |
12 | Counters & Rings |
13 | Hero Sliders |
14 | Card Sliders |
15 | Accordion |
16 | Filter Tabs |
17 | Grid Search |
18 | Newsletter |
19 | Choice Cards |
20 | The Chalkboard |
21 | Film Strip |
22 | Hero Zoom-Out |
23 | Table Availability |
24 | Menu Filters |
25 | Takeaway |
26 | Booking Wizard |
27 | Gift Cards |
28 | Brunch Price |
29 | Contact Form |
30 | Bottega Shop |
31 | Account Forms |
32 | Article Tools |
33 | Demo Forms |
34 | Launch Countdown |
35 | Our Story |
36 | Events Month |
37 | Event Seats |
38 | FAQ Search |
Images
The package ships with placeholder images at their real dimensions. Replace them with your own photos using the same file names, or update the src attributes. Images are grouped inside assets/img/:
img/flags/ | 6 files: SVG |
img/food/ | 41 files: 1300×941, 1300×846, 800×800, 2816×1929, 900×426, 1300×1300 |
img/gift/ | 3 files: 1000×620 |
img/hero/ | 11 files: 2809×1533, 3274×1364, 3084×1444, 1920×1100, 1300×1300, 2809×1543 |
img/icons/ | 36 files: 128×128 |
img/interior/ | 12 files: 935×940, 1300×1300, 1399×958, 2817×2039, 1300×990, 464×683 |
img/logo/ | 3 files: 64×64, 564×80 |
img/menu/ | 3 files: 560×350 |
img/shop/ | 8 files: 1000×1000 |
img/tall/ | 1 files: 800×1325 |
img/team/ | 12 files: 843×1112, 502×662, 800×850, 800×853 |
img/textures/ | 4 files: 384×48, 1600×1000 |
Contact Form
The contact form posts to sendmail.php, a lightweight AJAX mail handler; the success or error message appears under the button without a reload. The other forms on the site are demo forms: they confirm on screen and are ready to connect to your own systems.
1. Set your email address
$email = 'example@example.com';
2. Upload to a PHP host
The form needs a server with PHP mail() support (virtually every shared host). It will not send from your own computer.
3. Optional: enable Google reCAPTCHA v3
Invisible reCAPTCHA v3 is built into the handler and stays dormant until the form sends a token. Create v3 keys in the reCAPTCHA admin console, replace YOUR_RECAPTCHA_V3_SECRET_KEY in sendmail.php, and load the reCAPTCHA script with your site key on the contact page.
Credits
This template is built with the following open-source libraries and resources.
- Bootstrap 5.3.3
- jQuery 3.7.1
- Swiper 11
- GSAP 3 + ScrollTrigger
- Fancybox 3.5
- Font Awesome Free
- RTLCSS
- Google Fonts: Oswald, Playfair
All plugin files and icon fonts are loaded locally. The only external requests are the Google Fonts stylesheet, map embeds and video popups.
Support
Questions or help with the template? Contact us at metropolitanhost.com. We answer the same business day, 9am–6pm ET.