Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1279163

    TheLunchBawx
    Participant

    Hello.

    I’m trying to disable and gray out the “Order (Closed)” menu button on my site. By disable I mean make it so you can not click on it and by grayed out I mean just changing the color of the button.

    Is there a way to do this with CSS or something of the sorts?

    I’ll reply with the link to my site and login information…

    Thanks.
    Ian

    #1279170

    TheLunchBawx
    Participant
    This reply has been marked as private.
    #1279420

    Jade
    Moderator

    Hi there,

    Please try to re add the button and add it as a custom link and set javascript:void(0); as the link.

    Hope this helps.

    #1280816

    TheLunchBawx
    Participant

    Hi.

    Thanks that worked! 🙂

    If I wanted to change the colour of it, how would I do that?

    #1281042

    Rue Nel
    Moderator

    Hello There,

    To make sure that the Order (Closed) menu item is not clickable and grayed out, please add the following css code in the customizer, Appearance > Customize > Custom > CSS

    #menu-item-1205 a {
        pointer-events: none;
        color: gray !important;
    }

    Feel free to change the color which would match your site preference.

    #1291728

    TheLunchBawx
    Participant

    Hello.

    That worked perfectly! Thank you! 🙂

    #1291851

    Joao
    Moderator

    Glad to hear it,

    Joao