أبحث عن تغيير حجم الصورة المصغرة لـ “Modern Category + Group Boxes” عبر CSS. إذا استخدمت الإعداد الافتراضي لاستخدام صورة، فإن الصورة تزيد من حجم الصورة المصغرة (حتى لو استخدمت صورة أصغر). أنا متأكد من أن هذا قد تم من قبل ولكن بحثي لم يقدم أي نتائج تعالج هذه المشكلة مباشرة (مرة أخرى، مما تمكنت من العثور عليه).
سيكون أي مساعدة موضع تقدير كبير، حتى لو كان بإمكانك توجيهي في الاتجاه الصحيح باستخدام CSS.
شكرا لك!
Lilly
(Lillian Louis)
24 فبراير 2024، 1:03ص
2
بما أنك تبدو مهتمًا بإجراء الكثير من التخصيصات على نسخة Discourse الخاصة بك، فربما تساعدك هذه المواضيع:
This is a crash course in Discourse theme basics. The target audience is everyone who is not familiar with Discourse themes. If you’ve already used Discourse theme / theme components, this guide is probably not something you need to read.
What are themes and theme components?
A theme or theme component is a set of files packaged together designed to either modify Discourse visually or to add new features.
Let’s start with themes.
Themes
In general, themes are not supposed to be compatible …
This guide explains how to make CSS changes on your Discourse site, including an introduction to CSS, where to add CSS in Discourse, and how to find the right selectors using browser inspection tools.
Required user level: Administrator
Summary
This guide covers:
A brief introduction to CSS and key concepts
How to add CSS to your Discourse site using theme components
Using browser inspection tools to find the right CSS selectors
Understanding CSS basics
C…
Discourse Themes and Theme Components can be used to customize the look, feel and functionality of Discourse’s frontend. This section of the developer guides aims to provide all the reference materials you need to develop simple themes for a single site, right up to complex open-source theme components.
This introduction aims to provide a map of all the tools and APIs for theme development. If you prefer a step-by-step tutorial for theme development, jump straight to:
Themes vs. Theme Compon…
There are a few ‘how to start’ guides for working with Discourse already and a wealth of useful info on meta, but I thought it might help to give an insight to the mental processes of starting from little, if any, prior coding experience to building substantial Discourse plugins.
Discourse is written by experienced developers and has a large codebase. This can feel intimidating. This intimidation factor can be a significant barrier for novice developers. This is a kind of ‘psychological primer’…
إعجابَين (2)
Heliosurge
(Dan DeMontmorency)
24 فبراير 2024، 1:32ص
3
قد يكون هذا الموضوع مفيدًا. قام @Canapin ببعض البرمجة الرائعة هنا.
We’re aware of that and discussing it
I was curious, so I made these tweaks to make something like @derak would like:
[image]
.category-boxes, .category-boxes-with-topics {
gap: 1em;
}
.mobile-view .category-boxes .category-box, .mobile-view .category-boxes-with-topics .category-box {
width: 100%;
flex: 0 0 calc(50% - 0.5em);
}
.category-boxes .description {
display: none;
}
.category-boxes .category-box .category-box-inner .category-details .category-box-heading h3 {
…
إعجاب واحد (1)