Hello,
In this case, add the custom CSS code not globally but for particular pages only – https://prnt.sc/6fs-XRNMLt9t
We hope this information is helpful.
Kind Regards, 8theme team