Hello,
I currently have the setting “Boxes with Subcategories” turned on, but I have a lot of subcategories, causing it to look a little crowded. (see image)
Is there a way I can make the subcategories into a bulleted list? Or move them around manually rather than using the “Reorder Categories” feature? Or even if I could make the margins on each side smaller so that more could fit on one line?
Thank you!
إعجاب واحد (1)
Canapin
(Coin-coin le Canapin)
20 فبراير 2023، 12:48م
2
تعديل: اعتبارًا من 11/9/2023: سيتم إيقاف أنماط الفئات بخلاف النقاط المربعة أو ستكون غير متاحة في المستقبل القريب.
Michelle Barnett:
صناديق مع فئات فرعية
أنا أرد على هذا لاحقًا، ولكن الأفضل متأخرًا من عدمه…
لتكديسها فوق بعضها البعض:
.category-box .subcategories {
flex-direction: column;
.subcategory {
.subcategory-image-placeholder {
display: none;
}
}
}
بالنسبة للقائمة النقطية، سيعتمد ذلك على النمط الذي تستخدمه لفئاتك. لنفترض أنك تستخدم “نقطة”:
سيبدو الأمر كالتالي:
إذا كنت ترغب في الاحتفاظ بالنقاط الملونة للفئات الرئيسية ولكن ليس للفئات الفرعية:
باستخدام حرف النقطة الحقيقي:
.category-box .subcategories {
flex-direction: column;
.subcategory {
&:before {
content: "•";
margin-right: .25em;
font-size: 1.5em;
line-height: 0;
}
.badge-category-bg {
display: none;
}
.subcategory-image-placeholder {
display: none;
}
}
}
بشكل أبسط، إعادة تشكيل نقطة فئة Discourse الحالية:
.category-box .subcategories {
flex-direction: column;
.subcategory {
.badge-category-bg {
border-radius: 50%;
}
.subcategory-image-placeholder {
display: none;
}
}
}
إعجابَين (2)