mk0r
2022 年 3 月 19 日午後 5:02
1
Question: Do the banner colors by default respect the theme colors e.g. if forum is in dark mode?
Also, two feature requests:
It would be great to be able to change the alignment to be left-aligned instead of centered (although I imagine this is simple with css)
I would love to be able to use emojis instead of font awesome icons
「いいね!」 2
Canapin
(Coin-coin le Canapin)
2022 年 3 月 19 日午後 11:37
2
From my experience, yes: see my screenshots here: Third migration, once again for a niche forum (Volkswagen Campers vans)
A bit hacky… But you can make it with CSS only:
.featured-todo div {
h3 {
background: no-repeat top center;
background-size: 30px 30px; // emoji width and height
padding-top: 45px; // emoji height + 15 px margin down
svg {
display: none !important;
}
}
&:first-child h3 {
background-image: url("https://emoji.discourse-cdn.com/twitter/rocket.png");
}
&:nth-child(2) h3 {
background-image: url("https://emoji.discourse-cdn.com/twitter/grin.png");
}
&:last-child h3 {
background-image: url("https://emoji.discourse-cdn.com/twitter/+1.png");
}
}
Which part are you talking about?
「いいね!」 4
mk0r
2022 年 3 月 20 日午前 12:55
3
Thank you for your help @Canapin
The three links and their icons, I would like the text and icons to be all left-aligned rather than center-aligned, on both desktop and mobile. I have basic knowledge of css/html and couldn’t figure out how to change it using developer tools.
「いいね!」 1
Canapin
(Coin-coin le Canapin)
2022 年 3 月 20 日午後 12:37
4
With icons:
.featured-todo div h3 {
display: flex;
align-items: center;
svg {
margin: 0 10px 0 0 !important;
}
}
With emojis:
.featured-todo div {
h3 {
display: flex;
align-items: center;
background: no-repeat left center;
background-size: 30px 30px; // emoji width and height
padding-left: 45px; // emoji width + 15 px margin left
svg {
display: none !important;
}
}
&:first-child h3 {
background-image: url("https://emoji.discourse-cdn.com/twitter/rocket.png");
}
&:nth-child(2) h3 {
background-image: url("https://emoji.discourse-cdn.com/twitter/grin.png");
}
&:last-child h3 {
background-image: url("https://emoji.discourse-cdn.com/twitter/+1.png");
}
}
Note: I didn’t test any of these customizations on mobile.
「いいね!」 4
system
(system)
クローズされました:
2023 年 7 月 5 日午前 5:58
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.