Skip Navigation

[Resolved] Trying to add html entity arrows after table headings

This support ticket is created 2 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

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.

This topic contains 2 replies, has 2 voices.

Last updated by Lisa Boyd 2 years, 2 months ago.

Assisted by: Christopher Amirian.

Author
Posts
#2290085
Screen Shot 2022-02-11 at 5.04.07 PM.png

I am trying to:
Trying to add html entity arrows after table headings instead of the gif icon.

I've added this to the theme css as well as Toolset's CSS for the view. Neither work.

.wpv-header-no-sort::after {
    content: "▼";
  margin-left:5px;
}
.wpv-header-desc::after, .wpv-header-asc::after {
    content: "▼";
  margin-left:5px;
}

I expected to see the arrows. Instead, I got the actual characters & # 9 6 6 0 ;

#2291061

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

I checked your website and I think you need to use the literal font item for that:

.wpv-header-no-sort::after {
    content: "'▼'";
  margin-left:5px;
}
.wpv-header-desc::after, .wpv-header-asc::after {
    content: "'▲'";
  margin-left:5px;
}

Thanks.

#2292837

I updated some plugins and the arrows started showing up properly. Not sure what the issue was or what fixed it, but it's fixed now. Thanks!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.