Tagged: page as footer
-
AuthorPosts
-
January 2, 2019 at 1:10 pm #1049250
Hi Enfold,
Best wishes for the new year.
I’m using the Select a page to display as footer (no socket) option. Works really well and it is currently being displayed throughout the side. However, I would like to hide the footer on all posts.
So I thought to apply:
.single-post #footer { display: none !important; }
But unfortunately, it is not working.
Any thoughts?
Regards,
Ruud- This topic was modified 5 years, 10 months ago by ruuddekeijzer.
January 2, 2019 at 1:54 pm #1049259Hey ruuddekeijzer,
Happy new year, this is because when using the Select a page to display as footer (no socket) option the footer ID is not included, instead the classes of the page are used. In my tests on my localhost this css worked to hide the footer page on all posts:#top.single-post div.main_color.container_wrap_first.container_wrap:nth-child(3) { display: none !important; }
Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field, if it doesn’t work for you, please link to a post so we can adjust to your site.
Best regards,
MikeJanuary 2, 2019 at 2:13 pm #1049264Hello Mike,
Happy new year as well and thanks for helping out.
Unfortunately it did not work.
For instance, check out this post: http://www.icreativep2p.com/white-paper-evolutie-in-automatische-factuurverwerking.
The footer consists of three sections (the first section has the title “Waarom ICreative”).
Best regards,
RuudJanuary 2, 2019 at 2:30 pm #1049266Hi,
Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:#top.single-post div.container_wrap.fullsize { display: none !important; }
Best regards,
MikeJanuary 3, 2019 at 3:51 pm #1049623Hello Mike,
That worked! Thanks a lot.
How can I remove the page-as-footer for archive pages, or specifically the following page:https://www.icreativep2p.com/vacatures/
Best regards,
RuudJanuary 4, 2019 at 2:07 am #1049753Hi,
To remove it from all archive pages, try this css:#top.archive div.container_wrap.fullsize { display: none !important; }
or combine the two rules together like this:
#top.single-post div.container_wrap.fullsize,#top.archive div.container_wrap.fullsize { display: none !important; }
Best regards,
MikeJanuary 4, 2019 at 10:29 am #1049929Excellent, thanks!
January 5, 2019 at 5:22 am #1050178Hi,
Glad we could help, unless there is anything else we can help with on this issue, shall we close this then?Best regards,
MikeJanuary 15, 2019 at 12:25 pm #1054083Hi Mike,
I overlooked our event pages. I thought I understood the logic, but I can’t seem to hide the footer for our event pages, for example, the following:https://www.icreativep2p.com/evenement/cfocpo-when-forces-join/
I tried, #top.evenemement #top.tribe-event and multiple others, to no avail….
Can you help me out one more time? Would be much appreciated.
January 15, 2019 at 1:59 pm #1054123Hi,
It is using a different template so the logic didn’t work as expected, but this css does work:#top.single-tribe_events #waarom,#top.single-tribe_events #contact,#top.single-tribe_events #av_section_3.footer_color { display: none !important; }
Best regards,
MikeJanuary 15, 2019 at 2:40 pm #1054133Yes, it does. Thank you once again, Mike.
You can close this thread.January 15, 2019 at 2:53 pm #1054135Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘Hide page-as-footer in posts’ is closed to new replies.