Custom CSS Button help #446
Answered
by
mProjectsCode
motion2082
asked this question in
Q&A
-
Does anyone know how to create a custom css style for a button? The required style (default, primary, destructive, plain) seems to override any custom css in the snippets folder. Alternately how can you add additonal styles so you don't need to use the four above? |
Beta Was this translation helpful? Give feedback.
Answered by
mProjectsCode
Oct 28, 2024
Replies: 1 comment 9 replies
-
What have you tried? How does your CSS selector look like? The following example should work. style: primary
label: Open Meta Bind FAQ
class: my-css-class
action:
type: command
command: obsidian-meta-bind-plugin:open-faq .mb-button.my-css-class > button {
rules: here;
} |
Beta Was this translation helpful? Give feedback.
9 replies
Answer selected by
motion2082
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
What have you tried? How does your CSS selector look like?
The following example should work.