@Panda you’d be surprised. If you consider that you’d need to use the API to be able to populate a WordPress widget for example (which in turn would of course be PHP), taking this route is still immensely popular.
[NodeBB] First post customization
-
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
Did this solution help you?
Related Topics
-
-
-
-
Gettin Erors NodeBB
Solved Configure -
-
-
Iframely (Nodebb)
Solved Configure -