• Resolved joaos5

    (@joaos5)


    Hi,

    I am very happy with Tablepress, I have no experience with WP but still its very intuitive.

    I installed Tablepress and the “Show 10 entries” dropdown does not have a dark outline around the numbers and it is also not aligned horizontally with the “Search”, its a little bit higher. How can i solve this?

    Regards

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    My guess here is that your theme does not contain proper styling for this. Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!

    Regards,
    Tobias

    Thread Starter joaos5

    (@joaos5)

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for the link! Indeed, your theme seems to be removing the styling from HTML <select> tags. To change this for this dropdown, please add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .dataTables_length select {
        border: 1px solid var(--wb4wp-text-color-20) !important;
        appearance: auto !important;
        background-color: #ffffff;
    }

    Regards,
    Tobias

    Thread Starter joaos5

    (@joaos5)

    Hi,

    Thanks Tobias it works fine now.

    Just one more thing and its related to column filter on same page I want to filter except columns 0 and 5 I entered this from other topic I saw
    “columnDefs”: [ { “searchable”: false, “targets”: [ 0, 5 ] } ]
    to custom commands , but nothing happened, the white rectangles continue there on col 0 and 5.

    Regards

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    this “Custom Command” only affects the actual search functionality, but not whether these input fields are shown or now.
    Instead, you should hide them with CSS code, e.g.

    .tablepress-id-1 tfoot .column-1 .filter_column,
    .tablepress-id-1 tfoot .column-6 .filter_column {
      display: none;
    }

    Regards,
    Tobias

    Thread Starter joaos5

    (@joaos5)

    Hi,

    Great, its resolved. Thanks very much.

    Regards

    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 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Show number entries outline’ is closed to new replies.