melhosseiny
(Mostafa Elshamy)
4 Ottobre 2021, 11:22am
1
Rome is a light Discourse theme that feels like an ancient roman manuscript and uses color based on pigments available to an artist of the time.
This is my second Discourse theme, following Ghost !
Coming next is a theme setting to make it less tied to history, which might make sense for Science and Research communities .
Daily quote
I borrowed the sidebar widget from Fakebook and replaced the intro with a random daily quote to encourage civilized discourse, fetched from a serverless Deno script. I added three quotes by Marcus Aurelius, Alexander the Great (yes, he’s Macedonian ), and Julius Ceasar. Feel free to suggest quotes by creating an issue or pull request at https://github.com/melhosseiny/rome-quotes .
Mood
Source :
Sentences, folio 171r, Peter Lombard (yes, it’s medieval
)
Let me know in the comments if you experience issues or have suggestions!
33 Mi Piace
hokod
(hokod)
12 Dicembre 2021, 10:02am
2
Su Mobile e PC, nel tema, come possiamo disattivare il numero di commenti e visualizzazioni?
1 Mi Piace
Il mio CSS è piuttosto basilare, ma puoi aggiungere un componente a tema per farlo.
Se incolli questo nella scheda Common di un nuovo componente, dovrebbe funzionare:
.topic-list .topic-list-item .main-link .link-bottom-line .views{
display: none;
}
.topic-list .topic-list-item .main-link .link-bottom-line .badge-posts {
display: none;
}
Dettagli aggiuntivi
Vai su /admin/customize/themes
Fai clic su installa e poi su crea nuovo
Dagli un nome e seleziona ‘componente’.
Crea
Aggiungilo al tuo tema
Fai clic sul pulsante Modifica CSS/HTML e incolla questo nella scheda Common :
.topic-list .topic-list-item .main-link .link-bottom-line .views{
display: none;
}
.topic-list .topic-list-item .main-link .link-bottom-line .badge-posts {
display: none;
}
E salva.
2 Mi Piace
melhosseiny
(Mostafa Elshamy)
12 Dicembre 2021, 11:22am
4
Usando il CSS di @JammyDodger sarai in grado di nascondere commenti e visualizzazioni, ma sono curioso di sapere perché vorresti farlo? Posso considerare di aggiungere un’impostazione per il tema.
2 Mi Piace
hokod
(hokod)
12 Dicembre 2021, 12:11pm
5
Grazie ragazzi, l’ho risolto
1 Mi Piace
Monikas
(JustMonika)
3 Giugno 2024, 9:17pm
6
componente tematico separato per questo layout?
Monikas
(JustMonika)
3 Giugno 2024, 9:24pm
7
È possibile disattivare questa opzione?
Lilly
(Lillian Louis)
3 Giugno 2024, 9:27pm
8
è nelle impostazioni del sito di amministrazione
3 Mi Piace