This problem is solved. It had nothing to do with the theme or a plugin.
Thanks for your answer. I deactivated all the plugins one by one. But it didn’t solve the problem. Do you have another suggestion?
Perfect, thank you!