Site logo

Archived topic

Hook for adding text after logo sticky header

5 replies · Started by Damiaan van Vliet on January 10, 2023

Viewing posts 1–6 of 6

Good afternoon team,
Is there a hook I can use to add text after the logo on a sticky header?
I tried with CSS but text will appear beneath the logo.

.site-logo.sticky-logo.navigation-logo::after {
  content: "test";
}

Thanks!

Hi there,

if you're happy with adding it via CSS, then can you share a link with that CSS added - it will just need some CSS to inline it.

Thanks David!
I've send the link.

Hi Damiaan,

Thank you!

Can you try this code instead?:

.site-logo.sticky-logo.navigation-logo a::after {
  content: "test";
}
.site-logo.sticky-logo.navigation-logo img{
    display:inline;
}

Great Fernando it works!

I see now my problem was I've set a display-inline on the content and not on the image.

Have a great day

You're welcome, Damiaan! Have a great day as well!

This archived topic is closed to new replies.