0

How do I customize the css of semantic-ui-react?

I've tried to create site/elements/button.override

and with the following contents:

.ui.button {
  border: solid red; !important
  border-width: 2px; !important
}

but with no changes.

2 Answers 2

1

Can you try like this please :

.ui.button {
    border: solid red !important;
    border-width: 2px !important;
}

Peace

Sign up to request clarification or add additional context in comments.

Comments

0

You can create custom theme.

For that you need to makes changes to:

1) theme.config - for button - write your theme name instead of default

2) in your theme folder - elements - create button.variables

3) write your inputs here

4) run gulp command in your semantic folder

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.