Posted 14 сентября, 20241 yr Привет всем, кто знает, как добавить символы с font awesome, в меню навигации? Чтобы выглядило так: Спойлер
14 сентября, 20241 yr привет a[data-navitem-id="25"]:before {content: "\f019" !important;font-family: FontAwesome;} a[data-navitem-id="28"]:before {content: "\f0d1" !important;font-family: FontAwesome;} a[data-navitem-id="10"]:before {content: "\f02d" !important;font-family: FontAwesome;} a[data-navitem-id="8"]:before {content: "\f211" !important;font-family: FontAwesome;} a[data-navitem-id="31"]:before {content: "\f232" !important;font-family: FontAwesome;} a[data-navitem-id="9"]:before {content: "\f03e" !important;font-family: FontAwesome;} a[data-navitem-id="18"]:before {content: "\f288" !important;font-family: FontAwesome;} a[data-navitem-id="2"]:before {content: "\f1b3" !important;font-family: FontAwesome;} a[data-navitem-id="32"]:before {content: "\f03d" !important;font-family: FontAwesome;} a[data-navitem-id="15"]:before {content: "\f091" !important;font-family: FontAwesome;} a[data-navitem-id="14"]:before {content: "\f21b" !important;font-family: FontAwesome;} a[data-navitem-id="17"]:before {content: "\f0c0" !important;font-family: FontAwesome;} a[data-navitem-id="13"]:before {content: "\f285" !important;font-family: FontAwesome;} a[data-navitem-id="23"]:before {content: "\f03d" !important;font-family: FontAwesome;} a[data-navitem-id="11"]:before {content: "\f073" !important;font-family: FontAwesome;} a[data-navitem-id="27"]:before {content: "\f022" !important;font-family: FontAwesome;} a[data-navitem-id="33"]:before {content: "\f1b6" !important;font-family: FontAwesome;} где ID там вводишь номер приложения. а где \f03e это уникод иконки на сайте font awesomе. сам код кидать в кастом ксс. надеюсь разберешься? Спойлер
14 сентября, 20241 yr или альтернатива Славе. Заходим в настройки меню, создаем новое меню (новый пункт) в название вставляем код вашей выбранной иконки с сайта https://fontawesome.ru/all-icons/ в формате: <i class="fa fa-bolt" aria-hidden="true"></i> Главная страница Сохраняем 😉
14 сентября, 20241 yr Это может быть в настройках некоторых кастомных тем: Либо можно использовать дефолтный функционал: Не забываем обновлять шрифт: Edited 14 сентября, 20241 yr by Zero108
14 сентября, 20241 yr 2 часа назад, andros0789 сказал: или альтернатива Славе. рад тебя видеть. удачи от души.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.