Viewing 1 replies (of 1 total)
  • Plugin Author don benjamin

    (@dondon-benjamincouk)

    The plugin layout can be controlled via css or via swapping out the template. I can’t actually access the page you’ve listed but you could try adding something like the following to your theme’s stylesheet:

    .searchform-params {
            display: flex;  
    }
    .searchform-params {
            width: 33%;
    }

    Alternatively you could modify the page template. Copy the file wp-custom-fields-search/templates/form.php into your theme in a file called (for instance) custom-search-form.php, then add a line to your themes functions.php file to use the new template, something like this should work:

    add_filter('wpcfs_form_template', function () { return __DIR__.'/custom-search-form.php';});

    Then you should be able to edit your custom-search-form.php as you need.

    • This reply was modified 3 years, 2 months ago by don benjamin.
    • This reply was modified 3 years, 2 months ago by don benjamin.
Viewing 1 replies (of 1 total)
  • The topic ‘how to change the layout’ is closed to new replies.