• Resolved julesjunction

    (@julesjunction)


    We have added a logo to the site header and that is working fine. The header has a dark background and is not transparent.

    Is it possible to have a different header logo for two of our site pages?

    Eg on the main Luxury Estate site we would like the default logo displayed on most of the pages but on the Art Pierre page (1756) we would like the Art Pierre logo to be displayed instead of the Luxury Estate logo.

    Kind regards

    Jules

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello

    You can use CSS to change the header logo on specific pages. For example, the following updates the logo on a post with ID 3416. You can update the post id and the URL to suit your needs.

    .postid-3416 img.custom-logo {
        content: url('https://example.com/logo.png');
    }
    Thread Starter julesjunction

    (@julesjunction)

    Hi, thanks for answering and for the prompt response.

    I have added the suggested CSS to the ‘Additional CSS’ on the theme customizer but it doesn’t appear to be working. It still displays the default logo rather than the one in the CSS.

    /* Change logo on ArtPierre Studio page 1756 */
    .postid-1756 img.custom-logo {
    content: url(‘https://ag-luxuryestate.com/wp-content/uploads/ArtPierre-Studio-Logo.png’);
    }

    What have I done wrong? Should I be putting the CSS somewhere else?

    Thanks

    Jules

    Hello,

    The CSS I provide was for a post page. However, there is a different selector for page ID’s too. Depending on if the page is a page or a post, you’ll have to use the correct selector. Let us know if this helps instead.

    .page-id-10 img.custom-logo {
    content: url(‘https://ag-luxuryestate.com/wp-content/uploads/ArtPierre-Studio-Logo.png’);
    }
    Thread Starter julesjunction

    (@julesjunction)

    Thank you for your help, that works perfectly.

    Kind regards

    Jules

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Logo query’ is closed to new replies.