WordPress.org

Ready to get started?Download WordPress

Forums

TablePress
[resolved] Search Field Length (2 posts)

  1. sinclair_lewis
    Member
    Posted 1 year ago #

    In WP-Tables-Reloaded, you could change the length of the search field in the <input> tags in this file: /wp-content/plugins/wp-table-reloaded/js/jquery.datatables.min.js

    I found similar <input> tags in that file in TablePress, but adding length="45" doesn't change anything.

    Can this length be changed?

    Thanks

    http://wordpress.org/extend/plugins/tablepress/

  2. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    thanks for your question.

    Changing the length of this field like this (i.e. by editing a plugin file) is not recommended! You will lose these modifications after each plugin update!

    Instead, please change the length of this field with CSS code, e.g. by pasting

    .dataTables_wrapper .dataTables_filter input {
        width: 30px;
    }

    into the "Custom CSS" textarea on the "Plugin Options" screen of TablePress.

    Regards,
    Tobias

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic