[Resolved] Mobile Menu

Home Forums Support [Resolved] Mobile Menu

Home Forums Support Mobile Menu

Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
    Posts
  • #2204184
    David
    Staff
    Customer Support

    You can:

    1. Add this CSS:

    .line-above {
        position: relative;
    }
    .line-above > a:before {
        content: '';
        position: absolute;
        top: 0;
        left: 20px; 
        right: 20px;
        border-top: 1px solid;
    }

    2. Edit your Menu, and any item you want a line above add a CSS class of line-above to it.
    See here how to add CSS class to menu item:

    https://docs.generatepress.com/article/using-the-wordpress-menu-builder/#custom-classes

    #2204218
    kernfunke

    Wonderful! Thanks a lot! It’s done and I learned a lot.
    Great help! Thanks

    #2204624
    David
    Staff
    Customer Support

    Glad to hear that

Viewing 3 posts - 16 through 18 (of 18 total)
  • You must be logged in to reply to this topic.