Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #6063

    Hi,

    Could you please advise if there’s a safe and working way to change the logo on some pages? I’ve sections within a site and want to have it reflected in the header. Or is the only way to do so is duplicate and modify header.php?

    If so please advise if there’s anything in particular I need to know in regards to your theme to do so.

    Thanks a ton!

    E.

    #52764

    Sorry, could this please be answered?

    Thank you!

    E.

    #52765

    Hey,

    if you work with background images you can use the body class to add individual logos:

    .bg-logo a{
    background: url("../images/skin1/logo.png") no-repeat scroll left top transparent;
    }

    is the default/fallback logo code. If you’d like to replace the logo on certain pages use:

    .page-id-2 .bg-logo a {
    background: url("../images/skin1/logo_custom.png") no-repeat scroll left top transparent;
    }

    and the page with the id 2 will display your “custom” logo instead the default one. If you’re familiar with conditional tags you can usem them instead of the css solution.

    #52766

    Yes, thank you. I’m using logos the same way as the Brightbox so CSS worked like a charm, thanks a ton! But I will also look into conditional tags to educate myself.

    Impressed by you as usual :)

    E.

    #52767

    Glad Dude could help you :)

    #52768

    Hello

    I’m trying to do just that, but I could not do so, has anything changed in Brightbox that does not allow?

    Is there another way?

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

The topic ‘Changing logo on some pages and posts’ is closed to new replies.