Support

Account

Home Forums Feature Requests Repeater field divider border Reply To: Repeater field divider border

  • You may add custom styles for this. In functions.php

    
    function custom_acf_repeater_colors() {
       echo '<style type="text/css">
            /* nth field background */
            .acf-input-table.row-layout .acf-row:nth-of-type(2n) .acf-table {
                background:#fafafa;
            }
            /* left field label td */
            .acf-input-table.row-layout .acf-row:nth-of-type(2n) td.acf-label {
                background:#eee;
                border-color:#ddd;
            }
            /* field td */
            .acf-input-table.row-layout .acf-row:nth-of-type(2n) td.acf-input {
                border-color:#ddd;
            }
            /* left and right side - order and delete td */
            .acf-input-table.row-layout .acf-row:nth-of-type(2n) td.order,
            .acf-input-table.row-layout .acf-row:nth-of-type(2n) td.remove {
                background:#e3e3e3;
            }
            /* space between row - only border works */
            .acf-input-table.row-layout > tbody > tr > td {
                border:0;
                border-bottom:3px solid #DFDFDF;
            }
             </style>';
    }
    add_action('admin_head', 'custom_acf_repeater_colors');