Join our new community forum for support & discussion

Join Now

Home Support General HivePress How to select specific header logo for specific pages?

How to select specific header logo for specific pages?

  • Author
    Posts
  • viniciusbh.soares

    Example on the term-services I want one logo and the homepage another is it possible via css? I thought something like

     .term-services .site-header .custom-logo{
    background-image: url('myurl.com/image1png')
    }
    
    .page-id-160 .site-header .custom-logo{
    background-image: url('myurl.com/image2png')
    }
    

    This way doesn’t work, so there is another way that is possible to select specific logo for specific pages?

    ihor developer

    If you mean the main website logo it’s possible, but this requires overriding the logo URL via the WordPress filter https://wordpress.stackexchange.com/questions/256717/change-logo-url-link It may be also possible with CSS tweaks, e.g. by hiding the logo image and styling the pseudo-elements (::before or ::after) instead.

Viewing 2 posts - 1 through 2 (of 2 total)

New Reply

This forum has been archived and is no longer accepting new posts or replies. Please join our new community forum for support & discussion.