- This topic has 7 replies, 2 voices, and was last updated 3 years, 9 months ago by .
Viewing 8 posts - 1 through 8 (of 8 total)
Viewing 8 posts - 1 through 8 (of 8 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › Yummy Pro › How to disable linked products on the menu page?
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
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
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
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
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
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
Great, thanks!!!
You are welcome
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |