I figured it out. There was a conflict being caused by wp rocket and it caused the layout to be broken. I had to completely delete wp rocket. I am just wondering now if I won’t be able to use the plugin again.
And also, I am unable to edit side paddings on my pages. Something similar happened to posts but I found out there was a conflict between the instructions on generate blocks (which was set to no padding on the display rules for posts) and the instruction on the custumize center (it had 20px sides padding for mobile).
As for pages, I am not being able to solve the issue.