Site logo

Archived topic

How to disable fluent form in footer on contact page?

5 replies · Started by Tania on November 8, 2020

Viewing posts 1–6 of 6

(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?

Hi there,

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

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.

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)

Thanks a lot. It has worked.

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

This archived topic is closed to new replies.