• Resolved albert0346

    (@albert0346)


    Hi Tobias,

    in a thread, which you already closed, you explained how to remove the sort arrows from the table header with this code:

    .dataTables_wrapper .tablepress-id-123 .sorting div:after,
    .dataTables_wrapper .tablepress-id-123 .sorting_asc div:after,
    .dataTables_wrapper .tablepress-id-123 .sorting_desc div:after {
    	content: "";
    }

    I implemented the code and it worked for TablePress 1.5. But now, after updating to 1.5.1, the arrows appear again.

    Please help. Thanks a lot, as every time in advance, for your help.

    Best regards

    Albert

    https://www.ads-software.com/plugins/tablepress/

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

    (@tobiasbg)

    Hi Albert,

    thanks for your question, and sorry for the trouble.

    I doubt that this worked in TablePress 1.5, as a new format is needed ??
    Please try again with

    .dataTables_wrapper .tablepress-id-123 .sorting:after,
    .dataTables_wrapper .tablepress-id-123 .sorting_asc:after,
    .dataTables_wrapper .tablepress-id-123 .sorting_desc:after {
    	content: "";
    }

    (The sorting functionality will still be available after this (by clicking on the header cells). To completely turn off sorting, one has to uncheck the corresponding checkbox on the table’s “Edit” screen.)

    Regards,
    Tobias

    Thread Starter albert0346

    (@albert0346)

    Thank you Tobias! Now it works!

    FYI: The forum page where I got the code in my first post was:

    Arrow Code

    Albert

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘TablePress sort arrows’ is closed to new replies.