RuiDias Posted March 18, 2015 Share Posted March 18, 2015 Hello, i would like, if possible, that some one help me understand how can i disable the CMS Category page, so that when i click on it on the menu is won't open, just display its sub cms pages to access. I add the a screenshot from the page i don't won't to open. Thanks and my best regards Link to comment Share on other sites More sharing options...
jgamio Posted March 18, 2015 Share Posted March 18, 2015 I dont know if you can direct but You can create a link to the page a use the name of the Categories Link to comment Share on other sites More sharing options...
ventura Posted March 18, 2015 Share Posted March 18, 2015 Try this in file /themes/your_theme/css/modules/blocktopmenu/css/superfish-modified.css Add this .sf-menu > li:nth-child(3) { pointer-events: none; } nth-child(3) // 3 = link position in the horizontal menu list Link to comment Share on other sites More sharing options...
RuiDias Posted March 21, 2015 Author Share Posted March 21, 2015 Try this in file /themes/your_theme/css/modules/blocktopmenu/css/superfish-modified.css Add this .sf-menu > li:nth-child(3) { pointer-events: none; } nth-child(3) // 3 = link position in the horizontal menu list Hello Ventura, thanks for the fast reply and the presented solution, unfortunately this solution stops what i want and what i don't want. It turns the multimedia link off but also turns the sub-menu off, so i can not have access to the drop menu from multimedia :/ The purpose, was to just disable the "a href" link of multimedia living the sub menu operational. I found this CSS solution: .sf-menu a.sf-with-ul { pointer-events:none; } from this topic : https://www.prestashop.com/forums/topic/275383-solved-disabling-parent-category-links-in-top-menu/page-2 but unfortunately this also disables the menu products category page, because they use the same class a.sf-with-uf for the product category and cms category. Do you have any other solutions that you can present to me? Thanks Link to comment Share on other sites More sharing options...
RuiDias Posted March 21, 2015 Author Share Posted March 21, 2015 I dont know if you can direct but You can create a link to the page a use the name of the Categories Hello jgamio, thanks for the reply but i didn't understand the solution presented. Thanks Link to comment Share on other sites More sharing options...
jgamio Posted March 21, 2015 Share Posted March 21, 2015 OK 1 go to the page you want to show 2 copy the URL 3 go to the menu module You can create a direct link - and the add a item to the menu for these URL Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now