Hello, @montse,
Could you please check it once with activating the default WordPress Theme like Twenty Twenty Two, just to make it sure that the issue is with our theme or not? This issue is independent from our theme, the issue seems to be with your code, so please check the code again with your developer.
And if the issue will not persist with the default WordPress Theme then please take the complete backup of your site and share your site WP Admin URL and Credentials and also the FTP Logins in the private content area of this topic, so that I will check it for you on your site and help you out.
Regards 8Themes Team.