Sarsa - News & Magazine HTML Template v1.0


First of all, thank you for purchasing the Sarsa HTML5 Template. You can find the detailed information about the template in this document.
If there is anything you cannot find in this document, you can send an e-mail via the Profile page.

Sarsa in a Brief

Sarsa is a News & Magazine HTML Template.
In download folder you will find Three folders:


Remember, when you want to use the shortCode/element in any pages you need to adjust the section spacing by giving margin or padding. Don't get panic if you messed up anything when you edit the template. We are always available to support our customer.

01Installation

Follow the steps below to setup your site template:

  1. Unzip the downloaded package and open the Template folder to find all the template files. You wil get Sarsa folder in one. You need to upload this folder to your hosting web server using FTP or cPanel in order to use it on your website.
  2. Below is the folder structure you will see in your website root directory:
    • Sarsa/assets/css - Stylesheet files
    • Sarsa/assets/fonts - Icon/fonts files
    • Sarsa/assets/img - Image files
    • Sarsa/assets/js - JS files
    • Sarsa/assets/contact.php - Contact from file
  3. You need to upload all or specific HTML files as per your need.
  4. And now you are ready to go to generate your website with this awesome template.

02HTML Structure

We are used Bootstrap Latest Version v5.1.3 framework in this template.
The general template structure is the same throughout the template. Here is the general structure.

    
        <!doctype html>
        <html class="no-js" lang="en">
        <head>
            <meta charset="utf-8">
            <meta http-equiv="x-ua-compatible" content="ie=edge">
            <title>Sarsa - News & Magazine HTML Template</title>
            <meta name="description" content="">
            <meta name="viewport" content="width=device-width, initial-scale=1">

            <link rel="shortcut icon" type="image/x-icon" href="assets/img/favicon.png">
            <!-- Place favicon.ico in the root directory -->

            <!-- CSS here -->
            <link rel="stylesheet" href="assets/css/.....">
            <link rel="stylesheet" href="assets/css/.....">
            <link rel="stylesheet" href="assets/css/....">
            <link rel="stylesheet" href="assets/css/...">
        </head>
        <body>



            <!-- header-area -->
            <header id="home">


            </header>
            <!-- header-area-end -->



            <!-- main-area -->
            <main class="main-area fix">

                <!-- All Section Here -->

            </main>
            <!-- main-area-end -->



            <!-- Footer-area -->
            <footer class="footer-area">

            </footer>
            <!-- Footer-area-end -->



            <!-- JS here -->
            <script src="assets/js/vendor/....."></script>
            <script src="assets/js/...."></script>
            <script src="assets/js/..."></script>
        </body>
        </html>
    

03All Pages

Introduce Sarsa All Pages

04Favicon Settings

Favicon Will be found in <head> section.

    
    <link rel="shortcut icon" type="image/x-icon" href="assets/img/favicon.png">
    

05Logo Settings

The Logo will be found in the <nav class="navbar"> tag.


        <div class="logo"><a href="index.html"><img src="img/logo/logo.png" alt="logo"></a></div>
        

You can replace any .jpg .png .svg logo. And set the width according to your logo size.

06Fonts Settings

In Sarsa we use Roboto font.
You can change both fonts form assets/css/main.css file:

        @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,300;1,400;1,500;1,700;1,900&display=swap');
        

07Activeted PHP Contact Form

You can edit your form simply and quickly. Open mail.php from Sarsa folder and add your email into $recipient field


<?php

// Only process POST reqeusts.

if ($_SERVER["REQUEST_METHOD"] == "POST") {

// Get the form fields and remove MORALspace.
$name = strip_tags(trim($_POST["name"]));

$name = str_replace(array("\r","\n"),array(" "," "),$name);

$email = filter_var(trim($_POST["email"]), FILTER_SANITIZE_EMAIL);

$message = trim($_POST["message"]);


// Check that data was sent to the mailer.

if ( empty($name) OR empty($message) OR !filter_var($email, FILTER_VALIDATE_EMAIL)) {

// Set a 400 (bad request) response code and exit.

http_response_code(400);

echo "Please complete the form and try again.";

exit;

}

// Set the recipient email address.

// FIXME: Update this to your desired email address.

$recipient = "founder@stthemes.com";


?>

08CSS Structure

The main.css file contains all of the specific stylings for the page. The file is separated into sections using:

09JavaScripts

10Credits

11Thanks


Once again thank you for purchasing one of our Templates

Best Regards

ThemeGenix

12Changelog:

Dates are formatted in dd/mm/yy

    ===========================
    ----- (18 December 2022) ------
    ===========================
    Initial Released Sarsa.