• Resolved Nymphalis

    (@nymphalis)


    Hi again ??
    Would anyone be able to tell me how to change the title attribute on the logo? I’m referring to the text that pops up when you mouse over the site logo. It currently displays a “|”
    It seems like this would be an easy fix, I’m just not sure where to edit and there’s a good chance my brain is fried after spending all day getting my search widget to display on one line lol.
    Thanks!

    Pics related:
    https://i.imgur.com/hUZJuTF.jpg
    https://i.imgur.com/A6pIof8.jpg

    Site: thewoodendahlia.com
    Theme: Customizr

Viewing 6 replies - 1 through 6 (of 6 total)
  • Just a guess, because I don’t use a logo, but I think:

    In the Customizr-Options … header and subheader (or maybe it’s title and subtitle – using a german version here, so I am not sure).
    I think, the title-tag on the logo consists of these two, seperated by the pipe, the | …
    If there are no values, it gives you just the [ | ]. To fill in some values there would be the easiest way to adjust this.

    If you really want to get rid of the title-tag at all, there will be some PHP-advice from a PHP-guru, I hope.

    Thread Starter Nymphalis

    (@nymphalis)

    Thanks for the reply! I think there will have to be some php editing though. I went in to Customize->Global Settings->Site Title & Tagline and put in “test” under Site Title. That changed the mouse over text to “test |” lol
    Was worth a shot though!

    On the right side of the pipe would be the tagline then (if tagline is, what I see as “Untertitel”, so you could have

    Wooden Dahlia | Soap & Sundry

    shown while hovering with the mouse. Would that be wrong?

    And there is an option, that the tagline should not be shown on the site itself.

    ____

    Nevertheless:
    I think it’s a mistake, that the title-tag (esp. the pipe) is shown, even if site-title an tagline are not given.
    Anyway …

    Thread Starter Nymphalis

    (@nymphalis)

    I do believe we’re looking at the same thing. And, thanks to you, I have something that’s not only workable, but is quickly growing on me!
    I’m going to leave this open for a few, only because I’m still curious as to how to actually remove the pipe, and in case anyone may be looking for this solution in the future. If there are no more replies today I’ll mark it resolved.
    Thanks so much!

    Hi nymphalis,
    Add this to your child theme’s functions.php

    add_filter('tc_logo_link_title','my_link_title');
    function my_link_title($content) {
       return "";//CHANGE TO ANYTHING YOU WANT
    }
    Thread Starter Nymphalis

    (@nymphalis)

    That worked! No pipe and I can put whatever I want to display in the quotes after return.
    Thank you both – we are resolved ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Change/remove title attribute on the logo’ is closed to new replies.