Page 1 of 1

Button as a normal word (without blue frame)

Posted: Sun Mar 06, 2022 2:08 pm
by Olikun
Hi there,

I have a new question.

How can I create a button without a blue border?
Button ohne blauen rand.JPG
Many greetings

David

Re: Button as a normal word (without blue frame)

Posted: Sun Mar 06, 2022 3:45 pm
by kev1n
Hi,

Like this?

Code: Select all

$('#your_button_id').removeClass('nuButton').css({'background-color':'white','border':'none'});

Re: Button as a normal word (without blue frame)

Posted: Sun Mar 06, 2022 3:50 pm
by Olikun
ah great thank you :)

it works

Is there a way to change the mouse over color?

Re: Button as a normal word (without blue frame)

Posted: Sun Mar 06, 2022 3:59 pm
by kev1n
Add a custom class in setup-> header

Code: Select all

.mybutton {
  background-color: white;
  border: none;
}

.mybutton:hover {
  color: red;
}
The use this JS:

Code: Select all

$('#your_button_id').removeClass('nuButton').addClass('mybutton');

Re: Button as a normal word (without blue frame)

Posted: Sun Mar 06, 2022 4:23 pm
by Olikun
kev1n wrote: Sun Mar 06, 2022 3:45 pm Hi,

Like this?

Code: Select all

$('#your_button_id').removeClass('nuButton').css({'background-color':'white','border':'none'});
let's stick with the first code

How can I make the font bold?

Re: Button as a normal word (without blue frame)

Posted: Sun Mar 06, 2022 4:25 pm
by kev1n
Use the font-weight property and set it to bold

CSS reference: https://www.w3schools.com/cssref/