• Hi Andres!
    for first, many thanks for this awesome themes!
    i’m trying to put overlay logo in every page (i like effect with changing logo on scroll, and i want it in every page)..i’m trying with an hook in functions.php of my child theme but it doesn’t work.. could you help me?

    	add_action ('wp_head', 'brand_logo');
    	
    	function brand_logo () {
        $logo = chaplin_get_custom_logo();
    
    	if ( $logo ) {
    	    if ( is_page() ) {
    			$logo .= chaplin_get_custom_logo( 'chaplin_overlay_logo' );}
    								}
    	}

    many thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Anders Norén

    (@anlino)

    Hi @nictacconi,

    Sorry for the late reply. Glad you like it!

    Updating every page to output the overlay logo is a bit too involved to be described in detail on the support forum, unfortunately – you’d have to make pretty fundamental changes to the structure of header on non-cover pages.

    You’d need to add the overlay-header body class to all pages using the body_class filter, and update the output of the logo in header.php to always include output of the overlay logo (potentially by plugging chaplin_get_custom_logo in a child theme). I think some style adjustments to the header positioning on non-cover pages would be needed as well.

    — Anders

    • This reply was modified 4 years, 4 months ago by Anders Norén.
    Thread Starter nictacconi

    (@nictacconi)

    Many thanks Anders..I will try it!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘overlay logo in every page’ is closed to new replies.