• Resolved TinaTheVA1

    (@tinatheva1)


    How can I make individual Forms different widths? The Form number changes every time a Page is reloaded so it seems that there is nothing to differentiate between one Form and another Form.

    Please help.

    • This topic was modified 7 years, 2 months ago by TinaTheVA1.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hello again Tina,

    Definitely not the most ideal situation, and the detail slipped by me. I have added an enhancement issue to our internal tracking about getting a consistent selector added to each form’s output, and hope we can get that out soon.

    In the meantime, you’re not completely out of luck. Hopefully your site is using the body_class() function on the <body> tag. With that, you would get some unique classes that you could prefix your CSS with. say .page-id-124 .ctct-form. If you have some cases where you have multiple form instances on the same page, say one in the post content, and one in the footer, you’d need to change the specifics for the selector a bit more. Something like .page-id-124 footer .ctct-form. Definite possibilities, and worth checking out what’s getting output on the <body> tag that could be useful.

    Let us know if you have any further questions, or need us to look at anything.

    Thread Starter TinaTheVA1

    (@tinatheva1)

    That does it Michael. Thanks so much!

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Welcome.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    If you or someone else helping with the site is comfortable with WordPress filters, we do have this one to change the destination email:

    $email = get_option( 'admin_email' );
    /**
     * Filters the email to send Constant Contact Forms admin emails to.
     *
     * @since 1.3.0
     *
     * @param string $email Email address to send to. Default admin_email option.
     */
    return apply_filters( 'constant_contact_destination_email', $email );
    

    It’s not done at the moment, but I also want to offer a method to set the destination on each form individually.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Different Widths for different Forms’ is closed to new replies.