Topic: Font Awesome in menu

Hello everyone!
Tell me please, how can i add an icons to monstra's main menu?
Font awesome icons succesfully loads on site, but doesn't work in menu.
Help please.
http://s020.radikal.ru/i719/1403/de/9453d102fb80.png

2 2014-03-26 14:12:00

Re: Font Awesome in menu

Provide link to website pls so i can check

(с) Roman Art
So far So good wink

RomanArt's Website

Re: Font Awesome in menu

RomanArt wrote:

Provide link to website pls so i can check

http://academyural.ru

Re: Font Awesome in menu

все иконки используют псевдоэлементы

.fa-home:before {
    content: ""; - Это контент самой иконки
}

так как меню монстры не поддерживает какие либо штмл коды в меню, нужно просто за место

написать

у вас в коде лишняя правая двойная кавычка в meta ogg или наоборот не хватает, просто в названии кавычек много





п\с у нас есть русский форум smile
http://ru.forum.monstra.org/

------------------------------
Monstra menu does not support html tags, so u have to change this:

for this

(с) Roman Art
So far So good wink

RomanArt's Website

Re: Font Awesome in menu

RomanArt wrote:

for this

So, how can i copy this code? I see just a square((( Thanks for russian translation, but this question i wanna finish on this forum. Thanks for help

Re: Font Awesome in menu

in file plugins\box\menu\views\frontend\index.view.php
change line 11 from

$item['name'] = Html::toText($item['name']);

to

//$item['name'] = Html::toText($item['name']);

so now u ar able to use this code in menu:

p\s thanks to sergeyterr smile

(с) Roman Art
So far So good wink

RomanArt's Website

Re: Font Awesome in menu

Great! Thanks!!! Superfast support)