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

    (@msimpson)

    Examples:

    [cfdb-table form="myform" id="myid" style="#myid th > td { font-size: x-small; background-color: #E8E8E8; }"]

    or if you have a CSS class “myclass” defined:
    [cfdb-table form="myform" class="myclass"]

    or just give the table an html id and add CSS in your theme referencing that id.
    [cfdb-table form="myform" id="myid"]

    Thread Starter Sandeep

    (@sandeepkylas)

    Thanks a lot, Michael!

    Will try these tricks

    Thread Starter Sandeep

    (@sandeepkylas)

    Michael,
    Thanks a lot! These tricks are very helpful.

    Is it possible to make the tables responsive so that they fit on the mobile screen area?

    Plugin Author Michael Simpson

    (@msimpson)

    Responsiveness is done using CSS. The short code outputs the plain table and you need to put in CSS to make is responsive. If your theme is responsive, it might have some CSS that you can attach to the table. You can also Google for how to make a table responsive.

    Thread Starter Sandeep

    (@sandeepkylas)

    Thanks Michael!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change style of data displayed from CFDB database’ is closed to new replies.