• I can’t get the submenu wide enough.
    The site:
    https://www.toivalanurheilijat.fi/uusi/
    I tried to change padding into this css:
    #main-nav li ul li {
    background-color: rgb(48, 48, 48);
    display: block;
    float: none;
    min-height: 26px;
    padding: 10px 10px 50px 20px;
    position: relative;
    width: 121px;
    Now the link texts go into two row, but I want sub menu so wide, that link text is seen at one row.
    I home you understand, what I mean ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Looking at the code that you’ve posted above, instead of changing the padding, you should change the width instead.

    In the code that you show above, it’s at width: 121px. Try give it a higher number, like width: 180px or something like that.

    Thread Starter dona70

    (@dona70)

    I put width: auto and it worked.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with sub menu width’ is closed to new replies.