Go to Templates > Theme Builder. Locate the imported Header, click Edit with Elementor, open the publish menu, and set Display Conditions to “Entire Site”. Repeat the same condition for the Footer and 404 template.