Custom logo has fixed size (40x40px) after upload โ€” should use original width with max-width limit

Created on 30 October 2025, 7 days ago

Description:

When uploading a custom logo in the Navigation module, itโ€™s being displayed at a fixed size of 40x40px. This makes the logo look distorted or too small.

Expected behavior:

  • The logo should display using its original width and height proportions.
  • Optionally, a max-width (e.g., 150px or 200px) can be set to prevent overly large logos from breaking the layout.
  • There should be no fixed width/height applied directly.

Steps to reproduce:

  1. Go to the Navigation module settings.
  2. Upload a custom logo with non-square dimensions.
  3. Observe that the displayed logo is resized to 40x40px, losing its original aspect ratio.

Suggested fix:

Remove the fixed width/height (40x40px) from the logo CSS or template.

Use a flexible rule like:

.navigation-logo img {
  max-width: 150px;
  height: auto;
}
๐Ÿ› Bug report
Status

Active

Version

1.0

Component

User interface

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia manojkumar_97

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024