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

    Hi there,

    Is it possible to have a black logo for the header in mobile view (while keeping the desktop view with a white logo and transparent header)? Additionally, can the burger menu have a solid white background instead of being transparent, with a font color of #969696?

    Please check the private area for the link to the mobile view header.

    Thank you so much.

    • This topic was modified 11 hours ago by lara666. Reason: Misunderstood menu
    #1476598

    Hey lara666,

    Thank you for the inquiry.

    You can use this filter in the functions.php file to assign a different logo on mobile view:

    /* Use alternate logo on mobile view */
    add_filter('avf_logo','av_change_logo'); 
    function av_change_logo($logo) { 
    	if(wp_is_mobile()) { 
    	    $logo = "https://site.com/wp-content/uploads/mobile-logo.png"; 
    	} 
    	return $logo; 
    }
    

    Make sure to replace the logo URL with your own.

    Best regards,
    Ismael

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