Updated git for above change
https://github.com/phenomlab/nodebb-harmony-threading/commit/14a4e277521d83d219065ffb14154fd5f5cfac69
Hi @phenomlab , how are you?
I would like to separate the first post from the rest (NodeBB v1.18.6) … I see that you have a border and background customization enabled at the dark mode. How can I target the first post only?
I just could not find the correct CSS change for the first post.
I am trying to do something like this:
.posts .timeline li[data-index="0"] {
border-bottom: 1px solid #eee;
}
But, unfortunately it does not work Any help is appreciated…
@crazycells hi. Hope you’re well. Does it work if you set !important
after the class ?
@phenomlab said in [NodeBB] First post customization:
@crazycells hi. Hope you’re well. Does it work if you set
!important
after the class ?
Thanks for the suggestion. With the code above it did not work but I later found the correct codes:
li[data-index="0"] .post-footer {
border-bottom: 1px solid #eee;
}
@crazycells good to hear ! I’ll mark this resolved.
@phenomlab thanks