@crazycells said in CSS code customization for the link preview plugin:
does OGProxy show the pdf previews as well?
Not yet, but it could with a bit of additional code.
Hi , I am talking about the moved labels with arrows on the badge that is listed on topics list… how can I target them with CSS?
@crazycells no, it was for harmony if I recall correctly. I’ll need to check if not.
EDIT - the below CSS will hide those types of badges from the topic list
span.badge.border.border-gray-300.text-body { display: none; }
The below will hide the same from the topic view
a.badge.badge.border.border-gray-300.text-body.text-decoration-none { display: none; }
It’s important to note that this will target other “action” badges also. If you’d like to target specific text whilst leaving other badges alone, this will likely require custom JS
to do so. The CSS I provided above is active on Sudonix.
Author of OGProxy, Swatch, Threaded, Card, and most of Sudonix's bugs…
Author of OGProxy, Swatch, Threaded, Card, and most of Sudonix's bugs…
@phenomlab hi Mark, my question is for the “harmony theme”, I believe your code is for the “Persona” ? It is not working…
@crazycells no, it was for harmony if I recall correctly. I’ll need to check if not.
EDIT - the below CSS will hide those types of badges from the topic list
span.badge.border.border-gray-300.text-body { display: none; }
The below will hide the same from the topic view
a.badge.badge.border.border-gray-300.text-body.text-decoration-none { display: none; }
It’s important to note that this will target other “action” badges also. If you’d like to target specific text whilst leaving other badges alone, this will likely require custom JS
to do so. The CSS I provided above is active on Sudonix.
Author of OGProxy, Swatch, Threaded, Card, and most of Sudonix's bugs…
hi @phenomlab , this code is removing all badges includes “pinned”, can we specifically target the “moved” label?
@crazycells not with CSS as this is a shared class and would likely have an undesirable affect as I mentioned earlier in the previous post.
It should be possible with some custom js
which I could easily put together.
Author of OGProxy, Swatch, Threaded, Card, and most of Sudonix's bugs…
@phenomlab Thanks a lot Mark, let me ask first on nodebb community… I have some reasons but let’s see if I can convince them to add this
@crazycells ok. No issues. Sharing classes like this was always going to cause issues.
Author of OGProxy, Swatch, Threaded, Card, and most of Sudonix's bugs…
@phenomlab @barisusakli has just added a selector for moved topics…
@crazycells good, but I think it would have made sense to cover all of them.
Author of OGProxy, Swatch, Threaded, Card, and most of Sudonix's bugs…
@phenomlab yeah but I believe they already have their own components…
component=“topic/pinned” and component=“topic/locked” were already exist, just “moved” was missing…
@crazycells ah, I see. That makes sense.
Author of OGProxy, Swatch, Threaded, Card, and most of Sudonix's bugs…
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (ether email, or push notification). You'll also be able to save bookmarks, use reactions, and upvote to show your appreciation to other community members.
With your input, this post could be even better 💗
RegisterLog in