Use Font Awesome icons in header menu

Permalink Browser Info Environment
I'd like to use the font awesome icons in the header menu custom template. I can't see any way to do this through the page's custom attributes, which is how I did it with another theme that had font awesome built in. I love the responsive menu in Flat Fortuna but I'd love it even more with icons.

Type: Discussion
Status: In Progress
GeoAlliance
View Replies:
PSDAddict replied on at Permalink Reply
PSDAddict
Bit late, but we're you able to figure this one out?

Best Regards,
David
publicb replied on at Permalink Reply
publicb
Have you tried including font-awesome as an asset in your page_theme.php?

Example:

<?php
namespace Application\Theme\YourThemeName;
use Concrete\Core\Page\Theme\Theme;
class PageTheme extends Theme {
   protected $pThemeGridFrameworkHandle = 'bootstrap3';
   public function registerAssets() {
      $this->requireAsset('css', 'font-awesome');
      $this->requireAsset('javascript', 'jquery');
      $this->requireAsset('javascript-conditional', 'html5-shiv');
   }
}


http://documentation.concrete5.org/developers/designing-for-concret...

concrete5 Environment Information

# concrete5 Version
5.6.3.1

# concrete5 Packages
Flat Fortuna (1.0.2).

# concrete5 Overrides
languages/es_MX, languages/es_ES, languages/nb_NO, languages/es_PE, languages/sv_SE, languages/ro_RO, languages/ru_RU, languages/zh_TW, languages/fi_FI, languages/zh_CN, languages/fr_FR, languages/el_GR, languages/he_IL, languages/ar, languages/da_DK, languages/nl_NL, languages/fa_IR, languages/it_IT, languages/vi_VN, languages/sl_SI, languages/de_DE, languages/ja_JP, languages/es_AR, languages/sk_SK, languages/pt_PT, languages/tr_TR, languages/cs_CZ

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
5.4.34

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, enchant, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imagick, imap, intl, json, ldap, libxml, mbstring, mcrypt, mhash, mysql, mysqli, odbc, openssl, pcntl, pcre, PDO, pdo_dblib, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, recode, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Guard Loader, zip, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 50M
sql.safe_mode - Off
upload_max_filesize - 50M
ldap.max_links - Unlimited
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.99 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.