DE EN

Custom Logo Module

Complete Documentation

Back to Overview

Display Your Own Logo Before the Page Title

The Custom Logo Module allows you to display a custom logo before the title of your Webtrees website. Fully customizable in size, position and responsive for all devices.

Quick Start – Ready in 5 Minutes!

  1. Prepare logo: Have your logo file ready (.png, .jpg, .svg) (recommended: 45x45 pixels)
  2. Upload: Via FTP to /modules_v4/custom-logo/resources/logos/
  3. Enable module: In Webtrees under "Control panel → Modules → All modules"
  4. Configure: Click on the gear icon ⚙️ and select your logo file
  5. Done! Your logo now appears before the page title
Custom Logo Module - Admin Interface
Flexible Formats

PNG, JPG, SVG, GIF

Responsive

Adapts automatically

Customizable

Size & position freely selectable

1 Download Module

Download the ZIP archive from the homepage and extract it.

2 Upload Files

Upload the complete custom-logo folder to the /modules_v4/ directory of your Webtrees installation.

The structure should be:
webtrees/modules_v4/custom-logo/module.php
3 Create Logos Directory

Create the directory via FTP:

/modules_v4/custom-logo/resources/logos/

Set permissions to 755 or 777

4 Enable Module
  1. Log in as administrator to Webtrees
  2. Go to Control panel → Modules → All modules
  3. Search for "Custom Logo"
  4. Enable the module by clicking the switch
Done! The module is now installed and ready to use.

1 Upload Logo

Upload your logo file via FTP to the directory:

/modules_v4/custom-logo/resources/logos/

Supported formats: .png, .jpg, .jpeg, .svg, .gif

2 Open Settings
  1. Go to Control panel → Modules → All modules
  2. Click on the gear icon (⚙️) for the Custom Logo module
3 Configure Logo
Setting Recommendation Description
Logo File - Select your uploaded file
Width 40-60px Default: 45px
Height 40-60px Default: 45px
Vertical Alignment -8 to -10 Negative values = move up
Positive values = move down
Tip: On mobile devices, the logo is automatically downsized to a maximum of 40px.
4 Save & Check

Click Save and visit your website to see the logo.

Logo Not Displaying
Possible causes:
  • Module is not enabled → Check under "Control panel → Modules"
  • Logo file is in wrong directory → Must be in /logos/
  • File permissions incorrect → Should be readable (644)
  • Browser cache → Reload with Ctrl+F5
Warning "Directory does not exist"

Solution: Create the directory via FTP:

/modules_v4/custom-logo/resources/logos/
Logo is Too Large/Small

Solution: Adjust the width and height values in the module settings.

Recommended: 40-60 pixels for both values
Logo is Not Centered

Solution: Adjust the "Vertical Alignment":

  • Negative values (-8, -10) → Move logo up
  • Positive values (2, 4) → Move logo down
New Logo File Doesn't Appear
Checklist:
  1. Is the file in the correct directory?
  2. Is the format supported? (.png, .jpg, .svg, .gif)
  3. Reload admin page (F5)
  4. Clear browser cache

Technical Details
  • No database changes: All settings are stored in Webtrees preferences
  • Responsive breakpoints:
    • Desktop: Configured size
    • Mobile (<768px): Max. 40px width/height
  • Hover effect: Logo becomes slightly transparent on mouse-over (opacity: 0.8)
  • Accessibility: ARIA labels present for screen readers
Supported Languages

The module is multilingual and supports:

🇩🇪 German
🇬🇧 English
🇫🇷 French
🇭🇺 Hungarian
System Requirements
Webtrees: Version 2.2.x or higher
PHP: Version 8.1 or higher
Browser: All modern browsers (Chrome, Firefox, Safari, Edge)

License

This module is free software and is published under the GNU General Public License v3.0.

webtrees: online genealogy
Copyright (C) 2025 webtrees development team

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

The complete license can be found at: https://www.gnu.org/licenses/gpl-3.0.html