Use this code as your starter HTML file, then add your blocks in the body.
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- font awesome 5 free -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<!-- Poppins font from Google -->
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap" rel="stylesheet">
<!-- Your Custom CSS file that will include your blocks CSS -->
<link rel="stylesheet" href="./app.css">
<title>Your template</title>
</head>
Use this code as your starter CSS file, then add your blocks after it.
:root {
--primary: #5e22e6;
--secondary: #0a1f44;
--primary-invert: #fff;
--secondary-invert: #fff;
â
--gradient-primary: linear-gradient(230deg, #7445ff, #520df4);
--gradient-secondary: linear-gradient(230deg, #0a1f44, #020024);
â
/* DEFAULT COLOR OF TEXTS */
--text-primary: #0a1f44;
â
/* FOR BUTTONS & INPUTS */
--elements-roundness: 10rem;
â
--space-between-blocks: 5.3rem;
/* for mobiles */
--space-between-blocks-small-screens: 3rem;
}
â
body {
font-family: "Poppins", sans-serif;
...
<!-- đ Remove this li -->
<li javascript-language-selector=""
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">
...
</li>
...
Paste this code in your CSS file near after the Hero's CSS
.hero-nav--is-sticky {
box-shadow: none;
}
â
.hero-nav--is-sticky::before {
content: '';
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
background: white;
width: 99999%;
margin-left: -999%;
z-index: -1;
box-shadow: 0 5px 20px rgba(0, 0, 0, .1);
}
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.
Near to `src` attribute in HTML, you'll find another attribute called `change-src-onscroll`.
Search: `.hero-nav--is-sticky` then change this line: `position: fixed !important;` To `position: static !important;`
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.
to use font icons, remove the SVG code and replace it with `<i class="fas fa-{icon name}"></i>`
You can use image icons only in block-12 (this blocks is built to use images as icons)
You have to include the CSS & JavaScript files of this library like the example down below.
<head>
...
đ
<link href="https://cdn.jsdelivr.net/npm/video.js@7.5.0/dist/video-js.min.css" rel="stylesheet" />
<script>
/* Disable VideoJS tracking */
window.HELP_IMPROVE_VIDEOJS = false;
</script>
âī¸
...
</head>
<body>
...
â
đ
<script src="https://cdn.jsdelivr.net/npm/video.js@7.5.0/dist/video.min.js"></script>
âī¸
</body>
You have to include the CSS file of this library like the example down below.
<head>
...
đ
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@splidejs/splide@latest/dist/css/splide.min.css">
âī¸
...
</head>
đ¤ If you have any questions or suggestions, do not hesitate to contact us at âī¸ hello@frontendor.com