La description de la catégorie n'est pas affichée sur la version mobile

Hi, the descriptions of our categories aren´t shown at mobile version. Could you please help me. I´m not very familiar with CSS, but learning every day a little bit more

Dektop
Dektop

Mobile


Thanks for your support

U can try add this code to css:

@media only screen and (max-width: 601px){
    .category-list.with-topics .category-list-item .category-description {
        display: table-row;
    }
}
2 « J'aime »

Great, thanks so much!

May I ask two questions more?

  • Is it possible to include the description right besides the icon?
    +H ow can I change the color of the font in the blue button? I couldn’t find this button in the color settings of the theme

Thank you!

2 cái này cách nhau nên rất khó thay đổi chỉ css. Hoặc rất nhiều có thể phá vỡ các thành phần khác.
Nói chung, đây là một sự thay đổi tạm thời.
Màu nền của nút đã thay đổi, vì vậy chúng ta có thể sử dụng lớp css để chỉnh sửa màu văn bản:

.list-controls .container #create-topic {
    color: #fff;
}

Var color: Developer’s guide to Discourse Themes

This helps! Thanks so much!

Salut @Bcat merci pour le code CSS utile pour ajouter des descriptions pour mobile.

Est-il possible sur mobile que la description apparaisse à droite de l’image, et non en dessous de l’image ?

Comme ceci ?

1 « J'aime »

Devrait être possible avec du CSS simple.
Faites flotter l’image à gauche et donnez à la div parente une position relative.

1 « J'aime »

Que Dieu te bénisse pour ça

1 « J'aime »