Skip to content
Discussion options

You must be logged in to vote

To customize the CSS of only a few notes, you can create a Note type: CSS and add to it a #appCss label with the name of your custom CSS (for example: #appCss=myCustomCss). Then, add the label cssClass to the notes you want to customize (e.g.: #cssClass=myCustomCss).

Additional remarks:

  • I think one must add !important for the CSS rule to have enough specificity.
  • You need to reload the frontend for changes to be applied. You click on Menu > Reload frontend or press Ctrl + R for that.
  • To apply the CSS style to all children notes, add (inheritable) to parent's #cssClass, like so: #cssClass(inheritable)=myCustomCss .

Example:

  • Create a Note type: CSS and add this owned attribute to it: #app…

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by ferrlen
Comment options

You must be logged in to vote
1 reply
@ferrlen
Comment options

Comment options

You must be logged in to vote
1 reply
@ferrlen
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants