Lifetime prices rise on 19 October →
Phox Elements
HEADER Sticky header logos for Breakdance

Change your logo when the header turns sticky

Header Logo is a logo element for the Breakdance Header Builder. When the header becomes sticky, the logo can shrink to a smaller width or swap to a different image. The change is animated with a transition time you set.

Works with the Breakdance Header Builder Shrink or swap on sticky Set your own transition time
Live demos

Scroll inside each frame to make its header stick

Three mock websites, each with a real Header Logo element in its header. Scroll inside a frame, or press Show sticky state, and watch the logo shrink, swap to an icon or change from light to dark.

Shrink on sticky

An architect’s wordmark that gets smaller

One logo image. Width: 220px, Sticky Width: 140px, Transition Time: 0.4s. Scroll inside the frame and the logo shrinks as the header sticks.

lindenstudio.example
Architecture & interiors, Bristol

Homes shaped around the way you live

Mill House

A Victorian mill turned into three family homes, with the original beams kept on show.

The Orchard Studio

A timber garden studio with a sedum roof and one wall of glass.

Clifton Terrace

A rear extension that doubles the kitchen and lets light into the whole ground floor.

Harbourside Flats

Twelve flats on a narrow plot, each with its own balcony over the water.

Swap to an icon

A full logo that becomes a round badge

Use Alternate Sticky Logo on. Logo: the full wordmark at 250px. Sticky Logo: the round icon at 46px, so the sticky bar stays slim.

harbourandco.example
Roasted every Tuesday

Small-batch coffee from the harbour

Single origins and house blends, posted the day after roasting.

A cup of black coffee
House Espresso

Chocolate, cherry and a long caramel finish. £9.50 for 250g.

Kochere, Ethiopia

Bright and floral with jasmine and lemon. £11.50 for 250g.

Decaf Colombia

Sugar-cane processed, sweet and round. £10.00 for 250g.

Light to dark

A white logo over a photo, a dark logo on the sticky bar

Use Alternate Sticky Logo on. Logo: white version at 190px over the hero photo. Sticky Logo: dark version at 150px on the white sticky bar.

summitgym.example
Open 6am to 10pm, seven days a week

Train, climb and stretch under one roof

Morning Flow

Mon to Fri, 7am. A 45-minute yoga class to start the day.

Bouldering Basics

Tue and Thu, 6pm. Learn to climb with a coach, shoes included.

Strength Club

Sat, 9am. Barbell technique in small groups of six.

Set-up video

How to set it up in the Header Builder

A short walkthrough of adding Header Logo to a sticky Breakdance header and choosing the sticky settings.

How it works

Three steps to a sticky logo

Set it up once in your header template.

1

Make the header sticky

In the Breakdance Header Builder, turn on the sticky header option.

2

Add Header Logo

Place Header Logo in the header, choose your logo image and set the link.

3

Set the sticky look

Set a smaller sticky width, or turn on Use Alternate Sticky Logo and pick a second image.

Features

What you can control

Two ways to change the logo, with a smooth transition.

Shrink on sticky

Set a normal width and a sticky width. The logo resizes when the header sticks.

Swap to another logo

Show a different image in the sticky header, such as a smaller icon or a light version for a dark bar.

Transition time

Set how long the width change takes, in seconds.

Image sizes

Choose the WordPress image size for each logo.

Alt text

Add separate alt text for the default and sticky images.

Logo link

Link the logo to your home page or any URL, and open it in a new tab if you like.

Use cases

Where it works best

Any site with a sticky header.

01

Slimmer sticky headers

Shrink a large logo so the sticky bar takes up less space.

02

Icon-only sticky logo

Swap a full wordmark for a small icon once visitors scroll.

03

Transparent headers

Use a white logo over a hero image and a dark one on a solid sticky bar.

04

Mobile headers

Keep the logo small on phones when the header sticks.

05

Brand variations

Show a different version of the logo once the page scrolls.

06

Online shops

Keep the logo visible but compact next to menu and cart icons.

Settings reference

Every control, explained

This is the full list of settings in the Breakdance editor, with their default values.

ControlWhat it doesDefault
Content
LogoThe default logo image.—
Image SizeWordPress size for the default logo.Full
Alt (Default Image)Alt text for the default logo.—
Transition TimeHow long the width change takes, in seconds.0.3
Use Alternate Sticky LogoShow a different image when the header is sticky.Off
Sticky LogoThe image shown in the sticky header.—
Sticky Image SizeWordPress size for the sticky logo.Full
Alt (Sticky Image)Alt text for the sticky logo.—
Logo LinkWhere the logo links to. With no link set it goes to your home page.Home page
Open In New TabOpen the link in a new tab.Off
Design
WidthWidth of the logo in the normal header.200px
Sticky WidthWidth of the logo in the sticky header.100px
Tips & FAQ

Good to know

Does it work with any header?

It is made for the Breakdance Header Builder. It reacts when the header gets its sticky styles class (bde-header-builder--sticky-styles), so turn on the sticky option in your header. The demos above add that class with a few lines of script, because they sit inside the page rather than in a real header.

Can I just make the logo smaller?

Yes. Leave Use Alternate Sticky Logo off and set a smaller Sticky Width. The same image shrinks when the header sticks.

Can I use a different image when sticky?

Yes. Turn on Use Alternate Sticky Logo and choose a Sticky Logo. The default logo hides and the sticky one shows in its place.

Can I set different widths per device?

Yes. Width and Sticky Width can be set for each breakpoint.

Can I use two Header Logos with different sticky settings on one page?

The sticky width and swap rules are written as shared CSS, so the last Header Logo on the page sets them for all. One header logo per page, as on a normal site, works as expected. For more than one, add a class to each and set the sticky widths with a little custom CSS, as the demos above do.

Add Header Logo to your next page

Header Logo is included with Phox Elements, along with 140+ other premium elements for Breakdance.