Hey 🖐, welcome to this guide.

Starter HTML file

Use this code as your starter HTML file, then add your blocks in the body.

AØŽA
 
1
      <!doctype html>
2
      <html lang="en">
3
      
4
      <head>
5
        <!-- Required meta tags -->
6
        <meta charset="utf-8">
7
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
8
      
9
        <!-- font awesome 5 free -->
10
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css">
11
        <!-- Bootstrap CSS -->
12
        <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
13
          integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
14
      
15
        <!-- Poppins font from Google -->
16
        <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap" rel="stylesheet">
17
      
18
        <!-- Your Custom CSS file that will include your blocks CSS -->
19
        <link rel="stylesheet" href="./app.css">
20
      
21
        <title>Your template</title>
22
      </head>

Starter CSS file

Use this code as your starter CSS file, then add your blocks after it.

​x
 
1
      :root {
2
        --primary: #5e22e6;
3
        --secondary: #0a1f44;
4
        --primary-invert: #fff;
5
        --secondary-invert: #fff;
6
​
7
        --gradient-primary: linear-gradient(230deg, #7445ff, #520df4);
8
        --gradient-secondary: linear-gradient(230deg, #0a1f44, #020024);
9
​
10
        /* DEFAULT COLOR OF TEXTS */
11
        --text-primary: #0a1f44;
12
​
13
        /* FOR BUTTONS & INPUTS */
14
        --elements-roundness: 10rem;
15
​
16
        --space-between-blocks: 5.3rem;
17
        /* for mobiles */
18
        --space-between-blocks-small-screens: 3rem;
19
      }
20
​
21
      body {
22
        font-family: "Poppins", sans-serif;

Remove translation dropdown
10
 
1
      ...
2
      
3
      <!-- 👇 Remove this li -->
4
      <li javascript-language-selector=""
5
        class="hero-nav__item hero-nav__item--with-dropdown hero-nav__item--dropdown-right hero-nav__item--lg-dropdown-left mx-3 mx-lg-2 flex-grow-1 flex-lg-grow-0 d-flex justify-content-end">
6
        ...
7
      </li>
8
      
9
      ...
10
    

How to give the top sticky navbar a full width

Paste this code in your CSS file near after the Hero's CSS

18
 
1
      .hero-nav--is-sticky {
2
        box-shadow: none;
3
      }
4
​
5
      .hero-nav--is-sticky::before {
6
        content: '';
7
        position: absolute;
8
        left: 0;
9
        right: 0;
10
        top: 0;
11
        bottom: 0;
12
        background: white;
13
        width: 99999%;
14
        margin-left: -999%;
15
        z-index: -1;
16
        box-shadow: 0 5px 20px rgba(0, 0, 0, .1);
17
      }
18
    

How to change screenshots inside the MackBook & iPhone

For iPhone, you must resize your browser and take screenshot at 378px width and 825px height.

For MackBook, you must resize your browser and take screenshot at 1920px width and 1200px height.


How to change logo in the sticky navbar

Near to `src` attribute in HTML, you'll find another attribute called `change-src-onscroll`.


How to change the sticky navbar to not sticky

Search: `.hero-nav--is-sticky` then change this line: `position: fixed !important;` To `position: static !important;`


How to style your icons

Go to your CSS file and open the search input in your code editor, enter `fr-icon` and you'll find the CSS code of all your icons.

Check these examples for more info.


FREE resources to change your icons
SVG icons


Font icons

to use font icons, remove the SVG code and replace it with `<i class="fas fa-{icon name}"></i>`


Image icons

You can use image icons only in block-12 (this blocks is built to use images as icons)


How to include VideoJS
Note: You need this only if you are using a block contains a video.

You have to include the CSS & JavaScript files of this library like the example down below.

19
 
1
      <head>
2
        ...
3
        👇
4
        <link href="https://cdn.jsdelivr.net/npm/video.js@7.5.0/dist/video-js.min.css" rel="stylesheet" />
5
        <script>
6
          /* Disable VideoJS tracking */
7
          window.HELP_IMPROVE_VIDEOJS = false;
8
        </script>
9
        ☝ī¸
10
        ...
11
      </head>
12
      <body>
13
        ...
14
​
15
        👇
16
        <script src="https://cdn.jsdelivr.net/npm/video.js@7.5.0/dist/video.min.js"></script>
17
        ☝ī¸
18
      </body>
19
    

How to add blocks that contain a slider.
Note: You need this only if you are using a block contains a slider.

You have to include the CSS file of this library like the example down below.

8
 
1
      <head>
2
        ...
3
        👇
4
        <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@splidejs/splide@latest/dist/css/splide.min.css">
5
        ☝ī¸
6
        ...
7
      </head>
8
    

🤔 If you have any questions or suggestions, do not hesitate to contact us at ✉ī¸ hello@frontendor.com

}