1. HOT Divi Ultimate Header Plugin - Design Divi custom header globally in Divi Builder: https://header.diviultimate.com/
    Dismiss Notice

Set different logo for Divi homepage

Discussion in 'Divi Tutorials, Tips & Tricks' started by Divi.Help, Mar 22, 2019.

  1. Divi.Help

    Divi.Help Administrator
    Staff Member

    Here's a tutorial on how to set different logo for Divi homepage:

    Add the below code in Divi > Theme Options > Integration > Body Code:
    **Remember to replace YOUR HOMEPAGE LOGO IMAGE URL with your logo image URL.
    Code:
    <script>
    jQuery(function($){
        $('.logo_container').append('<a href="/"><img src="YOUR HOMEPAGE LOGO IMAGE URL" class="home-logo" id="logo" style="display:none;" /></a>');
    });
    </script>
    <style>
        body.home #logo { display: none!important; }
        body.home #page-container .home-logo { display: inline-block!important; }
    </style>
    That's it.