In this case, you need to create a staging development copy of your website. There, you will be able to do such kind of experiments without any harm to your production website.
Usually, such issues are not caused by the theme itself. It might a general problem for your website. That is why you need to test it with the default WordPress theme.