• Resolved infiniloop

    (@infiniloop)


    Hi Tobias, I am looking to hide the sorting arrows, but still have the sorting funtionality in my table. I found this support page:

    https://ww.wp.xz.cn/support/topic/sorting-arrows-1

    I’ve changed the code to remove the table id to have this apply to all tables, so my code now looks like this:

    .dataTables_wrapper .tablepress .sorting div:after,
    .dataTables_wrapper .tablepress .sorting_asc div:after,
    .dataTables_wrapper .tablepress .sorting_desc div:after {
    	content: "";
    }
    
    .dataTables_wrapper .tablepress .sorting,
    .dataTables_wrapper .tablepress .sorting_asc,
    .dataTables_wrapper .tablepress .sorting_desc {
    	padding-right: 8px;
    }

    I’ve placed that code at the top of the “Custom CSS” section on the “Plugin Options” tab, and arrows still appear at the top of the columns.

    Has anything changed since that previous support ticket was resolved?

    Thanks for your help!

    https://ww.wp.xz.cn/plugins/tablepress/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    This code only applied before TablePress 1.5. In the latest versions, the div part has to be removed. Therefore please try again with

    .dataTables_wrapper .tablepress .sorting:after,
    .dataTables_wrapper .tablepress .sorting_asc:after,
    .dataTables_wrapper .tablepress .sorting_desc:after {
    	content: "";
    }
    
    .dataTables_wrapper .tablepress .sorting,
    .dataTables_wrapper .tablepress .sorting_asc,
    .dataTables_wrapper .tablepress .sorting_desc {
    	padding-right: 8px;
    }

    Regards,
    Tobias

    Thread Starter infiniloop

    (@infiniloop)

    Sorry, that didn’t work either.

    my page

    Can you confirm I’m putting the code in the proper place?

    Thread Starter infiniloop

    (@infiniloop)

    Sorry! My bad, its working now.

    I had the “” translate weird when copy/pasting the code.

    Thank you!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    are you sure? It’s working fine for me. The table in the “Points Leaderboard” tab does not have sorting arrows anymore.

    Regards,
    Tobias

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi again,

    ah, ok. That explains it 🙂
    Good to hear that everything is working now!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Sorting Arrows’ is closed to new replies.