Support » Plugin: TablePress » Is it possible to change collapse button characters?

  • Resolved mtrineyev

    (@mtrineyev)


    Hi Tobias,

    thank you for your wonderful job for creating plugin and its support!

    Is it possible to change collapse buttons characters from “+”/”-” to some others and how?

    Regards,
    Maksym

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Yes, this is possible with CSS code. For example, add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    table.dataTable.dtr-inline.collapsed>tbody>tr[role=row]>td:first-child:before, table.dataTable.dtr-inline.collapsed>tbody>tr[role=row]>th:first-child:before {
      content: 'a' !important;
    }
    table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td:first-child:before, table.dataTable.dtr-inline.collapsed>tbody>tr.parent>th:first-child:before {
        content: 'b' !important;
    }

    Change “a” and “b” to the desired characters.

    Regards,
    Tobias

    Thread Starter mtrineyev

    (@mtrineyev)

    Thank you for the prompt and strict answer!

    It’s pleasure to collaborate with you ๐Ÿ™‚

    Regartd,
    Maksym

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ๐Ÿ™‚ Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

    Thread Starter mtrineyev

    (@mtrineyev)

    Done ๐Ÿ™‚

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks, I really appreciate it!

    Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Is it possible to change collapse button characters?’ is closed to new replies.