[Resolved] Distance from the first element in the submenu

Home Forums Support Distance from the first element in the submenu

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #978023
    Ricardo

    Hi Guys,

    I am trying to reduce the distance in my submenu. But only from the main navigation and the first element of the submenu. There’s way too much distance and I can’t reduce it in the customizer.

    Please have a look. Is there a bit of CSS that solves this?

    Thanks and regards!

    #978037
    David
    Staff
    Customer Support

    Hi there,

    it is because of this CSS that you have added:

    .main-navigation ul {
        padding-top: 65px;
    }

    If you want that top padding only on the main nav then use this instead:

    .main-nav > ul {
        padding-top: 65px;
    }
    #978040
    Ricardo

    Thank you so much David. Problem fixed!

    #978175
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.