• We’d like to mix several fonts in the site title. I know there was a time, in years gone by, when I was able to use HTML code in a title, as with a <br /> or <span> tag. It must have been a plugin I added, or some code added to the function.php file but don’t see anything available anymore.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    It works for me… see https://bertha.sterndata.com/2021/08/26/part-one-of-many/

    You can then add custom CSS like

    span.part_one {
       font-family:Courier;
    }
    Thread Starter keress

    (@keress)

    Thanks for the quick reply.

    I”m using a child of Twenty Seventeen. I’ve tried adding <spam> html and it just reads in the title as part of the text, i.e. “FINISHLINE <SPAN CLASS=”GRAPHIX”>GRAPHIX</SPAN> VINTAGE RACING ART.” In earlier versions of WordPress, there were plugins or code added to functions.php that would allow this, but I can’t find anything now. I see you’re on Twenty Twenty One. Maybe that’s the difference.

    Thread Starter keress

    (@keress)

    Could someone else please look at this? I have activated three different themes, 2017, 2020 and 2021 and with each if I try to add html to the Settings > General > Site Title it displays as code “FINISHLINE <SPAN CLASS=”GRAPHIX”>GRAPHIX</SPAN> VINTAGE RACING ART.” I’m trying to get HTML to work in these fields. I believe I’ve done it in the past, perhaps I’d found a plugin to help. I don’t recall and can’t find anything currently available.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    The site I used uses twentytwentyone and shows using spans in a post title, but you can’t do that with the site title.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add CSS Tags to Site Title’ is closed to new replies.