Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #437684

    Hi. I read and followed the instructions on removing the Enfold logo permanently at: https://kriesi.at/support/topic/remove-default-enfold-logo-from-header-permanently. However, when I add that code to my functions.php child, it does remove the Enfold logo, but will not display my own logo.

    I do understand that the Enfold logo will not show if my logo is uploaded, but I don’t want the Enfold logo to reappear should my logo be removed temporarily or whatever. And, this fix needs to work when I update my Enfold theme. (I saw another thread on how to do this, but the php code was not in a child theme area.)

    Thank you !

    #438492

    Hey laptophobo!

    Thank you for coming back.

    Put the following in functions.php of the child theme:

    
    add_filter('avf_logo_final_output', 'avia_remove_default_logo', 10, 6);
    
    function avia_remove_default_logo($logo, $use_image, $headline_type, $sub, $alt, $link)
    {
    	if( ! avia_get_option('logo') )
    	{
    		return '';
    	}
    	
    	return $logo;
    }
    

    Best regards,
    Günter

    #439445

    Perfect! thank you.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Remove Enfold logo from header permanently’ is closed to new replies.