Shop Categories

X

Different footer on some pages?

Home Forums Agama Pro Different footer on some pages?

Topic Resolution: Resolved
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26000
    tomwalter
    Participant

    I added a simple contact form widget to my footer – which is what I really love to see on most of my pages. However on some pages with interaction (f.e. the more detailed contact page) this widget should not be displayed.
    Is there any way to do that?
    Thanks!

    #26005
    Jerry
    Keymaster

    @tomwalter,

    You can try to install the next plugin:
    https://wordpress.org/plugins/widget-logic/

    It should give you the option to set on every widget to display on the chosen pages.

    Regards

    #26006
    Zex
    Moderator

    Hello, tomwalter!

    Unfortunately, we don’t have this option yet, but there is a way to do that using the custom CSS code:

    First, you need to find the specific page ID number on the page which you want to apply the
    code (remove the widget)

    to discover the page id, please follow the steps below :

    1. Navigate in your browser to the page you want to work with.
    2. Right-click on that page (anywhere) and select “Inspect Element“.
    3. Search inside the site’s markup for the body tag. It should be one of the first element in the source.
    You’ll see it has many classes. Look for the class that starts with “page-id-…”. That’s the class you should use.
    https://prnt.sc/rosiun

    You can check THIS video guide

    then, Open the Customizing->General->Additional CSS
    and insert the below code. Add the Page selector for every page you want to remove the form and replace the page ID. (Separate the selectors with a comma)

    .page-id-47 #footer-wrapper .wpforms-widget,
    .page-id-50 #footer-wrapper .wpforms-widget
    {
        display: none!important;
    }

    For the Homepage:

    .home #footer-wrapper .wpforms-widget{
        display: none!important;
    }

    For the Blog page (page with the posts):

    .blog #footer-wrapper .wpforms-widget{
        display: none!important;
    }

    Regards

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