Css - Joplin serveur - H2/H3

Hello, I use Joplin server 2.11.1
I'm looking to update the css style of H2 and H3.

In /server/public/css/index/ and /server/public/css/item/ there are some nice css files.

I opted for server/public/css/item/note.css because it's in the lowest tag of the header :wink: <link rel="stylesheet" href="https://XXX/css/items/note.css" crossorigin="anonymous">

I thought "no risk of being short-circuited" by another CSS. Well, that's not the case :slight_smile:

image

There's CSS code overwriting my options, but I understand where it's coming from and how to undo its effects ... I want it to be my css that's interpreted :slight_smile:

Do you have any ideas on how to achieve this? Where does all this code come from? How can I win against it? :flying_saucer:

Thanks

I finally found it :slight_smile:
If it's any help, the CSS that could possibly mess up your stylesheet is in the following JS file:
/home/joplin/packages/renderer/noteStyle.js

Is there any particular technical constraint to needing to load a css code integration in the middle of the HTML of a shared note? Wouldn't it be better to use a style sheet in the < head >?

image

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.