Site logo

[Resolved] Hook for adding text after logo sticky header

Home Forums Support [Resolved] Hook for adding text after logo sticky header

Home Forums Support Hook for adding text after logo sticky header

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2490045
    Damiaan van Vliet

    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!

    #2490402
    David
    Staff
    Customer Support

    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.

    #2490972
    Damiaan van Vliet

    Thanks David!
    I’ve send the link.

    #2491009
    Fernando
    Customer Support

    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;
    }
    #2491100
    Damiaan van Vliet

    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

    #2492135
    Fernando
    Customer Support

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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.