• Resolved Esteban88

    (@esteban88)


    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

    (@jonua)

    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 3 years, 3 months ago by Johann Heyne.
    • This reply was modified 3 years, 3 months ago by Johann Heyne.
    • This reply was modified 3 years, 3 months ago by Johann Heyne.
    • This reply was modified 3 years, 3 months ago by Johann Heyne.
Viewing 1 replies (of 1 total)
  • The topic ‘Custom code’ is closed to new replies.