• Resolved spectrerouge

    (@spectrerouge)


    Hi, I’m using the HFB Nav Menu and I wonder if there’s a way to align text of mobile and tablet dropdown menu.
    I’d like to have the text in the menu to be centered instead of the aligned to the right (as it currently is) https://ibb.co/ZMP4C8F

    As far as I know, there’s no way to adjust margins/ padding of each menu item individually so I think maybe a CSS would do the trick, but all I tried so far didn’t work.

    I’d appreciate any help!

    Thank you in advance

    • This topic was modified 3 years, 10 months ago by spectrerouge.
    • This topic was modified 3 years, 10 months ago by spectrerouge.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @spectrerouge

    Sorry for the delay in response.

    Kindly use this custom CSS in the theme customizer:

    @media (min-width: 320px) and (max-width: 480px) {
    .hfe-nav-menu a.hfe-menu-item, .hfe-nav-menu a.hfe-sub-menu-item{
        justify-content:center;
    } 
    }

    I hope this helps ??

    Regards,
    Rahul.

    Thread Starter spectrerouge

    (@spectrerouge)

    It worked perfectly! Thank you so much!!!

    ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘HFB Nav Menu Problem’ is closed to new replies.