Skip Navigation

[Resolved] How can I change the color of the sort indicator?

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by lesleeM 1 year, 12 months ago.

Assisted by: Minesh.

Author
Posts
#2493011

I have set up a View that uses the Table format. I have set the columns to be sortable. The functionality is working fine. But the sort indicator is an image located at:

/wp-content/plugins/toolset-blocks/res/img/sort.gif

I'm not seeing any way to change the color of this indicator. We're using it on this page:

hidden link

Note that we have set up the table to have headers with a black background and white text. So the black indicator image is not good here.

I tried to edit this image in Photoshop, but for reasons unknown, I could not change the black triangle pixels from black to white. I tried the Bucket Fill tool and the Pencil tool to make those pixels white, but it didn't change them. So I'm resigned to checking with you to see if there's any way we can make this white instead of black. I hate to have to file a support ticket for such a minor thing, but I'm not sure what to do here.

#2493417

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please try to add the following CSS code to your view's custom CSS box and check if that help you to resolve your issue:

span.wpv-sorting-indicator {
    filter: invert(1);
}

More info:
- hidden link

#2493875

Perfect. You guys are awesome! I never knew there was a CSS way to do this. Learn something new every day.

#2493877

My issue is resolved now. Thank you!