[Support request] mega menu – :-)

Home Forums Support mega menu – :-)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1100704
    Bruno Borsi

    I have a mega menu on three columns. I would like to do it with total width only “main menu” (excluding the logo area) is it possible?

    https://pediatrarisponde.it/home/

    css:


    @media
    (min-width: 769px) {
    nav .main-nav .mega-menu {
    position: static;
    }

    nav .main-nav .mega-menu > ul {
    position: absolute;
    width: 100%;
    left: 0 !important;
    }

    nav .main-nav .mega-menu > ul > li > a {
    font-weight: bold;
    }

    nav .main-nav .mega-menu>ul>li {
    display: inline-block;
    width: 25%;
    vertical-align: top;
    }

    nav .main-nav .mega-menu.mega-menu-col-2>ul>li {
    width: 50%;
    }

    nav .main-nav .mega-menu.mega-menu-col-3>ul>li {
    width: 33.3333%;
    }

    nav .main-nav .mega-menu.mega-menu-col-5>ul>li {
    width: 20%;
    }

    nav .main-nav .mega-menu > ul > li:hover > a,
    nav .main-nav .mega-menu > ul > li:focus > a,
    nav .main-nav .mega-menu > ul > li[class*=”current-“] > a,
    nav .main-nav .mega-menu ul ul {
    background-color: transparent !important;
    color: inherit;
    }

    nav .main-nav .mega-menu ul .sub-menu {
    position: static;
    display: block;
    opacity: 1;
    visibility: visible;
    width: 100%;
    box-shadow: 0 0 0;
    left: 0;
    height: auto;
    }

    nav .main-nav .mega-menu ul.toggled-on .sub-menu {
    pointer-events: auto;
    }

    nav .main-nav .mega-menu .sub-menu .menu-item-has-children .dropdown-menu-toggle {
    display: none;
    }
    }

    .site-header {
    display: none;
    }

    .main-navigation .main-nav ul ul li a {
    text-transform: none;
    font-weight: 500;
    font-size: 12px
    }

    .main-navigation .main-nav .primer-item {
    font-weight: bold;
    }
    /* separatori verticali mega menu */
    nav .main-nav .mega-menu>ul>li:not(:last-child) {
    border-right: 1px solid #ddd;
    box-sizing: border-box;

    }

    #1101085
    David
    Staff
    Customer Support

    Hi there,

    i cannot see the Mega Menu ? Can you add it in and then i can take a look.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.