[Support request] Anchor to footer widget

Home Forums Support [Support request] Anchor to footer widget

Home Forums Support Anchor to footer widget

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2041370
    Duncan

    I would like to have a link from the topbar to a contact form in the footer widget area. I am using contact form 7 for the forms as I needed sendinblue integration.

    I inspected the form and was able to find the ID for the form and using #ID (#wpcf7-f7950-o2 in my case) works on the home page but doesn’t seem to work on the sub pages. I have put the link to the form on the homepage (/#wpcf7-f7950-o2), which works, but the user then is not on the page they started on. The form has the same ID on every page, it just seems to be the subpage part of the URL that breaks the link.

    Is there some way to link to the ID of the footer widget or something so that it works on every page or is it just the nature of the way the footer is coded that you can’t link to the footer on subpages?

    Hopefully that makes sense! Thanks

    #2041517
    Ying
    Staff
    Customer Support

    Hi Duncan,

    Try using #footer-widgets as the anchor.

    You can also add a CSS class smooth-scroll to the click here link so that it will scroll to the bottom of the page.

    Let me know if this helps 🙂

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