Support

Account

Home Forums Bug Reports Taxonomy Add New button layout bug

Solved

Taxonomy Add New button layout bug

  • When a taxonomy field is set to checkbox and there are enough items to generate a scroll bar (see screenshot) the “Add New Taxonomy” button is placed on top of the Up arrow.
    Maybe this could go further in the field box to avoid that?

  • Hi @arcanepsyche

    I’m afraid you forgot to upload the screenshot. Could you please reupload it? Also, could you please share the JSON or XML export file of your field group so I can test it out on my end?

    Thanks πŸ™‚

  • So sorry! Here is the screenshot and json file.

  • Hi @arcanepsyche

    I think you can fix it by using this code:

    add_action('acf/input/admin_head', 'my_acf_move_add_taxonomy_button');
    
    function my_acf_move_add_taxonomy_button() {
        
        ?>
        <style type="text/css">
            .acf-taxonomy-field .acf-icon {
                    right: 21px;
            }
        </style>
        <?php    
        
    }

    I hope this helps πŸ™‚

  • Thanks James. πŸ™‚

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

You must be logged in to reply to this topic.