Home Forums Pro Themes Yummy Pro How to disable linked products on the menu page?

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #142930
    Tamer Erkönen
    Participant

    Hi,

    I want to use the menu template for presenting some of our food without using the shop. Therefore, the links to the product details should be disabled. How can I solve this?

    Thank you very much for your great support!

    Best regards,
    Fatma

    #142959
    Psink
    Keymaster

    Hello Tamer

    Is it the menu section on the homepage that you want to disable the link for the single product page?

    If that’s the one please add this CSS in Additional CSS

    
    #food-menu .menu-list a {
        pointer-events: none;
        cursor: default;
    }
    

    Hope this helps

    Have a great day

    Regards,
    Psink

    #143086
    Tamer Erkönen
    Participant

    Hi,

    thx for the quick response!

    No, I meant this: I have the menu section which shall be enabled, but the links to the single products should be disabled. Here is a pic: https://prnt.sc/xbozvc

    Thank you 🙂

    Best regards,
    Fatma

    #143103
    Psink
    Keymaster

    Hello Fatma

    Add this CSS in the Additional CSS

    
    .page-template-menu-page .menu-list a {
        pointer-events: none;
        cursor: default;
    }
    

    If have any further related to the theme, please share them with us

    Regards,
    Psink

    #143128
    Tamer Erkönen
    Participant

    That works very well thanks!

    Could you give me the CSS code for the other sections of the template too? I want to disable all links on the page. 🙂

    Thank you!

    Best regards,
    Fatma

    #143166
    Psink
    Keymaster

    Hello Fatma

    Please remove the previous CSS code and Add this new one, this will help you to disable all links on that template

    
    .page-template-menu-page .menu-list a, .page-template-menu-page .breakfast-item a, .page-template-menu-page .lunch-details a, .page-template-menu-page .drinks-content a {
        pointer-events: none;
        cursor: default;
    }
    

    if you like our support and theme, please support us by giving a review of our theme
    here is the link https://wordpress.org/support/theme/yummy/reviews/#new-post

    Regards
    Psink

    #143201
    Tamer Erkönen
    Participant

    Great, thanks!!!

    #143627
    Psink
    Keymaster

    You are welcome

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