• I am using the Divi theme as the main theme on my site and I also installed the WooCommerce storefront theme that I want to apple only on the shop page. I have used multiple themes plugin to apply the theme successfully to the shop page however I cant seem to add a logo to the storefront theme. I have installed the jetpack plugin but it doesn’t enable the “Add Logo” option on the Site Tile – Tagline. Since this didn’t want to work I then created a child theme for Divi theme as Divi-child and put in that folder the functions.php file with below code and added the logo image in the images sub-folder. This is still not working. Can anyone please help me with this, not sure where I am going wrong.

    <?php
    /**
    * Add logo without Jetpack
    */

    add_action( ‘init’, ‘storefront_custom_logo’ );
    function storefront_custom_logo() {
    remove_action( ‘storefront_header’, ‘storefront_site_branding’, 20 );
    add_action( ‘storefront_header’, ‘storefront_display_custom_logo’, 20 );
    }

    function storefront_display_custom_logo() {
    ?>
    ” class=”site-logo-link” rel=”home”>
    <img src=”<?php echo get_stylesheet_directory_uri(); ?>/images/logo.png” alt=”<?php echo get_bloginfo( ‘name’ ); ?>” />

    <?php
    }

  • The topic ‘Add Logo To StoreFront using Jetpack’ is closed to new replies.