Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1348524

    Hi,
    Is the functions.php script for replacing the site logo with name and tagline still relevant as defined on https://kriesi.at/support/topic/heading-and-menu/#post-335841? It is from 2014 and there have been a lot of changes to Enfold since then. I would like to use the site title and tagline instead of a logo image, but can’t get it to work. Please advise. Thanks.

    #1348556

    Hey GWS,
    Please try this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:

    #header_main .logo img {
    display: none;
    }
    #header_main .logo a {
    line-height: 20px;
    top: 20px;
    }

    Then try adding this code to the end of your functions.php file in Appearance ▸ Editor:

    
    add_filter('avf_logo_subtext', 'kriesi_logo_addition');
    function kriesi_logo_addition($sub) {
    	$sub .= get_bloginfo( 'name', 'display' );
    	$sub .= "<br>";
    	$sub .= get_bloginfo( 'description', 'display' );
    	return $sub;
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

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