Viewing 10 replies - 1 through 10 (of 10 total)
  • Hello @norequests

    Yes, you can display an alternative logo on mobile devices.

    Here’s a screenshot of the setting.

    And use the Menu Breakpoint option to display the Hamburger Icon.

    I hope that helps.

    Regards,
    Suman

    Thread Starter norequests

    (@norequests)

    Hi Suman,

    thanks for trying to help. I’m aware of the settings you are suggesting and I also want to use them but in the meantime I would like to only display the mobile hamburger toggle to open the menu. I don’t want to use the desktop menu at all, I want the hamburger menu also shown on desktop devices. Can you or someone else help me with that?

    Thanks a lot!

    Greetings,
    Adam

    • This reply was modified 6 years, 3 months ago by norequests.

    Hello @norequests

    Yes, for this requirement you can set the Menu Breakpoint to the 2000px so that below that screen size you will see the Hamburger Menu.

    I hope that helps.

    Regards,
    Suman

    Thread Starter norequests

    (@norequests)

    Hi Suman, thanks once again. Yes, it solves the problem with the hamburger menu but doesn’t help me maintaining the feature that allows me to use a different site-logo on mobile than on desktop.

    Any idea about that?

    Thanks.

    Hello @norequests

    To display an alternative logo on mobile devices.

    Hereโ€™s a screenshot of the setting.

    I did provide the same previously, or am I missing something.

    Looking forward to hearing from you!

    Regards,
    Suman

    Thread Starter norequests

    (@norequests)

    Hello Suman,

    yes, unfortunately yes, you are.

    If I set the menu breakpoint to 2000px in order to show the hamburger for devices with a screen width of up to 2000px than it is always the mobile LOGO that is shown from 1px to 2000px. Only above the width of 2000px will a desktop logo be shown which is not the desired effect. Does the above help to understand my case?

    Hi @norequests,

    Ya, I follow ya. I wouldn’t change that breakpoint. Just my preference.

    For a pure CSS solution, you can use the following trick. Warning, the mobile logo will not be a link anymore. Might be able to do this better with JavaScript?

    
    /* Let's Mix-up the Logo For Mobile */
    @media screen and (max-width: 767.998px) {
      /* Hide the Main Logo */
      .custom-logo {
    	  display: none;
      }
      /* Insert a different logo as the background. */
      .site-logo-img {
    	  display: inline-block;
    	  background-image: url(https://balistreetphotographer.files.wordpress.com/2019/02/balistreetphotographer-logo-2-slashes-65.png?w=65&zoom=2);
    	  background-repeat: no-repeat;
    	  width: 65px;
    	  height: 65px;
      }
    }
    

    Tweak the breakpoint, image link (obviously), and dimensions for your case ๐Ÿ˜‰

    Good luck!

    • This reply was modified 6 years, 3 months ago by mark l chaves. Reason: Clarification
    Thread Starter norequests

    (@norequests)

    Flawless! Thanks for jumping in.

    Hello @norequests

    And thanks @mlchaves for jumping in to help resolve his query.

    Do let us know if there’s anything else we can help you with.

    Regards,
    Suman

    Hi @norequests,

    Coolness.

    Hey, the link part was bugging me for the CSS solution. I don’t have this anti-pattern issue using the CSS-only solution with other themes.

    So, I wrote-up the JavaScript solution. The JS respects the links since we have direct access to the DOM of course.

    Full Demo on CodePen

    https://codepen.io/marklchaves/pen/poJWYym?editors=0010

    For what it’s worth lol.

    And, you’re most welcome @brainstormteam (Suman).

    Have an excellent weekend y’all ๐Ÿ™‚

    • This reply was modified 6 years, 3 months ago by mark l chaves. Reason: typo
Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Remove normal menu, only display hamburger toggle’ is closed to new replies.