If I understand correctly you want to display the main in the left sidebar, right? The “issue” is that the Schedules page is located in the 1st level of the menu but you have configured the menu to be displayed starting from 2nd level.
No - What I want the 2sdt level items appear and remain… but it disappear regularly. This time I followed my procedure, because it was disappeared and it appeared with the black color!! I don’t understant why now it is balck and disappear.
According to the description of this field: The menu is only visible if the menu item for the current page is at this level or below it. Use level 1 to always display this menu.
What you setup in this field is in which pages you want the menu to appear. If you set it up as 2, this means that the menu will appear only in pages that 2+ level menu items. In your case the Schedule page is a 1st level menu item. As a result if you setup Initial visibility level as 2, the menu will not appear in Schedule page.
If you go now to https://isoldeop.web.cern.ch/schedules, the menu in the sidebars is not visible… and yesterday at 16.33 it was visible. (have a look on the screenshot, I have done yesterday)
and I am sure that during January 2021 menus in the sidebars background was white.
Thank you for your help
The only difference I see between the two menus is:
In the second case the menu shows only 1st and 2nd level menu items. In order to restrict it change Number of levels to display from Unlimited to 2. and Initial visibility level to 1. In that case it will start showing in the 1st level and it will show 2 levels. So in total levels 1 and 2.
Regarding the color, as I mentioned above in the current implementation the colors of the menus are the same as the header background. If you want to modify it, you can always override the theme.
It is a configuration issue and not stability of the template. If you check your settings in the Menu block here you will see that you have set the visibility level to 2.
The Schedule page doesn’t have any level 2 items as you can see from you menu tree so there is nothing to display.
The colours of the theme evolve during time according to CERN’s branding. All CERN websites must look and feel homogeneous for a better user experience.
Ofcourse you can change the menu’s colour in the way Konstantinos described but in order to keep this homogeneity other colours in the template must change at the same time for a better display outcome. It is really bad for a user to visit a website where each element in the page has its own colour. It makes it very difficult to focus and navigate.
Nevertheless you can install the override theme and make these custom changes there. You can change the colour of any element but any change must be aligned with the official web design guidelines.
Ok, The colours of the theme evolve… so I am not crazy, in 2020 it was transparent, now it is black! Fine with me.
But I appreciate your effort to repeat waht Konstantinos already explained to me, but please have a look of the attachment, I made at 8.52 a printscreen, of https://isoldeop.web.cern.ch/schedules, after I refresh the page (as explained before) and I did a 2sd screenshot. The 2sd screenshot It is what I want.
If you told me, it not possible, it is ok with me, I will do by hand … but in 2020 it was working properly
It seems that the menu in this page doesn’t respect the ‘Show as expanded’ here.
I unchecked the field, cleared caches and it worked and then it disappeared again. Then I checked it again clear caches and works. It seems stable for the moment.
This is not a template issue because when it is not loaded you can’t see anything in the inspection. If it was a template issue we would have seen that the menu is there but for some reason is not showing.
There is nothing else to be done at this point. Keep an eye on it and let us know if it happens again.
Any idea? I know that if I unchecked the field, cleared caches and it worked and then it disappeared again. Then I checked it again clear caches and works. It seems stable for the moment.
it will work for not for a long time…
The only difference that I see in your website in compare to other that also have menu blocks is that you have the Menu block module installed. The menu block functionality is part of the Drupal 8 core now so there is no need for that.
I took a backup of your website and I uninstalled the module to see if this was causing this weird behaviour. Keep an eye on the website for the next few days to see if the problem persists and let us know.