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

    Hi,

    i tried switching the logo to text in my new Enfold based site.
    I used the following thread as a reference for the code.
    https://kriesi.at/support/topic/title-text-rather-than-logo/

    add_filter('avf_logo_final_output', 'avf_text_logo_final_output');
    
    function avf_text_logo_final_output($logo) {
    	$logotext .= get_bloginfo( 'name', 'display' );	
    	$logo     = "$logotext"; 
    	return $logo;
    }
    

    It seems to work at first. The logo is replaced with the site title.
    But now the mobile menu disappears.

    I would like a solution, where i put the code in the functions.php to mess as little with the other files as possible.
    I already set up a child theme, so the new functions in the functions.php won’t be overwritten.

    Can you tell me, what went wrong or what else i can do?

    With the solution of this thread
    https://kriesi.at/support/topic/heading-and-menu/#post-335841
    it also works, but the logo is shown again when mobile view is on again.

    The page is still in construction mode, so unfortunately, i can’t show you the live page.

    • This topic was modified 9 years, 11 months ago by MaxJulian.
    #382433

    Hey MaxJulian!

    Please post temporary login credentials so we can check your website to provide you an accurate solution.

    Cheers!
    Yigit

    #382443
    This reply has been marked as private.
    #383327

    Hey!

    this account does not have admin access, but we would need it to really inspect your site.

    Best regards,
    Andy

    #383335

    Hey!

    anyway try with this code in Quick CSS:

    @media only screen and (max-width: 767px) {
    #advanced_menu_toggle, #advanced_menu_hide {
    display: block;
    }}
    

    Cheers!
    Andy

    #383953

    Thanks, it worked.
    I got a few other hickups now, but i’ll try to figure them out by myself (for now ;-)).

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Problems with text instead of logo code’ is closed to new replies.