--f7-panel-width is for setting panel width when it is supposed to be opened. Check the recipe source code, it has --panel-collapsed-size variable to specify panel width when it is closed
Thanks for the reply but what I’m trying to do is to toggle the panel.
Means, that if the resilution is above 1024px I would like to add a button to toggle the panel.
Any advice how to achieve that? I tried with the toggle method…