Home Forums Add-ons Repeater Field Repeater field wp-admin layout


Repeater field wp-admin layout

  • Hi there,
    When I install ACF repeater field with X theme and WP 4.1 or 4.1.1 layout of repeater field inputs is broken. For some reason it adds ::before and ::afterpseudo elements to <tr class="row"> ( it’s using js_composer_settings.css ) and this css brakes layout of the repeater field.

  • +1 for this – just bought the plugin and all table headers are not lining up with cells when using the table layout

  • I submitted a Github pull-request for this.
    If you wan’t to fix this add in this line of code to css/input.css inside ACF plugin.

    on line :727
    table.acf-input-table > tbody > tr:before,
    table.acf-input-table > tbody > tr:after {
    content: none;

    Hope this helps

  • Thanks presta

    If anyone comes across this problem, it is caused by a conflict with the Visual Composer plugin – there is some over zealous CSS within Visual Composer so it may not be “fixed” by ACF.

    You can also do the following to avoid hacking ACF – inside functions.php, add the following:

    add_action('admin_head', 'my_fix');
    function my_fix() {
      echo '<style>
        .acf-input-table tr.row:before{ display: none !important; }
        .acf-input-table tr.row:after{ display: none !important; }



Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.