Support » Plugin: TablePress » Transparent background with DataTables FixedColumns plugin

  • Resolved starettie

    (@starettie)


    Thanks for all your hard work with this plugin.

    I’m trying to implement DataTables FixedColumns plugin on a table with 25 columns.
    When I scroll horizontally, the background colour for the fixed column (column 1) is transparent. Is possible to make the background white (the way your example on the plugins page displays?)

    I am using this shortcode:
    [table id=4 datatables_fixedcolumns_left_columns=1 /]

    On this page: http://www.baast.ca/tabletest/

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    For this, please either enable the “Alternating row colors” checkbox on the table’s “Edit” screen.

    Alternatively, you can set a background color using CSS code. For example, please add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress tbody td {
    	background-color: white;
    }

    Regards,
    Tobias

    Thread Starter starettie

    (@starettie)

    I changed the background colour and everything works perfectly. Thank you!

    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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Transparent background with DataTables FixedColumns plugin’ is closed to new replies.