Leave submenu in container width

0

How to leave the dropdown within the width of the container?

See the link: link

So it's the script default: pasteboard.co/12NtG7PEO.png But I'd like it to look like this: pasteboard.co/12QapxzIV.png that the submenu does not have the full width on the screen.

    
asked by anonymous 25.04.2017 / 22:54

2 answers

0

Adds a container after <ul class="dropdown-menu megamenu row">

<ul class="dropdown-menu megamenu row">
    <div class="container"> 
        <li class="col-sm-3">
          ...
        </li>
        <li class="col-sm-3">
          ...
        </li>
    </div>
</ul>
    
26.04.2017 / 04:52
0

I do not know if I understood your question well. But from what I could see in your example, what is leaving the container size submenu is% class .megamenu :

 div.navbar-collapse.collapse > ul > li.dropdown.menu-large.open > ul.megamenu 

.megamenu {
    padding: 20px 0px;
    width: 100%;
}
    
26.04.2017 / 00:12