[Resolved] Change Sub Menu item width and height on mobile

Home Forums Support [Resolved] Change Sub Menu item width and height on mobile

Home Forums Support Change Sub Menu item width and height on mobile

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2204090
    William

    Hello –

    Is there a way, perhaps with CSS, to change the height and width of the submenu items on mobile? Website is https://thediamondfox.com/

    Hoping to make the sub menu items smaller from both a height and width perspective.

    Thank you!

    #2204104
    David
    Staff
    Customer Support

    Hi there,

    width wise and indent you can use this CSS:

    .slideout-navigation.do-overlay .slideout-menu .sub-menu {
        max-width: 320px;
        margin-left: 20px;
    }

    Height, are you sure you want to reduce that? its already around 40px and that borderline accesible – anything smaller and the tap zone may get flagged by search engines.

    #2204116
    William

    This is perfect, thanks David!

    #2204122
    David
    Staff
    Customer Support

    You’re welcome

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