Skip to content

Control the header logo size

Updated ยท 2 min read

The displayed header logo size is determined by the Logo element width, the height of its row, and the proportions of the selected image.

Logo width#

Logo width sets the maximum width of the regular logo in pixels. The sticky logo has a separate Sticky header logo width setting.

Logo width setting in header builder
Logo width sets the maximum width of the regular header logo.

Header row height#

The logo cannot be taller than the row that contains it. When the selected width would make the logo too tall, the browser scales it down while preserving its aspect ratio. Regular, mobile, and sticky row heights can therefore produce different displayed sizes.

Configure Main header settings dialog with row flex layout and height controls
The height of the active header row limits the displayed logo height.

Image dimensions and aspect ratio#

The logo always keeps the aspect ratio of the source image. A wide image becomes shorter at the same width, while a taller image reaches the row-height limit sooner.

Logo image dimensions affecting its displayed size
The source image proportions determine the resulting logo height.

For raster formats such as PNG and JPEG, the source image dimensions also determine how far the image can be enlarged without upscaling. SVG logos can scale without the same pixel-dimension limit.

Logo displayed within the width and row-height constraints
Final logo size is limited by the width setting, row height, and source proportions.

Desktop, mobile, and sticky logos#

Desktop and mobile layouts use separate Logo elements, so configure their widths independently. The optional sticky logo image and width are located in the Sticky header tab of each Logo element.

Width and height attributes#

Keep Add width and height attributes enabled. Explicit image dimensions reserve the correct space before the logo loads and help reduce layout shifts.

Configure Logo settings dialog with General and Sticky header tabs, logo upload, width slider, and Save button
Enable explicit width and height attributes to improve layout stability.

Was this article helpful?

Still stuck? Ask on the support forum