mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2025-01-13 08:40:28 +08:00
Updated Troubleshooting (markdown)
parent
dc060c7cbf
commit
2d1017c96f
@ -7,22 +7,35 @@
|
||||
|
||||
|
||||
#### Phonegap / Android (icons in Heading tags)
|
||||
Icons doesn't show up in tags with `text-rendering: optimizeLegibility`. This is the fix:
|
||||
Icons doesn't show up in tags with `text-rendering: optimizeLegibility`. According to your Font Awesome version, please add to your stylesheets:
|
||||
```css
|
||||
/* FA 3.2.1 and older */
|
||||
[class^="icon-"],
|
||||
[class*=" icon-"] {
|
||||
text-rendering: auto;
|
||||
}
|
||||
|
||||
/* FA 4.0.0 and newer */
|
||||
.fa {
|
||||
text-rendering: auto;
|
||||
}
|
||||
```
|
||||
|
||||
(more info on [#862](https://github.com/FortAwesome/Font-Awesome/pull/862))
|
||||
|
||||
|
||||
#### Small caps
|
||||
If you are using `font-variant: small-caps;` in your project, please add:
|
||||
If you are using `font-variant: small-caps;`, according to your Font Awesome version, please add to your stylesheets:
|
||||
|
||||
```css
|
||||
/* FA 3.2.1 and older */
|
||||
[class^="icon-"],
|
||||
[class*=" icon-"] {
|
||||
[class*=" icon-"] {
|
||||
font-variant: normal;
|
||||
}
|
||||
|
||||
/* FA 4.0.0 and newer */
|
||||
.fa {
|
||||
font-variant: normal;
|
||||
}
|
||||
```
|
||||
@ -31,18 +44,17 @@ If you are using `font-variant: small-caps;` in your project, please add:
|
||||
|
||||
|
||||
#### Reveal.js
|
||||
If you are using FontAwesome < 4.0.0, add the following style:
|
||||
According to your Font Awesome version, please add to your stylesheets:
|
||||
|
||||
```css
|
||||
/* FA 3.2.1 and older */
|
||||
.reveal [class^="icon-"],
|
||||
.reveal [class*=" icon-"] {
|
||||
font-family: 'FontAwesome';
|
||||
}
|
||||
```
|
||||
|
||||
If you are using FontAwesome >= 4.0.0, add the following style:
|
||||
```css
|
||||
.reveal .fa-icon {
|
||||
/* FA 4.0.0 and newer */
|
||||
.reveal .fa {
|
||||
font-family: 'FontAwesome';
|
||||
}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user