Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hi Chris, if you want to customize your logo on a specific page the best way is to do that with functions.php, you should check your theme if any hook/action is available for that.
    You can also do it via CSS, but is a workaround. In summary, you have to hide the visibility (not with display:none) of the main logo in your specific page (filtered via class unique ID) and then you can set the logo via CSS background-image but with another CSS class, in your specific case .custom-logo-link is good for that.

    .page-id-5 .custom-logo {
        visibility: hidden;
    }
    
    .page-id-5 .custom-logo-link {
        background-image: url(https://scheelnet-webdesign.de/wp-content/uploads/2022/07/Logo-1.png) !important;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
        background-size: contain;
    }

    Let me know if you have any other query.
    Thanks and regards.

Viewing 1 replies (of 1 total)