-
AuthorPosts
-
September 29, 2023 at 12:11 pm #1420894
Hi there,
I can’t remove header and footer from a page. Usually it works fine, I had done it with other pages on the same website.
I also can’t add comments despite having flagged “add comments”.
All the “share” buttons – I would like to remove them as well.
See below the page + login to check it.Thanks a lot!
Simone- This topic was modified 1 year, 2 months ago by SimonePols.
October 1, 2023 at 9:10 pm #1421041Hey SimonePols,
Thank you for the link to your site, I see that this is a LearnPress CPT created with the Classic Editor, I’m not familiar with LearnPress, it looks like you don’t have an option to choose a template in the Page Attributes that WordPress gives to pages:
and since it is not a Advanced Layout Builder page you can’t remove the header and footer with the Layout options
Perhaps try asking the LearnPress support how you can achieve this, as they would know more about this than us.
Or you can try this css to remove the header, footer and inner elements, except the title and your video from your single-lp_lesson pages:.single-lp_lesson .lp_lesson .blog-meta, .single-lp_lesson .lp_lesson .av-vertical-delimiter, .single-lp_lesson .lp_lesson .post-meta-infos, .single-lp_lesson .lp_lesson .av-social-sharing-box { display: none !important; } .single-lp_lesson .container_wrap_first { height: 100vh !important; } .single-lp_lesson #header, .single-lp_lesson #socket, .single-lp_lesson .wpautoterms-footer { display: none !important; }
Perhaps this will help, Please see the screenshot in the Private Content area.
Best regards,
MikeOctober 4, 2023 at 8:30 am #1421350Thanks a lot Mike,
Mmmm I jsut didn’t get where exactly should I paste that piece of code you gave me?
I tried under the “text” tab of the single page but it doesn’t work, while your screenshot looks fine :)
Thank you,
SimoneOctober 4, 2023 at 10:07 am #1421360Hi,
Thanks for the update. Please try the code in Quick CSS under Enfold->General Styling.
Best regards,
RikardOctober 4, 2023 at 10:20 am #1421365Love you bro! It worked, thanks a lot :)
October 4, 2023 at 12:06 pm #1421378Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘Remove header + footer and add comments’ is closed to new replies.