• Resolved Glenn

    (@hometowntrailers)


    In the site tagline, I’d like to be able to use inline HTML.

    For example:

    This site tagline should have a <span style="color: red">red</span> word.

    When I do this in the Customizer, it works perfectly in the preview. But when I save it and close the Customizer, the HTML code is visible on the front-end.

    Remedy?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @hometowntrailers,

    If inline CSS is not working, then you can add the following CSS under Appearance > Customize > Additional CSS section to change site tagline color.

    .site-logo small {
        color: red;
    }

    Let me know if you succeed – I’m happy to help.

    Thread Starter Glenn

    (@hometowntrailers)

    Thanks – although that doesn’t solve the issue.

    I need to edit it inline, because only part of the text in the title is to have special formatting, i.e. select word(s) of the text, not the entire tagline.

    Hi @hometowntrailers,

    Unfortunately, the tagline field doesn’t support HTML.

    Thread Starter Glenn

    (@hometowntrailers)

    I understand that. Can you put that in as a feature request?

    Mat

    (@mateithemeisle)

    Hello @hometowntrailers ,

    Thank you for your suggestion and apologies for the delayed reply!

    You can submit your idea to this link and if it gets enough votes, our developers will include it in one of our next releases.

    Thank you and have an amazing day!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Allow inline HTML in site tagline…’ is closed to new replies.