Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #253079
    #254073

    Hey!

    Open /includes/helper-main-menu.php, find this code:

    echo avia_logo(AVIA_BASE_URL.'images/layout/logo.png', false, 'strong');
    

    Replace it by this code:

    echo "<div class='logo'>".get_bloginfo ( 'title' )."</div>";
    

    Then, your Blog title will be used as a text logo.

    Cheers!
    Josue

    #285093

    Thank you for your help,

    Is it be possible to add a text field in the theme options directly?

    Alex

    #285103
    #285134

    Thank you for your help

    This change works with 2.8.1 enfold? because it does not work.

    We must add the code in the functions.php file?
    /enfold/functions.php

    add_filter('avf_logo_final_output', 'avf_text_logo_final_output');
    
    function avf_text_logo_final_output($logo) {
    	$link 	  = apply_filters('avf_logo_link', home_url('/'));
    	$logotext = "THIS IS MY LOGO";
    	$subtext  = "THIS IS THE SUBTEXT";
    	$subtext  = "<span class='subtext'>$subtext</span>";
        $logo     = "<h1 class='logo bg-logo'><a href='".$link."'>".$logotext."$subtext</a></$headline_type>";
    	
    	return $logo;
    }
    • This reply was modified 10 years, 4 months ago by Alex.
    #285189

    Hey!

    Yes you should add it to Functions.php file in Appearance > Editor. I tried once again to make sure and it does work fine on my end

    Regards,
    Yigit

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