Tagged: arrow, dropdown, megamenu, navigation
Hey there
I’ve been specific about the subject as I can’t find a solution. All the queries relate to the arrows within each menu item.
I’ve added the arrow I need to the dropdown menus using
#menu-item-8596:before {
content: "";
margin-left: 45%;
border-style: solid;
border-width: 12px 12px 12px 12px;
border-color: transparent transparent #ffffff transparent;
position: relative;
top: -5px;
}
However I now need to add it to a megamenu which is proving more problematic as the indicator arrow is constrained by the megamenu size. I’ve tried adding a z-index but no luck.
Any thoughts?
Hey,
Due to our policy, we only connect to websites that are publicly visible.
Could you please post a screenshot and show the issue you are having and the changes you would like to make? So we can create it on our local installation and provide you an accurate solution.
You can upload your screenshots on imgur.com or Dropbox public folder and post the links here :)
Regards,
Yigit
Hey Yigit
Ok sorry about that and here’s the link
Richard
Hi,
Thank you for the screenshot.
This should add an arrow above the mega menu container.
#menu-item-128 .avia_mega_div::before {
content: "";
margin-left: 45%;
border-style: solid;
border-width: 12px 12px 12px 12px;
border-color: transparent transparent #fff transparent;
position: absolute;
top: -20px;
}
Replace 128 with the actual id of the parent menu item.
Best regards,
Ismael
Hi Ismael
Thanks and i’ve tried the code with my own menu id but no luck. The arrow is being cropped by the menu container. See link.
Richard
Hi,
We forgot to include this css code.
.avia_mega_div {
overflow: visible !important;
}
The arrow is cut off because the overflow property of the mega menu container is set to hidden by default.
Best regards,
Ismael
Perfect, that fixes the issue and it looks great. Thanks for your help.
Richard