Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

custom header logo and color?

  • Hi there,

    I’d like to create custom logos and colors depending on what single page (not articles) the visitor is on. What’s the smartest way to do it?

    Thanks for your help!

  • I found this filter for a custom logo:

    // If we are on the about page, set our custom logo
    if ( is_page( ‘about’ ) )
    return ‘URL’;

    // Or else, set the regular logo
    return $logo;

    }

    But I still don’t know how to adjust the navigation background color, depending on what page the user is. Is there a filter or hook for this?

    Edit: Seems like the filter above does only work for desktop, but not for mobile.

  • Ok nevermind, found a solution with custom css and the right filters.

  • Glad to hear that!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.