Questions tagged [dashicons]

Dashicons is the official icon font of the WordPress admin as of 3.8.

Dashicons is the official icon font of the WordPress admin as of 3.8.

9 questions
6
votes
1 answer

How to define an icon for a custom product data tab in WooCommerce

I have created a custom product data tab in WooCommere using: function my_custom_panel(){ ?>
'_my_custom_data', 'label' …
dvlpr.963
  • 384
  • 1
  • 4
  • 15
3
votes
1 answer

Get dashicon to align vertically with text

I am using the dashicons which are built into wordpress. Whenever I am using an icon in front or after a text, they are out of alignment. How would I make it, so that the icon aligns with the text? I could change the HTML to make it a separate…
Kevin M
  • 1,202
  • 15
  • 30
1
vote
2 answers

How do I change a default Dashicon in WordPress Admin area?

So I am renaming my "Posts" in WordPress backend to "News" and was able to use the code (thanks to Chris Perryman) added to my functions.php file but I would also like to change the default dashicon as well to: dashicons-media-document instead of…
ShrockCo
  • 357
  • 1
  • 13
1
vote
1 answer

Enqueue fontastic.me as 'dashicons' without blocking existing Wordpress dashicons

What I am trying to achieve: I want to use custom icons on my Wordpress website (including in the Admin Menu). What I have done so far I have set up an account on fontastic.me and enqueued the font using the following in functions.php hooked to…
LauraTheExplorer
  • 832
  • 2
  • 10
  • 21
1
vote
2 answers

How can I edit styles in the admin section of a Wordpress site (eg. changing the color of the admin toolbar)

Will someone please show me how to change the color of one dashicon on the wordpress admin toolbar? When I change the color in browser inspector, the color changes, but when I add it to my style sheet, it does not work no matter how specific I make…
cboy
  • 169
  • 2
  • 3
  • 13
1
vote
0 answers

Cannot display dashicon on TinyMCE Editor Button

I have created an TinyMCE Editor (in admin only) button which appears in editor toolbar fine and functioning properly. Right now the button says “Live Chat”, what I want to replace with a dashicon or a font awesome icon. I have the following code in…
Subrata Sarkar
  • 2,975
  • 6
  • 45
  • 85
0
votes
1 answer

Dash icons Not Showing properly in Menu Using Wordpress

The Mega Menu plugin works well except when activated it affects But some WordPress Dash icons not showing properly. I have already installed cache plugins like Autoptimize and WP Rocket as well. After clear cache from admin side but don't work till…
Mujahid Bhoraniya
  • 1,518
  • 10
  • 22
0
votes
1 answer

Icons not showing in amp pages which is served by https://www.google.com/amp/s/siachenstudios.com/

Icons not showing when amp page is served by google amp CDN which is - https://www.google.com/amp/s/siachenstudios.com/yg-drops-new-protest-track-ftp/%3famp but icons are working properly if my domain serves the amp page…
0
votes
1 answer

Dashicons not showing in Wordpress 4.9.1?

So I'm attempting a little customisation of the admin dashboard in Wordpress (version 4.9.1 bleeding edge). I'm creating a custom post within a plugin that I will be developing for bidding and displaying ad listing posts. The register_post_type…
user7179686