Can I change the background color for the "quote", ''note", "important" etc blocks?

I am trying to emphasize some text using some of the blocks that are accessed with “<” and start like this “#+BEGIN_QUOTE” (for example). It has a gray background. I’d like it to have a light blue background.

Is there a way to change it?

Thanks.

[edit] I installed the Awesome Styler plugin and that helps a bit - only on QUOTE. Still looking for more non-plugin ideas.

Should be possible by adding to file custom.css something like these:

blockquote {
  background-color: lightblue;
}

.admonitionblock.caution {
  background-color: orange;
}

.admonitionblock.important {
  background-color: red;
}

.admonitionblock.note {
  background-color: blue;
}

.admonitionblock.tip {
  background-color: blue;
}

.admonitionblock.warning {
  background-color: orange;
}
1 Like