[Resolved] Vertical Menu – separators

Home Forums Support [Resolved] Vertical Menu – separators

Home Forums Support Vertical Menu – separators

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #582757
    rex wickham

    Hi
    Any ideas how to replicate the follow menu design?

    The white background items are what I’m struggling with. They are not actually links.

    #582787
    David
    Staff
    Customer Support

    Hi there,

    maybe try adding them as custom links within the menu, but give them a dead link and a Custom CSS class for styling?

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

    #582794
    rex wickham

    Hi David
    Thank you. I’m going to do that with this CSS to make them styled different and unclickable:

    
    .main-navigation .nav-button a {
    background-color: #1A415E;
    color: #000000;
    
    }
    
    .main-navigation .unclickable a:hover {
         color: #000; 
         cursor: default;
    }
    
    #582797
    David
    Staff
    Customer Support

    Hi Rex, glad i could help, you may find the pointer-events: none; property useful.

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