-
tsolak_
Hello, i want to create a sub menu like in the screeshot i provided you.
Thanks in regards
-
Hi there,
GB’s blocks can not be used to create menus as menus are handled by WordPress.
However, if you’ve already used a plugin or custom code to create custom hooks inside the menu items, it might be possible.
Let me know!
-
tsolak_
i just want to me the submenu horizontal and not vertical
-
tsolak_
I figure it out if anyone else would want it :
@media (min-width: 1025px) {
body .sf-menu > li {
position: static;
}body .main-navigation ul.menu > li > ul {
width: 100%;
left: 0 !important;
}body .main-navigation ul.menu > li > ul > li {
width: auto;
}body .main-navigation ul.menu > li > ul > li ul {
left: 0;
top: 100%;
}/* make submenu horizontal */
ul.sub-menu {
display: none;
position: absolute;
top: 100%;
left: 0;
z-index: 99999;
width: 100%;
}li:hover > ul.sub-menu {
display: flex;
flex-direction: row;
background-color: #fff;
padding: 10px;}
} -
Thanks for sharing 🙂
- You must be logged in to reply to this topic.