Mega Menu Question

Hi,

is there a way to create a mega menu like this ?

Or implement that code (after buying) into blocs ? Does this work ?!?

tom

You can play with toggle visibility and some script in order to collapse other menus. Or you can use tab anything and achieve that

Try below one before spending 130$ and not being sure. Works well in Blocs.

1 Like

Hi @Jerry

cool, thanks. But can you please explain me how this is to insert in blocs app ? What I think:

  1. I set a html bric and insert the code ? Or in the page settings?

  2. I create a css file and insert the css file with the + button on each page

  3. Same with the js file ?

Before upload the css and js I make the changes ( links , colors , and so on ?)

What is the best app to change code ?

tom

hi @chicuelo

jep, also a good idea. I will give it a try

tom

Start with adding the HTML into a code widget. Add CSS to the page footer and JS to the page header. From there it will need some styling.

ā€¦ rather the other way around :wink:

1 Like

Thats a great menu.

I would LOVE to see this as a Bric with loads of styling options - if this would be possible, this would be HUGEā€¦I wish I had the skill to make Brics!

My brains were faster than my fingersšŸ˜€. However, if thereā€™s not a lot of code it works perfectly well.

1 Like

Is it possible to have a prompt in the middle of the screen asking the user to make a choice out of two choices in order to then take the user to the correct section of the website?

Hi @chicuelo, how do you toggle visibility in Blocs?

Tab Anything seems very interesting but I still donā€™t fully understand the possibilities that it presents. I have about 5 categories of products where each category has about 4 products. Iā€™d like to show each category and itā€™s associated product on a page but then be able to dynamically change to any category which would then change the page to reflect the products under the chosen category.

Iā€™m not sure if this would slow things down, does Tab Anything need to cache all the content similar to a carousel? Would it be better to stick to individual pages if I am dealing with mutiple product pics and descriptions?

Tab anything let you switch between divs, so if you create a bloc with your desired design, you could interact wit freedom and show any asset you have inside.

Take a look at this site i have created, it applies the same principes that the menu you exposed, but instead of a horizontal layout I have used a vertical one.

1 Like

To understand the toggle visibility option in regard to mega menus, Take a look at THIS development site. You will notice a recipe link in the navigation bar. Clicking this link will reveal a bloc containing the mega menu. All that is happening here is that the bloc containing the mega menu has been set as invisible in the settings panel by clicking on the eye icon next to visibility.

Screenshot 2021-06-08 at 21.40.41

This means that the bloc will not be seen when the page first opens.

Meanwhile. the recipe link in the main navigation bar has been set to Toggle Visibility, and the mega menu bloc has been selected as the target bloc to make visible.


Now, when the recipe link (in my example) is clicked, the mega menu bloc appears on the page. If itā€™s clicked a second time, the mega menu block retracts again.

Hope this explains things.

1 Like

Thatā€™s how I did it on a site I made for a friend. Thoughā€¦ I just noticed, that once I closed the mega menu, I canā€™t open it again. And thatā€™s on the live site. I only updated it with a minor change (not to the mega menu). It works after reloading the page or click one of the navigation links though: www.wilde-voegel.de

@Norm any idea whatā€™s happened there? It works when I create a new projectā€¦

Hi @chicuelo
Really good site. And a good mega menu. How you do that the menu is also sticky ? I try the toogle visibility and it works perfect, but donā€™t get it sticky?
And do you know a way to change the menu icon in a Close symbol? Animated ?
Tom

That mega menu is just a bloc with 6 colums and text links, to make it sticky you could set a style and use the fixed option and increasing Z-index, or instead you could use this code:

.mega-menu { position: fixed; z-index: 9999; }

In my case, that menu icon is a svg image that looks like a menu but I really donĀ“t have any navbar or hamburger menu.
You could use an image to toggle the menu and a x symbol to close. You can play with this feature to show the x symbol and hide the menu.

Avoid using blocs 4.2 because toggle visibility has lot of bugs, instead use 4.1 or the latest betas.

Seems a bit off topic but Iā€™ll answer here. Maybe a new thread if you have more questions.

You can do all of this and more with Tab Anythingā€¦

Transition animations:
stylish animation as you click each category

Responsive ā€“Switch to dropdown on mobile:
You have the option of swapping to a dropdown on mobile just in case your 5 categories donā€™t fit well across the narrow screen. Itā€™s modern style and themed using values you set for the primary tabs.

Filter mode:
Thereā€™s a ā€œfilter modeā€ that works as a simple way to achieve what you want. When itā€™s active all the categories will show for the first tab (i.e. on page load). Clicking on any category to show to only items from that category.

1 Like

Anyone using the same method as @chicuelo for mega menu, but letā€™s say that you need separate mega menus for multiple of links in your nav.

Using Tab Anything PRO you only need 1 mega menu bloc and you can populate it with content for each link.

1 Like

Thank you @hendon52 and @chicuelo, that is exactly what I am looking for. I guess I need to experiment with it a little to get the hang of it.

Thanks @Whittfield, I do like the overall concept of Tab Anything. Does it sort of turn a page into a dynamic page where content on the entire page changes when a tab is selected? Would this work for categories that have multiple images and information?

Can a tab have sub-tabs like one level down?