Creating Themes

FearlessCMS uses a simple but powerful theme system that allows you to create custom themes with HTML templates, CSS styling, and optional theme options. This guide will walk you through creating a complete theme from scratch.

Table of Contents

For more advanced theme development, check out the existing themes in the themes/ directory for examples and inspiration.

Breadcrumb Navigation

Breadcrumbs help users understand their location within your site. Here's a simple implementation:

html

Basic CSS for breadcrumbs:

css
.breadcrumb {
    background: #f8f9fa;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .current-page {
    color: #6c757d;
    font-weight: 500;
}

For more advanced breadcrumb implementations and dark mode support, see the Template Reference.