Skip to content

Custom CSS Picker #15644

Answered by mikesealey
Hystarea asked this question in Help
Feb 27, 2025 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hey @Hystarea

You won't be able to use the Custom-CSS option in the styles menu, as this targets the entire parent element.

What you can do is use an embed component

Which will allow you to use <style> tags to signify that you're writing CSS, and then you should find the element(s) you wish to target, and write rules for them.

<style>
label {
  border: 2px solid red;
}

.spectrum-Picker-label {
  font-size: 30px;
}
</style>

This isn't necessarily a straightforward operation, and it will require good use of your browser's developer console to find the class-names of the elements you hope to target, but this should get you started.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by mikesealey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants