Largeur sous-menu

Home Forums All Other Themes Largeur sous-menu

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #204091
    BikoBiko
    Participant
    • Topics: 72
    • Replies: 72
    • Total: 144
    Member since: November 29, 2019

    Hi,
    An average title on a submenu is two lines because the width of the submenu is not enough.
    See screenshot: https://prnt.sc/lYu2G288miw4
    I would like to know how to increase the width of a submenu so that its title is on a single line.
    Thanks in advance.

    #204127
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31028
    • Total: 31028
    Member since: August 16, 2013

    Hi,

    Kindly use this CSS.

    #topmenu ul li ul { width:auto;}
    #topmenu ul li ul li a { padding: 10px 20px; white-space: nowrap;}

    Regards,
    Chris

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