-
Notifications
You must be signed in to change notification settings - Fork 554
Font Awesome not working #231
Comments
With developer tools I can observe the theme sending request for fonts from http://mylocalsite/wp-content/themes/wordpress-bootstrap-master/library/bower_components/font-awesome/fonts/fontawesome-webfont.woff?v=4.2.0 |
any solution, anyone? |
Not sure why, but I had the same problem. I think I am done using this theme after this project if they can't get this simple thing right. Anyways here is a quick fix until they sort things out... I basically replaced their bootstrap css with the official CDN version. In functions.php remove wp_register_style( 'wpbs', get_template_directory_uri() . '/library/dist/css/styles.f6413c85.min.css', array(), '1.0', 'all' ); wp_enqueue_style( 'wpbs' ); and add wp_enqueue_style( 'bootstrap', '//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css' ); I think its better to download the files and link to them through your webserver, but I'm too lazy so I just use the CDN link. Good luck. |
Download Font Awesome and replace under bower_components then Search and replace on theme for fontawesome and change to font-awesome this is a typo that needs changing by developer |
Maybe the owner abandoned development. If so, what's the procedure to Take it over? |
Doing it the way velnikolic did it, it broke the navbar so that now the wp admin bar blocks it. So that code stays for now. Also tried updating font awesome and adding it like touchst suggested. Got the same error with updated version number. :-| |
After reading balubinos post. I checked my browser, too. bold one is doubled. In wp.less line 13: For me it works. |
The file path isn't actually correct. It needs to go up one more level. In wordpress-bootstrap-master>library>dist>css>styles.f6413c85.min.css - search for 'webfont'. You'll see 5 instances, the current URL is '**../../**bower_components/font-awesome/fonts/fontawesome-webfont.*' That URL needs to be changed to "**../../../**bower_components/font-awesome/fonts/fontawesome-webfont" It's searching under 'library' because it goes up to /dist/library/, then looks back down, which is the incorrect folder. Hope this works for everyone else. |
I installed the theme from terminal (command line) and font awesome is not working, it shows boxes instead of icons. I don't know if it's just terminal issue, because the last time I downloaded the theme somewhere at October 2014, glyhpyicon is also not working, and to fix it, I replaced wp-bootstrap font files with the font files from official getbootstrap files.
The text was updated successfully, but these errors were encountered: