Title: Custom code
Last modified: August 15, 2018

---

# Custom code

 *  Resolved [Esteban88](https://wordpress.org/support/users/esteban88/)
 * (@esteban88)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/custom-code-7/)
 * Greetings, the plugin is great
 * How to edit the width in the html code?
 * In the first column I have numbers and it is very large, I would like to be able
   to modify the width of each column according to the content.
 * Thank you

Viewing 1 replies (of 1 total)

 *  Plugin Author [Johann Heyne](https://wordpress.org/support/users/jonua/)
 * (@jonua)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/custom-code-7/#post-10592236)
 * The plugin itself provides no option to customise the table columns width. But
   you could use CSS to change the width of table columns…
 * width of the first column
 *     ```
       [data-name="fieldname"] .acf-table-top-row > *:nth-child(2) {
           width: 10%; 
       }
       ```
   
 * width of the second column
 *     ```
       [data-name="fieldname"] .acf-table-top-row > *:nth-child(3) {
           width: 40%;
       }
       ```
   
    -  This reply was modified 7 years, 9 months ago by [Johann Heyne](https://wordpress.org/support/users/jonua/).
    -  This reply was modified 7 years, 9 months ago by [Johann Heyne](https://wordpress.org/support/users/jonua/).
    -  This reply was modified 7 years, 9 months ago by [Johann Heyne](https://wordpress.org/support/users/jonua/).
    -  This reply was modified 7 years, 9 months ago by [Johann Heyne](https://wordpress.org/support/users/jonua/).

Viewing 1 replies (of 1 total)

The topic ‘Custom code’ is closed to new replies.

 * ![](https://ps.w.org/advanced-custom-fields-table-field/assets/icon-256x256.png?
   rev=1962986)
 * [Table Field Add-on for ACF and SCF](https://wordpress.org/plugins/advanced-custom-fields-table-field/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-custom-fields-table-field/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-fields-table-field/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-fields-table-field/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-fields-table-field/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-fields-table-field/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Johann Heyne](https://wordpress.org/support/users/jonua/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/custom-code-7/#post-10592236)
 * Status: resolved