[Resolved] Text Falls Off Primary Dropdown

Home Forums Support [Resolved] Text Falls Off Primary Dropdown

Home Forums Support Text Falls Off Primary Dropdown

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #279168
    Anthony

    Hi,

    Seems like the primary drop-down menu was not growing or expanding out when I use a larger font size. The links would stick outside of the dropdown. Here is the work-around I did, but is there a better way?

    <!–
    .main-navigation .main-nav ul ul li a { padding: 20px 70px 20px 30px; }
    .main-navigation .main-nav ul ul li a { font-size: 18px; }
    –>

    generatepress-q1

    Thx!

    #279224
    Leo
    Staff
    Customer Support

    Hi Anthony,

    Have you tried to adjust the padding using Customizer > Layout > Primary Navigation > Menu Item Width and font size in Customizer > Typography > Primary Navigation?

    Let me know if this helps.

    #279225
    Leo
    Staff
    Customer Support

    Actually you are wanting to adjust the sub menu font. Can you link me to your site?

    Thanks!

    #279226
    Leo
    Staff
    Customer Support

    You can adjust the sub menu width with this CSS:

    .main-navigation ul ul {
          width: 200px;
    }
    #279233
    Anthony

    Perfect! Thank you Leo. ๐Ÿ™‚

    #279236
    Leo
    Staff
    Customer Support

    You’re welcome ๐Ÿ™‚

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