Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #689552

    Dear Kriesi Support:
    How do I turn off the the logo altogether and just show the title of the website and the tagline as text in the header?
    As always, thank you for your help.
    Cheers,
    Tim

    #689582

    Hi hypergolica!

    Please refer to this post – http://kriesi.at/documentation/enfold/add-subtext-to-logo-replace-logo-with-site-title/

    Cheers!
    Yigit

    #689739

    Hello Yigit!
    Many thanks. What I don’t see is the code that allows me to put the site title + the subtext (it’s either adding subtext to logo or remove logo and add title, but no: remove logo and add title and subtext). Can you help?
    Thank you.
    Cheers,
    Tim

    #689847

    Hi Tim,

    Add the following code to add the site title:

    
    add_filter('avf_logo_subtext', 'kriesi_title_addition');
    function kriesi_title_addition($sub) {
        $sub .= get_bloginfo('name');
        return $sub;
    }

    Then add the following to use a subtext:

    add_filter('avf_logo_subtext', 'kriesi_logo_addition');
    function kriesi_logo_addition($sub) {
        $sub .= "Company Name";
        return $sub;
    }

    Let me know if that helps!

    Best regards,
    Jordan

    #689866

    Dear Jordan,
    When I do that, I get the following error:

    Fatal error: Cannot redeclare kriesi_logo_addition() (previously declared in /home/american/www/www/plog/wp-content/themes/enfold-child/functions.php:9) in /home/american/www/www/plog/wp-content/themes/enfold-child/functions.php on line 18

    I think the “Company Name” and get_bloginfo(‘name’) need to reside in the same add_filter snippet. I’m just not sure how to do that.
    Please advise.
    Thank you,
    Tim

    #689869

    Hey!

    Please remove the code via FTP and use following instead

    add_filter('avf_logo_subtext', 'kriesi_title_addition');
    function kriesi_title_addition($sub) {
        $sub .= get_bloginfo('name');
        $sub .= "<br><span class='your-subtext'>Here goes your text</span>";
        return $sub;
    }

    then add following code to Quick CSS and adjust as needed

    .logo {
        line-height: 30px;
    }

    Regards,
    Yigit

    #689875

    Thanks, Yigit!

    That did it. :-)

    Cheers,

    Tim

    #689879

    Hi!

    You are welcome!
    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Cheers!
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Turn Off Logo, Just Show Title of Website as Text’ is closed to new replies.