Archived topic
Block element header hook oddity....
8 replies · Started by Andrew on August 25, 2021
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:

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

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
Sure thing Elvin.
https://sixteenth.com.au/home/
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