Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buttons alignment and order #20

Open
felipeelia opened this issue Sep 17, 2019 · 1 comment
Open

Buttons alignment and order #20

felipeelia opened this issue Sep 17, 2019 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@felipeelia
Copy link
Owner

Let's create two options:

  1. Buttons alignment (left or right)
  2. Buttons order (+/- or -/+)
@felipeelia felipeelia added the enhancement New feature or request label Oct 10, 2019
@rtpHarry
Copy link
Contributor

Until this is implemented you can swap the buttons by calling this in the document ready function:

    function swapButtons() {
        $(".wpcf7-field-group-add").each(function(index) {
            $(this).after($(this).prev().detach());
        });
    }

By using detach it keeps all of the events like the click handlers.

@felipeelia felipeelia added this to the 2.1.0 milestone Jul 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants