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: 65
    • Replies: 69
    • Total: 134
    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
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30618
    • Total: 30618
    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.