A decade of Canvas at your command — powered by our custom AI engineStart Building →
Listicles & Top ListsMay 8, 2026·7 min read

6 Ways to Customise a Canvas HTML Template Without Coding

Most people assume customising a professional HTML template requires a developer on speed dial — but with the Canvas HTML Template, a surprising amount of visual control is available through straightforward CSS variable overrides, utility classes, and content swaps that require no programming knowledge whatsoever.

1. Override CSS Variables to Change Colours and Fonts Instantly

Canvas is built around a set of CSS custom properties that act as a global control panel for the template’s visual identity. Rather than hunting through multiple stylesheets, you can override every key colour and font by dropping a single <style> block into the <head> of your page — or adding it to a separate custom.css file loaded after style.css.

The most important variable is –cnvs-themecolor, which drives buttons, links, highlights, and accent elements across the entire template. Alongside it, –cnvs-primary-font and –cnvs-secondary-font control typography without touching a single font-face declaration.

:root {
  --cnvs-themecolor: #e63946;
  --cnvs-themecolor-rgb: 230, 57, 70;
  --cnvs-primary-font: 'Inter', sans-serif;
  --cnvs-secondary-font: 'Playfair Display', serif;
}

Pair this with a Google Fonts <link> tag in your <head> and you have a completely re-branded template in under ten minutes. If you need to calculate the right rem values for your type scale, the px to rem converter makes that conversion instant.

white printer paper on white table
Photo by Daria Nepriakhina 🇺🇦 on Unsplash

2. Control Logo Size With the Correct CSS Variables

A common mistake when customising Canvas without coding knowledge is to write a CSS rule targeting #logo img directly. Canvas manages logo sizing through two dedicated variables — –cnvs-logo-height for the standard header state and –cnvs-logo-height-sticky for when the sticky header kicks in. Using these ensures the logo scales correctly in both states without breaking the header layout.

:root {
  --cnvs-logo-height: 50px;
  --cnvs-logo-height-sticky: 36px;
}

Set these values once in your custom CSS file and Canvas handles the rest automatically. If your logo file itself needs to be swapped, simply replace the src attribute on the <img> tag inside the #logo div — no other changes are required.

3. Use Bootstrap 5 Utility Classes to Adjust Layout and Spacing

Canvas is built on Bootstrap 5, which ships with an extensive library of utility classes for padding, margin, display, flexbox alignment, and colour. Because Bootstrap 5 is bundled directly into Canvas — never load it separately from a CDN — all of these utilities are available the moment your page loads.

To change section spacing, background colour, or text alignment, you simply add or swap class names on existing elements. No CSS file editing is required at all for basic adjustments.

<section class="py-6 bg-light text-center">
  <div class="container">
    <div class="row justify-content-center">
      <div class="col-lg-8">
        <h2 class="fw-bold mb-3">Your Section Heading</h2>
        <p class="lead text-muted">Supporting copy goes here.</p>
      </div>
    </div>
  </div>
</section>

For anyone who wants to experiment with column arrangements before committing to a layout, the Bootstrap Grid calculator is a useful planning tool. You can also read the full breakdown of what Canvas sections are available in the post on 10 Canvas HTML Template sections every landing page needs.

a computer screen with a web page on it
Photo by Team Nocoloco on Unsplash

4. Swap Content, Images, and Icons Without Touching the Structure

The fastest customisation you can make to any Canvas demo is a straight content swap — replacing placeholder text, images, and icon classes with your own material while keeping the surrounding HTML structure completely intact. This approach works for hero sections, feature grids, testimonial blocks, pricing tables, and every other component Canvas ships with.

For images, update the src attribute. For Canvas’s built-in icon font, replace the class name on an <i> element. The stylesheet reference for icons is css/font-icons.css — already included in every Canvas page template.

<div class="feature-box fbox-center fbox-light fbox-effect">
  <div class="fbox-icon">
    <i class="icon-line-heart"></i>
  </div>
  <div class="fbox-content">
    <h3>Your Feature Title</h3>
    <p>Replace this with a concise benefit statement relevant to your audience.</p>
  </div>
</div>

This technique is exactly what makes Canvas so efficient for agency workflows — as covered in detail in the guide to Canvas HTML Template for agencies: workflows, prompts, and best practices.

5. Customise Header Colours and Navigation Without JavaScript

Canvas exposes header and navigation colours through CSS variables, meaning you can create a dark header with light menu links, or a transparent hero header that transitions to a solid sticky bar, purely through CSS overrides. No JavaScript edits are needed.

The key variables are –cnvs-header-bg, –cnvs-header-sticky-bg, –cnvs-primary-menu-color, and –cnvs-primary-menu-hover-color. Set these in your :root block alongside your theme colour overrides.

:root {
  --cnvs-header-bg: #0d1b2a;
  --cnvs-header-sticky-bg: #0d1b2a;
  --cnvs-primary-menu-color: #ffffff;
  --cnvs-primary-menu-hover-color: #e63946;
}

Remember that Canvas’s JS files — js/plugins.min.js and js/functions.bundle.js — handle interactive behaviour like sticky headers and mobile menus automatically. You do not need to write any JavaScript to enable these features; they activate based on the data attributes and class names already present in Canvas’s HTML structure.

6. Use an AI Layout Generator to Build New Sections Instantly

If you need a section that does not exist in the Canvas demo library — a custom pricing comparison, a multi-step process block, or a niche testimonial layout — building it from scratch manually is the point where most non-coders get stuck. This is where an AI-powered generator changes the equation entirely.

Canvas Builder is purpose-built for this task. It generates production-ready HTML sections that use Canvas’s own class conventions, Bootstrap 5 grid structure, and correct CSS variable references. The output is copy-pasteable directly into any Canvas page without modification. For projects where speed matters — client deadlines, multiple niche builds, or rapid prototyping — this removes the single biggest bottleneck for non-technical users.

If you are planning a specific type of site and want to see how Canvas sections come together at a project level, the post on how to build a complete business website with Canvas HTML Template walks through a full real-world build from start to finish.

Frequently Asked Questions

Do I need to know CSS to customise the Canvas HTML Template?

For most visual changes — colours, fonts, logo size, header styling — you only need to copy a short CSS variable block into a custom stylesheet and edit the values. If you are comfortable editing a text file and replacing a hex colour code, that is sufficient. No understanding of selectors, specificity, or cascade rules is required for these overrides.

Can I change the theme colour without editing the original style.css file?

Yes, and this is the recommended approach. Create a separate custom.css file, load it after style.css in your HTML, and add a :root block that overrides –cnvs-themecolor and –cnvs-themecolor-rgb. This keeps your changes isolated from the core template files and makes future updates easier to manage.

What is the correct way to resize the logo in Canvas?

Use the –cnvs-logo-height and –cnvs-logo-height-sticky CSS variables in your :root block. Avoid writing direct CSS rules targeting #logo img — Canvas’s internal layout logic relies on these variables, and bypassing them can cause inconsistent sizing between the standard and sticky header states.

Will loading Bootstrap from a CDN cause conflicts with Canvas?

Yes. Canvas bundles Bootstrap 5 directly within its own stylesheet and JS files. Loading Bootstrap again from an third-party CDN will result in duplicate styles, potential class conflicts, and unpredictable layout behaviour. Always use only the CSS and JS files that ship with Canvas: style.css, css/font-icons.css, js/plugins.min.js, and js/functions.bundle.js.

Can non-technical users add entirely new sections to a Canvas page?

Yes, particularly when using an AI generator like Canvas Builder. Rather than writing HTML from scratch, you can describe the section you need and receive a complete, Canvas-compatible code block ready to paste into your page. For content-only changes — swapping text, images, and icons within existing sections — no tools beyond a text editor are needed.

If you’re working with the Canvas HTML Template and want to generate production-ready layouts faster, try Canvas Builder free and see how much time you save on every project.

Related Posts