PYRO - Documentation
Created: October 18, 2023
By: Rometheme
Email: rometheme@gmail.com
Thank you for purchasing my theme. If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here. Thanks so much!

### A) Getting Started

PYRO is a clean, modern, and fully responsive HTML Template. it is designed for charity, non-profit, fundraising, donation, volunteer, businesses or any type of person or business who wants to showcase their work, services and professional way. PYRO Template’s uniqueness is due to its amazingly beautiful designs and easy to use Website template solution that maximizes user satisfaction. It is built using bootstrap 5.3 framework, works totally responsive, easy to customise, well commented codes and seo friendly

This template made with Bootstrap, using HTML5, CSS3, JS and jQuery.

#### Get Yourself a Code Editor

Yes, it’s completely possible to edit HTML in Notepad or a similar program, but things will go much more smoothly for you if you use a proper code editing app. One of the main reasons is you’ll get colored highlighting of your code, as you’ll see shortly, which will make it much easier to read and edit.

I recommend Visual Studio Code, which you can download here: https://code.visualstudio.com/download

#### Download the template main files from Themeforest

- First, you need to download the template files from your Themeforest account. Navigate to your Downloads tab on Themeforest.
- Find the templates.
- Click the Download button,
- and then click "All Files and documentation".

Most HTML templates will come in a ZIP file - if so, go ahead and extract yours now. Then look around inside the template’s folders until you find the “index.html” or “index.htm” file.

In our example template the “index.html” file is found in the “HTML” directory.

### B) HTML Structure

    <!-- HEADER -->
    <section id="header" class="fixed-top py-lg-1 py-3">
    ...
    </section>

    <!-- NAVBAR SECTION -->
    <nav class="navbar navbar-expand-lg">
    ...
    </nav>

    <!-- BANNER -->
    <section class="position-relative px-3" style="background-image: url(image/image-1920x900-1.jpg);">
    ...
    </section>

    <!-- ABOUT ME -->
    <section class="section">
    ...
    </section>

    <!-- MY WORK -->
    <section class="section bg-white">
    ...
    </section>

    <!-- NEW RELEASE -->
    <section class="position-relative" style="background-image: url(image/image-1920x900-1.jpg);">
    ...
    </section>

    <!-- TESTIMONIAL -->
    <section class="section bg-white">
    ...
    </section>

    <!-- BLOG -->
    <section class="section text-white">
    ...
    </section>

    <!-- FOOTER -->
    <footer class="text-white">
    <div class="section position-relative">
    ...
    </div>
    </footer>

If you would like to edit the color, font, or style of any elements in one of these columns, you would do the following:

    :root {
        --dark-bg: #202020;
        --secondary-dark: #252525;
        --dark-2: #353535;
        --accent-color: #67e0e1;
        --gray-color: #7a7a7a;
        --font-1: 'Inria Serif', serif;
        --font-2: 'Poppins', sans-serif;
        --font-3: 'Roboto', sans-serif;
    }

If you find that your new style is not overriding, it is most likely because of a specificity problem. Scroll down in your CSS file and make sure that there isn't a similar style that has more weight.

    .text-gray {color: #somecolor;}

So, to ensure that your new styles are applied, make sure that they carry enough "weight" and that there isn't a style lower in the CSS file that is being applied after yours.

### C) CSS Files and Structure

On the CSS side, we load different css files depending on the page that loads.

#### How to change a background-image

Replace "image/image-1920x900-1.jpg" with your image url source or website name .

#### How to change a title/font from css

We recommend using the FireBug add on in Firefox for a fast identification of the css properties that you might want to change. Lets say for example that we want to change the color and add a link to the h1 represented in the picture below.

Open the style.css file form the root folder and search h1 until you find the color property in the file. It looks line this:

    h1 {
       font-size: 100px;
    }
    h2 {
       font-size: 72px;
    }
    h3 {
       font-size: 50px
    }

Change the color with the one you want and hit save. If you want to change only the h1 color, you have to separate the h1 and give it another color. The css should look like this.

    h1{
      color: #12aaeb;
      font-size: 40px;
      line-height: normal; }

Now, lets say we wanted h1 to poin to http://google.com. At this point the h1 looks like this:
<h1>Shortcodes: Typography & paragraph styles</h1>
To make it point to a specific URL the h1 must look like this:
<h1><a href="http://www.google.com">Shortcodes: Typography & paragraph styles</a></h1>
You can make changes to the css to any elements. You just need to know the name of the element or div either by using FireBug or by opening the HTML and then search for that element in the css. Piece of cake!

#### Social Icons

To add a link to your social icon paste the necessary URL into the <a href=> tag. See the example below:

    <a type="button" href="https://www.facebook.com" class="social-item"><i class="fa-brands fa-facebook"></i> </a>

### D) JavaScript

This template imports different js files for the different sliders, lightboxes and interactive tabs from the homeplage and the rest of the pages. All the js is built around JQuery. What follows are some examples where jQuery was used:

#### Slider Testimonial Settings

    $(function () {
        var swiper = new Swiper('.swiper-carousel', {
            autoplay: {
                delay: 3000
            },
            initialSlide : 1,
            speed: 2000,
            slidesPerView: 2,
            slidesPerGroup: 1,
            spaceBetween: 30,
            loop: true,
            breakpoints: {
                // when window width is >= 360px
                360: {
                    slidesPerView: 1,
                },
                // when window width is >= 768px
                768: {
                    slidesPerView: 1,
                },
                // when window width is >= 1024px
                1024: {
                    slidesPerView:2,
                }
            },
            // If we need pagination
            pagination: {
                enabled: true,
                el: '.swiper-pagination',
                type: 'bullets',
                clickable: true,
            },
        });

    });

To change the Configuration, please see SwiperJS documentation SwiperJS

#### Contact Form

Open the file in `php/form-process.php` line 6 and line 25
$to = "recipient@example.com"
edited "recipient@example.com" with your email

### E) Search Engine Optimization

In order to improve your search engine ranking, and thus enable your web site to appear among search results, please don't forget to change the description and keywords with your own.

    <meta name="description" content="">
    <meta name="keywords" content="">

### F) Sources and Credits

I've used the following images, icons or other files as listed.

#### HTML, CSS and JS:

- Bootstrap
- jquery
- Font Awesome
- SwiperJS
- Maps Google

#### Images:

- Photodune
- Pexels
- Pixabay
- Picjumbo
- Unsplash
- Envato Element

#### Fonts:

- Inria Serif
- Poppins
- Roboto

Once again, thank you so much for purchasing this theme. As I said at the beginning, I'd be glad to help you if you have any questions relating to this theme. No guarantees, but I'll do my best to assist. If you have a more general question relating to the themes on ThemeForest, you might consider visiting the forums and asking your question in the "Item Discussion" section.

Rometheme

Back to Top