[Resolved] Titel and Subtitel

Home Forums Support [Resolved] Titel and Subtitel

Home Forums Support Titel and Subtitel

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #276435
    Christopher

    Hi,

    I like to use Font Awesome in the Header for the subtitle of the website. It works and looks okay on the Browser-Window, but then I have also the Font Awesome code in the Browser-Tab.

    <title>Open TECH Academy – Wissen <i class=&quot;green fa
    fa-circle-o&quot;></i> Machen <i class=&quot;green fa
    fa-circle-o&quot;></i> Teilen</title>

    Would be great to separate this, <title> and <header> in <body>.

    Cheers
    Christopher

    #276656
    Tom
    Lead Developer
    Lead Developer

    Best to add your title in GP Hooks, and use a title without the icon in the Customizer (and hide it).

    In GP Hooks, you can do this in the Before Header Content hook:

    <div class="site-branding">
        <p class="main-title" itemprop="headline"><a href="URL TO YOUR HOME PAGE" rel="home">YOUR SITE TITLE WITH ICON</a></p>
        <p class="site-description">YOUR TAGLINE IF NECESSARY</p>
    </div>
    #276679
    Christopher

    Hi Tom,

    thanx, that helped. I wasn’t aware of this function of Hooks.

    Cheers
    Christopher

    #276711
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

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