Christophe May 13, 2022 · 2:11 pm #16852 Hello, I have created a form to prompt for user contact details before downloading the corporate presentation. The form is embedded into a Polestar-Child page:
Download VC-A Corporate Presentation
I have set the Page Layout to “No sidebar” to remove the sidebar.
I would also want to remove the header, the menu and the footer, and just leave the Form to stop users from navigating inside the pop-window (I am calling pop-up from the Menu: “Services -> Download Corporate Presentation”.
How can I create a blank page in WordPress without inheriting the attributes of Polestar-Child ?
Andrew Misplon Puro May 13, 2022 · 4:50 pm #16853 Hi Christophe
Thanks for reaching out.
You can hide the header and footer with the following:
.page-id-4726 .site-header {
display: none;
}
.page-id-4726 .site-footer {
display: none;
}
Christophe May 14, 2022 · 9:43 am #16854 Thank you but where shall I paste that code? At the moment, in my Page, I only have on line with the shortcode:
[email-download download_id=”5008” contact_form_id=”5006”]
I have tried pasting there, but it either displays the text, or, if i use and HTML block, the short code stops working.
Andrew Misplon Puro May 14, 2022 · 10:40 am #16855 Hi Christophe
Thanks for your reply.
If you’re using SiteOrigin CSS you can insert the above CSS rules at Appearance > Custom CSS. Alternatively, you can use the core WordPress Custom CSS field located at Appearance > Customize > Additional CSS.
Christophe May 14, 2022 · 12:58 pm #16856 Hello, thank you for your quick response.
SiteOrigin seems to be incompatible with the “email-download” shortcode, however, I used the core WP Custom CSS and it removed the content of the header and the footer, but did not remove the place holder. You should be able to see it if you go to http://www.vc-alternative.com menu “Services -> Download Corporate Presentation”.
Is there a way to remove the empty space at the top of the window? (the one at the bottom is filled once you click on the button, so it is not so important).
Andrew Misplon Puro May 14, 2022 · 5:58 pm #16857 Thanks for the update.
You can try replacing the first rule, the rule for the header, with the following:
.page-id-4726 #masthead,
.page-id-4726 .masthead-sentinel {
display: none;
}
.page-id-4726 .site-content {
padding-top: 20px;
}
Christophe May 16, 2022 · 5:52 pm #16859 Hello, that worked !!!
Thank you very much for your help.
Andrew Misplon Puro May 17, 2022 · 8:49 am #16862 Glad to hear you’ve made progress. All the best with your site.
Cheers for now.
Andrew