Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1189716

    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?

    #1189740

    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

    #1189746

    Hey Yigit

    Ok sorry about that and here’s the link

    Richard

    #1191692

    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

    #1191768

    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

    #1192449

    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

    #1192520

    Perfect, that fixes the issue and it looks great. Thanks for your help.

    Richard

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Main menu dropdown container with arrow at the top’ is closed to new replies.