XF 2.2 Проблема с состоянием

Версия XenForo
v2.2.4.

Beks_Macalister

Участники
Сообщения
18
Реакции
2
Баллы
18
Ввел код, но каждые буква на разных строчках. Мне надо сделать, чтобы весь текст был на одной строчке. Вот код:
HTML:
.structItemContainer {
.structItemContainer-group.structItemContainer-group--sticky {
margin: 0px 0px 0px 0px;
    border-bottom: 0.5px solid #cbcbcb;
    background: linear-gradient(0deg);
    padding: 2px 2px;
    font-size: 13px;;
}
.structItemContainer-group.structItemContainer-group--sticky:before {
    .m-faContent("@{fa-var-exclamation-triangle}\ Важные темы");
    font-family: 'Font Awesome 5 Pro';
}

.structItemContainer-group.js-threadList:before {
    .m-faContent("@{fa-var-info-circle}\ Обычные темы");
    font-family: 'Font Awesome 5 Pro';
    margin: 0 0 0 0px;
 }
}
 

Вложения

  • Screenshot_2023-12-19-20-45-31-957_com.android.chrome.jpg
    Screenshot_2023-12-19-20-45-31-957_com.android.chrome.jpg
    215.8 KB · Просмотры: 25
Решение
попробуй вставить этот код:
CSS:
.structItemContainer {
    .structItemContainer-group.structItemContainer-group--sticky {
        margin: 0;
        border-bottom: 0.5px solid #cbcbcb;
        background: linear-gradient(0deg);
        padding: 2px;
        font-size: 13px;
    }
    .structItemContainer-group.structItemContainer-group--sticky:before {
        content: "\f071\ Важные темы";
        font-family: 'Font Awesome 5 Pro';
    }
    .structItemContainer-group.js-threadList:before {
        content: "\f05a\ Обычные темы";
        font-family: 'Font Awesome 5 Pro';
        margin-left: 0px;
    }
}
попробуй вставить этот код:
CSS:
.structItemContainer {
    .structItemContainer-group.structItemContainer-group--sticky {
        margin: 0;
        border-bottom: 0.5px solid #cbcbcb;
        background: linear-gradient(0deg);
        padding: 2px;
        font-size: 13px;
    }
    .structItemContainer-group.structItemContainer-group--sticky:before {
        content: "\f071\ Важные темы";
        font-family: 'Font Awesome 5 Pro';
    }
    .structItemContainer-group.js-threadList:before {
        content: "\f05a\ Обычные темы";
        font-family: 'Font Awesome 5 Pro';
        margin-left: 0px;
    }
}
 
попробуй вставить этот код:
CSS:
.structItemContainer {
    .structItemContainer-group.structItemContainer-group--sticky {
        margin: 0;
        border-bottom: 0.5px solid #cbcbcb;
        background: linear-gradient(0deg);
        padding: 2px;
        font-size: 13px;
    }
    .structItemContainer-group.structItemContainer-group--sticky:before {
        content: "\f071\ Важные темы";
        font-family: 'Font Awesome 5 Pro';
    }
    .structItemContainer-group.js-threadList:before {
        content: "\f05a\ Обычные темы";
        font-family: 'Font Awesome 5 Pro';
        margin-left: 0px;
    }
}
Сработало. Спасибо.
 
Современный облачный хостинг провайдер | Aéza
Назад
Сверху Снизу