Answer the question
In order to leave comments, you need to log in
Hide subsections in Bitrix menu?
Hello everyone, I need help. How to hide subsections in the menu, but only one section, the rest should remain unchanged.
Answer the question
In order to leave comments, you need to log in
You can set display:none for subsections via css, but this is still a crutch)
In the advanced mode, we edit the menu there, it becomes possible to add parameters
https://dev.1c-bitrix.ru/learning/course/index.php...
About the parameters
https://dev.1c-bitrix.ru/user_help/content/ fileman...
Add a parameter, for example display value none
In the menu template, hide the item by the condition
if ($PARAMS["display"]=="none")
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question