I’ve tried to use the frontend builder from Divi to hide the header and footer of the checkout page through Custom css (display:none) at the section settings.
The problem is that this disabled the Global Header and Footer and I can’t see the items anymore to remove the code.
I’ve tried to enable again through the code #main-header { display:block!important; } but it did not work
Any ideas where can I find this code so I can erased it?
Seems like if I create a new template works but I can’t find a way to enable the old one.
Best regards
2
Answers
Not sure why my previous comment was deleted since this solution absolutely solved my problem. But here I go again, in case bouzina farid's answer does not work for some reason.
I've managed to solve the problem by using the tool "Export model" from Divi's Theme Builder. With the raw code in hands I've searched for the tag "display:none", remove the tag, save it and imported again.
if you’ve built your header through the theme builder, try to use this CSS
code
it worked for me
and just for remark, you can remove the global header from one page without the need for custom CSS
check this blog post to know-how https://diveindivi.com/remove-the-header-and-footer-of-your-divi-website/