Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #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.
    #1049259

    Hey 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,
    Mike

    #1049264

    Hello 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,
    Ruud

    #1049266

    Hi,
    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,
    Mike

    #1049623

    Hello 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,
    Ruud

    #1049753

    Hi,
    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,
    Mike

    #1049929

    Excellent, thanks!

    #1050178

    Hi,
    Glad we could help, unless there is anything else we can help with on this issue, shall we close this then?

    Best regards,
    Mike

    #1054083

    Hi 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.

    #1054123

    Hi,
    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,
    Mike

    #1054133

    Yes, it does. Thank you once again, Mike.
    You can close this thread.

    #1054135

    Hi,
    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

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Hide page-as-footer in posts’ is closed to new replies.