Giter VIP home page Giter VIP logo

Comments (8)

onokumus avatar onokumus commented on May 23, 2024 2

@robov
You can add as many level as you wish.

<ul>
  <li>
    <a href=""></a>
    <ul>
      <li>
    <a href=""></a>
    <ul>
      <li>
        <a href=""></a>
        <ul>
          <li>
        <a href=""></a>
        <ul>
          <li>...</li>
        </ul>
          </li>
        </ul>
      </li>
    </ul>
      </li>
    </ul>
  </li>
</ul>
  </li>
</ul>

from metismenu.

brettwinters avatar brettwinters commented on May 23, 2024 1

thanks for the headsup, I found it in the CSS.

For any other users who have this issue, please add lines (as many levels as you need) to the mm-vertical.css as follows:

.sidebar-nav .metismenu ul ul ul a {
padding: 10px 15px 10px 60px;
}

.sidebar-nav .metismenu ul ul ul ul a {
padding: 10px 15px 10px 75px;
}

.sidebar-nav .metismenu ul ul ul ul ul a {
padding: 10px 15px 10px 80px;
}

.sidebar-nav .metismenu ul ul ul ul ul ul a {
padding: 10px 15px 10px 95px;
}

.sidebar-nav .metismenu ul ul ul ul ul ul ul a {
padding: 10px 15px 10px 100px;
}

from metismenu.

robov avatar robov commented on May 23, 2024

Excellent

from metismenu.

brettwinters avatar brettwinters commented on May 23, 2024

Hello

Thanks so much for the great work on the menu!

I noticed that although we can add as many levels as we want, the control stops indenting after the 4th level. I tried to change the width as a solution, but the indenting seems hardcoded in...

Regards

Brett

from metismenu.

onokumus avatar onokumus commented on May 23, 2024

@brettwinters
Which demo page are you talking about?

from metismenu.

brettwinters avatar brettwinters commented on May 23, 2024

from metismenu.

brettwinters avatar brettwinters commented on May 23, 2024

My code:

I have also attached the rendered output:
image

from metismenu.

onokumus avatar onokumus commented on May 23, 2024

@brettwinters
There is no definition for padding or margin in "metisMenu.css" file. This view is caused by the padding or margin definitions in your stylesheet files.

from metismenu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.