Home>Support>pitch logo image

pitch logo image

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hi,

I create child theme to pitch to know modify.
How to add to pitch cild theme logo image?

Thank yout to response.

Best regards
Laszlo

URL: http://wptarhely.com/feherhollo/

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 9 months ago Andrew Misplon
    Hi, I Work Here

    Hi laszlo69

    The easiest way to add a logo would be via Appearance > Header, perhaps give that a try.

  2. 10 years, 9 months ago laszlo69

    Hi,

    If pitch theme is active Appearance > Header option is available but if activate the pitch-cild theme this option disappears.
    Why?

  3. 10 years, 9 months ago Andrew Misplon
    Hi, I Work Here

    My guess is that an aspect of your child theme is de-registering this feature. The custom header is called in the parent functions.php file as follows – this is abbreviated, there are other statements around this:

    function pitch_setup(){
    
    	// We all like to change the background
    	add_theme_support('custom-header', array(
    		'flex-height' => true,
    		'flex-width' => true,
    		'header-text' => false,
    	));
    }
    endif;
    add_action('after_setup_theme', 'pitch_setup');
    

    Are you doing anything in your child theme’s functions.php file to change this setup?

  4. 10 years, 9 months ago laszlo69

    Super!

    It works.
    Fine.

    Thank you very much.

    Best regards
    Laszlo

  5. 10 years, 9 months ago laszlo69

    Oh!

    No. I did not do nothing.
    Now copy this code in the child functions.php and works fine.

    Thanks again
    Laszlo

  6. 10 years, 9 months ago Andrew Misplon
    Hi, I Work Here

    Mmm, if that works then we’ll leave it there for now. let me know if it becomes a problem moving forward.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More