Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter antioch

    (@antioch)

    oh yeah, here is my custom commands string:
    "aoColumnDefs": [ { "bSortable": true, "aTargets": [ 0, 1, 2, 8 ] }, { "bSortable": false, "aTargets": [ "_all" ] } ]

    Thread Starter antioch

    (@antioch)

    it also renders all of the footer cells black.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question!

    The reason for this seems to be that your theme also defines a background color for table cells in the first and last row. To again change that, please add the following to the “Custom CSS” textarea on the “Plugin Options” screen of WP-Table Reloaded:

    .wp-table-reloaded th {
      background-color: #E6EEEE !important;
    }

    Regards,
    Tobias

    Thread Starter antioch

    (@antioch)

    doesnt seem to have an effect?

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    ah, my bad. Please try again with

    .wp-table-reloaded th {
      background: #E6EEEE !important;
    }

    Regards,
    Tobias

    Thread Starter antioch

    (@antioch)

    that fixed the blackout issue. however it also removed the sorting indicators. though the functionality remains.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    ah, yes, forgot about that… Sorry.
    Then please try again with

    .wp-table-reloaded th {
      background: #E6EEEE !important;
    }
    .wp-table-reloaded .sorting {
      background: #E6EEEE url(https://www.elkriveradventure.com/wp-content/plugins/wp-table-reloaded/img/bg.gif) no-repeat center right !important;
    }
    .wp-table-reloaded .sorting_asc {
      background: #8DBDD8 url(https://www.elkriveradventure.com/wp-content/plugins/wp-table-reloaded/img/asc.gif) no-repeat center right;
    }
    .wp-table-reloaded .sorting_desc {
      background: #8DBDD8 url(https://www.elkriveradventure.com/wp-content/plugins/wp-table-reloaded/img/desc.gif) no-repeat center right;
    }

    That should really take care of everything now ??

    Best wishes,
    Tobias

    Thread Starter antioch

    (@antioch)

    almost there. that restores the sort buttons…until u click on one. then it disappears for that column until u click on one from another column.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    argh, I forgot to add the !important keyword to the last two blocks.
    Last try ?? :

    .wp-table-reloaded th {
      background: #E6EEEE !important;
    }
    .wp-table-reloaded .sorting {
      background: #E6EEEE url(https://www.elkriveradventure.com/wp-content/plugins/wp-table-reloaded/img/bg.gif) no-repeat center right !important;
    }
    .wp-table-reloaded .sorting_asc {
      background: #8DBDD8 url(https://www.elkriveradventure.com/wp-content/plugins/wp-table-reloaded/img/asc.gif) no-repeat center right !important;
    }
    .wp-table-reloaded .sorting_desc {
      background: #8DBDD8 url(https://www.elkriveradventure.com/wp-content/plugins/wp-table-reloaded/img/desc.gif) no-repeat center right !important;
    }

    Regards,
    Tobias

    Thread Starter antioch

    (@antioch)

    that did it! many thx!

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    awesome! ?? Thanks a lot for the confirmation!

    Best wishes,
    Tobias

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Disabling sort for selected columns’ is closed to new replies.