[Resolved] How to disable fluent form in footer on contact page?

Home Forums Support [Resolved] How to disable fluent form in footer on contact page?

Home Forums Support How to disable fluent form in footer on contact page?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1522322
    Tania

    (Sample site services customisation)

    https://www.smartchampstuition.co.uk/contact/

    I have added fluent form as a widget in the footer and as short code on the contact page.

    As I already got contact form on contact page, I want to remove it from the footer on contact page.

    How Can I do this?

    #1522839
    Leo
    Staff
    Customer Support

    Hi there,

    Just to confirm, you want to remove footer widget 1 on contact page only and keeping the other 2 footer widgets right?

    #1523044
    Tania

    Yes, only want to remove 1 fluent form contact widget in the footer on the contact page.

    As I already got fluent form in the contact page. So there is no point of having second/duplicate fluent form in the footer as a widget.

    So I want to keep fluent form widget in the footer under all other pages but not under the contact page.

    Hope it makes sense.

    #1523100
    Elvin
    Staff
    Customer Support

    Hi,

    You can do a CSS approach to achieve the desired result.

    You can try creating a Hook element through Appearance > Elements.

    You then insert this code:

    <style>
    .footer-widget-1 {
        display: none;
    }
    .footer-widgets-container {
        padding: 20px;
    }
    </style>

    You then set the Hook to wp_head and set the display rule to “Page” > “Contact”. (your contact page)

    #1523133
    Tania

    Thanks a lot. It has worked.

    #1523138
    Elvin
    Staff
    Customer Support

    No problem. Glad to be of any help.:)

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.