#34314 closed defect (bug) (invalid)
Down arrow alt2 displays ? mark box
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.3.1 |
Component: | General | Keywords: | |
Focuses: | ui | Cc: |
Description (last modified by )
The dashicon is displaying ? box instead of icon. Below is the code I am using to reference.
.header-nav li.account-dropdown:before { content: '\f347'; }
Even when i use ""
instead of ''
still produces same issue. Also I have tried using :after instead of :before selector.-still same issue.
WP 4.3.1
Change History (2)
Note: See
TracTickets for help on using
tickets.
This usually happens when you're not loading dashicons correctly.
The easiest way to add the icon you want is to add the necessary classes to your
.header-nav li.account-dropdown
element. In the HTML, it'd look something like this:<li class="account-dropdown dashicons dashicons-arrow-down-alt2">
Also make sure you're correctly enqueueing the dashicons CSS if it isn't already.
Last but not least, as this is a support question, please ask in the WordPress.org support forums if you need further help. Trac is for core development only.