π‘Home Page Customization
This guide helps you update images and text content on the homepage. The structure is divided by sections as per the HTML file.
π File Structure
/index.html <-- Main home page
/assets/
βββ css/
βββ style.css <-- Main stylesheet
βββ js/
βββ index.js <-- Home-specific JS logic
βββ js.js <-- General JS scripts
βββ image/ <-- All images organized per section
/header.html <-- Reusable header partial
/footer.html <-- Reusable footer partialβοΈDynamic Includes: Header & Footer
The home page dynamically loads the header and footer via JavaScript:
JavaScript Loader (Located at end of index.html)
index.html)function loadHTML(containerId, file) {
fetch(file)
.then(response => response.text())
.then(data => {
const container = document.getElementById(containerId);
if (container) {
container.innerHTML = data;
} else {
console.error(`Element with id '${containerId}' not found.`);
}
})
.catch(error => console.error('Error loading file:', error));
}
loadHTML('header', 'header.html');
loadHTML('footer', 'footer.html');β To customize header/footer, edit the content in
header.htmlorfooter.html.
π§± Page Sections Overview
π© Section 1 β Hero Banner

βοΈ Content to Update:
Main Title:
Online Invoice GeneratorEdit in:<h1 class="section-1-heading">Description: Paragraph below the heading Edit in:
<p class="section-1-heading-p">CTA Button Text/Link:
Text:
Create Free Invoice NowEdit in:
<button class="btn section-1-btn" onclick="...">
Trusted Text:
Edit in:
<p class="section-1-true-p-1">and<p class="section-1-true-p-2">
Image:
Path:
assets/image/section 1/invoice-image.pngEdit in:
<img class="section-1-invoice-1" src="..." alt="">
π¦ Section 2 β Trusted Logos

βοΈ Content to Update:
Text: "Trusted by forward-thinking companies..."
Edit in:
<p class="section-2-p">
Logos:
Edit Paths in:
<img src="assets/image/section 2/logo-*.svg" alt="logo">
π¨ Section 3 β Invoice Branding

βοΈ Content to Update:
Title & Description: Change text inside
<h2>and<p>Icons: Replace the image files like
section-3-icon-1.svgin the folder.Right Side Image: Replace
section-3-right-image.svg
π§ Section 4 β Invoice Generator CTA

βοΈ Content to Update:
Background Image: Change the file
section-4-bg.pngor update the path insidestyle="background-image: url(...);"Title and Text: Inside
<h2>and<p>
πͺ Section 5 All-in-One Section

βοΈ Content to Update:
Just update the text inside the
<h2>and<p>tags.
π₯ Section 6 β Features



βοΈ Content to Update:
Text: Edit
<h2>and<p>in each part.Images: Replace
part-1.svg,part-2.svg, etc. insideassets/image/section 6/
π« Section 7 β Benefits

βοΈ Content to Update:
Text: Edit
<h2>and<p>List Items: Update
<p class="sec-7-sys-*">lines.Image: Replace
left-side.pngin the folder.
π¨ How to Replace an Image
Prepare your new image (optimize for web: JPG/PNG/SVG).
Replace the existing file in the correct folder inside
assets/image/section X/Or rename your new image and update the
<img src="...">accordingly in the HTML.
π¬ How to Change Text Content
Find the relevant section using the class name (e.g., .section-1-heading-p) and update the text between the tags <h1>, <p>, etc.
π‘ Tips
Always back up original HTML and images before making changes.
Use compressed images to keep page load fast.
Use meaningful alt tags for images (
alt="invoice preview").
Last updated