Site logo

Archived topic

Block element header hook oddity....

8 replies · Started by Andrew on August 25, 2021

Viewing posts 1–9 of 9

Hey there.

I've discovered something a bit strange. I've added a Block Element to a hook area in the 'after_logo' hook. A simple text block:

Normal

The sticky header has the hook before the logo like this:

Normal

My logo is an svg if that makes any difference.

... also "Use Navigation as Header" is checked if that makes a difference.

Is this a feature or a bug?

Hi Andrew,

Can you link us to the site in question? To inspect the page and get a clue as to why it happens.

You can use the private information text field to provide the site details. :D

Ah I see,

Here's a workaround:

Try adding "swan-hill" to the Additional CSS Class(es) of the Swan Hill heading block.

And then add this CSS:

.swan-hill{ order: 3; }

Thanks. Any idea why this happens?

The sticky logo for the sticky-navigation is baked into the spot instead of being placed the same way the default logo is placed.

The actual order of the logo in the page source is: ( https://share.getcloudapp.com/jku4eWeW)

>default logo
>the hooked element
>sticky logo

The hook used (after_logo) comes before the sticky-logo - https://share.getcloudapp.com/YEuOXWRJ - that's why it appears before the sticky logo.

Awesome. Thanks.

No problem. :D

This archived topic is closed to new replies.