Blog, Website & Page Publishing

KatyMF
Member

Hamburger menu and all menu items are showing

SOLVE

Hi,

 

On the menu bar it always shows all the menu items AND the hamburger menu icon (which opens up a sidebar to show exactly the same menu items as you can already see in the main menu).

 

How do I make sure that EITHER the individual items OR the hamburger menu (depending on screen size) show, and not both at the same time?

 

This is how it currently looks:

KatyMF_0-1615147819733.png

 

The live URL is https://www.marginfuel.com/

 

Advice for getting the button to come up to the same level as the menu items would be great too - even on screen sizes where there's plenty of space it always shows on the second line (unless I delete a couple of menu items completely to create lots more space).

 

0 Upvotes
1 Accepted solution
Jake_Lett
Solution
Guide | Partner
Guide | Partner

Hamburger menu and all menu items are showing

SOLVE

Hi Katy,
Below are the changes I would have your developer make in order to achieve your desired result. If you need implementation help let me know.

  • Delete the "home" link in the navigation and rely on the logo to be your home link - this will make everything fit on one line on desktop
  • Write a media query 1140px and above to hide the mobile menu
  • Change the background color of the mobile toggle menu when it is open to a light gray or white. Currently, it is dark gray and it is hard to see.

Jacob

View solution in original post

8 Replies 8
Jake_Lett
Solution
Guide | Partner
Guide | Partner

Hamburger menu and all menu items are showing

SOLVE

Hi Katy,
Below are the changes I would have your developer make in order to achieve your desired result. If you need implementation help let me know.

  • Delete the "home" link in the navigation and rely on the logo to be your home link - this will make everything fit on one line on desktop
  • Write a media query 1140px and above to hide the mobile menu
  • Change the background color of the mobile toggle menu when it is open to a light gray or white. Currently, it is dark gray and it is hard to see.

Jacob

KatyMF
Member

Hamburger menu and all menu items are showing

SOLVE

Hi Kevin, sure, I didn't realise you can't see the reply above. The URL is https://www.marginfuel.com/.

 

Thanks!

0 Upvotes
Kevin-C
Recognized Expert | Partner
Recognized Expert | Partner

Hamburger menu and all menu items are showing

SOLVE

Thanks @sharonlicari 

 

Hey @KatyMF 

 

Could you share a the page with us? A live version will help us diagnose much faster!

Kevin Cornett - Sr. Solutions Architect @ BridgeRev
KatyMF
Member

Hamburger menu and all menu items are showing

SOLVE

Hi Sharon - thanks, the URL is https://www.marginfuel.com/

0 Upvotes
Kevin-C
Recognized Expert | Partner
Recognized Expert | Partner

Hamburger menu and all menu items are showing

SOLVE

Hey @KatyMF 

 

Great news!

Looks like you're using the Act2.1 template, which has absolutely awesome documentation (very rare)!

 

They even have a page dedicated to hiding the hamburger menu on desktop here.

TLDR; you can add these two classes to the "menu-button" in the drag and drop template builder: hidden md-visible

 

 

To get the "FREE DEMO" button inline with the rest of the menu you'll have to mess around with the template editor or add it to the menu and style it with css to look like a CTA button.

Kevin Cornett - Sr. Solutions Architect @ BridgeRev
sharonlicari
Community Manager
Community Manager

Hamburger menu and all menu items are showing

SOLVE

Thank you @KatyMF 

 

Hey @piersg @Kevin-C @mangelet any tips or suggestions you can share with @KatyMF?

 

Thank you

Sharon 


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !




mangelet
Guide | Platinum Partner
Guide | Platinum Partner

Hamburger menu and all menu items are showing

SOLVE

@KatyMF i would suggest you create 2 hubspot menus: the desktop version and the hamburger version). Also you may have 2 versions of the html rendering the same menu for desktop and hamburger if your menu-items are the same). Then when rendering the page use mediaqueries to decide which menu is "hidden" and which is "visible" at a given resolution ...

Martin Angeletti
HubSpot Veteran (12+ years)

Worried about messing up your HubSpot? I've got your back.

Join the thousands of people who have discovered how to avoid problems with simple tricks and have started to dominate HubSpot (and not be dominated).

️ Don't get left behind.

→ Click the subscribe button and scroll down to find the opt-in box.

Subscribe

Did I help answer your question? Mark this as a solution.

sharonlicari
Community Manager
Community Manager

Hamburger menu and all menu items are showing

SOLVE

Hi @KatyMF 

 

Welcome to the Community!

 

Could you please share the URL you have been working on? With this information, I'll be able to invite a few experts to share their thoughts about this. 

 

Thanks

Sharon

 


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !




0 Upvotes