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 (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Can I change just the non-sticky Logo mobile

  • Hello Again,

    my customer asks me, if it is possible to change just the (mobile-non-sticky) Logo. He wants to have there the long one (like it is used in the desktop-version). Sticky mobile should stay the small one, like it is actually.

    Thank you for looking it up,

  • I know, but i need

    > Desktop – non sticky = long logo
    > Desktop – sticky = long logo
    > Mobile – non sticky = long logo
    > Mobile – sticky = short logo

    can you have a look again, please?

  • Hi there,

    it would require adding an extra image in there and then we can use some to hide one of them.

    To begin:

    1. in Appearance > Elements -> Add New –> Block
    2. in the element settings sidebar set the Hook to: inside_mobile_header
    3. Set the Priority to 4
    4. set the Display Rules Location to the Entire Site
    5. In the editor add an Image Block for the Long Mobile Logo
    5.1 set the Image Link to the home page.
    5.2 in Advanced > Additional CSS Classes field add: long-mobile`
    6. Publish the element

    Do that and clear any caches so you should see the two logos on mobile.
    Then let me know so I can work on the CSS for it.

  • Great, that worked. But now i see 2 Logos, the sticky one and the unsticky one 🙂
    Can you help me again?

  • Try adding this CSS:

    nav.is_stuck .gb-container-901248b3 {
      display: none;
    nav.is_stuck .mobile-header-logo{
      display: block;
    .inside-navigation .mobile-header-logo {
      display: none;
  • Great – thanks for your Help :)!

  • You’re welcome!

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