Try this:
.select-kit .category-badge-icon {
display: none;
}
Try this:
.select-kit .category-badge-icon {
display: none;
}
That did it. Thank you for the help! I think Discourse navigation is fine as-is but for now I have to implement this small feature for these users and hopefully I can remove it at some point in the future. It’s more of a stop gap fix for the moment.
Hi,
Is it just me, or does this component not recognize name changes in slugs?
I doesn’t seem to recognize category slugs with changed names in my case, not right away anyway.
I use the dark mode component as well.
So that makes it a bit difficult to use this for the main categories. Because the icon shows up next to the main category. I now use “categoryColor”, which is red. That works for both the dark and light mode on my forum. But then the icon is not visible in the category selection menu. Because it has the same color as it. So there is just a blank space. Is there a way to fix this? Use an alternative color for the category dropdown menu? Because when “categoryColor” is used, the icon is not visible anymore. Would be great to have a white color for the icon there.
Ah, well, #cfcfcf works fine in both dark and light mode. Other option is also to use emojis of course 
I’d like to use an icon that is only available with a Font Awesome Pro subscription (specifically this icon). How can I do so with this theme component?
You need to first install this plugin:
And then the pro icons should be available for use for you, including for this component.
Thank you, Penar, I’ll take a look at this. I’m having some unrelated trouble rebuilding the forum, and haven’t been able to test this out yet.
لاحظت أن هذا يعمل فقط على الفئات، وليس الفئات الفرعية.
بالإضافة إلى ذلك، فإنه يعمل في كل مكان باستثناء حيث يتم عرض الفئات الفرعية كصناديق فوق قائمة الفئات. إنه يعمل بشكل جيد كصفوف فوق قائمة الفئات.
لسبب ما، لم يتم تطبيق categoryTitleLink على الصناديق.
أي فكرة عن سبب ذلك؟ أشك في أنه قد يكون مشكلة (صغيرة) في النواة.
لاحقًا…
تم إصلاح هذا بواسطة فريق Discourse الرائع. لسبب ما تحتاج إلى إزالة وإعادة تثبيت مكون السمة هذا لكي يعمل:
أود فعلاً لو أن هذا يسمح لي أيضًا بوضع الرموز التعبيرية بدلاً من أيقونات FontAwesome فقط. هل هذا ممكن حاليًا؟
المثال هو أنني أريد فئة ترحيب وأعتقد أن رمز الرموز التعبيرية
يبدو طريقة قياسية بشكل متزايد للقيام بذلك.
يمكنك إضافة رمز تعبيري إلى اسم الفئة باستخدام أداة اختيار الرموز التعبيرية الأصلية في نظام التشغيل الخاص بك.
آه، هذا يبدو بسيطًا بما فيه الكفاية
شكرًا لك!
أين يتم ضبطه؟ تعديل تبديل رمز أو دالة
هل سيكون من الممكن استخدام صور تم تحميلها برابط URL؟
لا، لا أعتقد ذلك.
لقد حددت أيقونة Font Awesome لاستبدال أيقونة القفل الافتراضية. ومن المثير للاهتمام أنها تبدو أصغر من الأيقونات الأخرى… مما يؤدي إلى محاذاة غير متناسقة للنص (بالإضافة إلى كون الأيقونة نفسها صغيرة جدًا) في قوائم فئات القوائم المنسدلة وفي قائمة الفئات في قائمة ≡…
قدم لي فريق Discourse حلاً بديلاً يمكن إضافته إلى CSS الخاص بالمظهر:
// FIX - New lock icon on private categories
svg.fa.d-icon.d-icon-user-plus.svg-icon.svg-string {
font-size: 1.3em;
align-self: center;
}
أواجه مشكلة حيث يبدو أن اسم الفئة المختصر (slug) لا يحترم الواصلات في الأسماء الدقيقة.
على سبيل المثال، إذا كان لدي أسماء فئات مختصرة:
beta-testing
beta-testing-bugs
beta-testing-features
ثم أقوم بإضافة إدخالات مكونات السمة التالية:
beta-testing,trash-alt,categoryColour
beta-testing-bugs,trash-alt,categoryColour
beta-testing-features,trash-alt,categoryColour
فقط الفئة الأولى تأخذ الأيقونة “trash-alt” ولا تعرض الأخريات أيقونة.
إذا قمت بإزالة الواصلات، يبدو أن الأمر يعمل.
categories:
beta-testing
betatestingbugs
betatestingfeatures
theme component entries
beta-testing,trash-alt,categoryColour
betatestingbugs,trash-alt,categoryColour
betatestingfeatures,trash-alt,categoryColour
هذا حل بديل، ولكنه يكسر إلى حد ما اصطلاح التسمية للأسماء المختصرة. هل أفعل شيئًا خاطئًا أم أن هذه مشكلة؟