Reputation: 457
Where should i write the css to edit my buttons in Mathjax ckEditor? I have read the documentation but i can't find a way.
Where are html and css files stored?
My buttons were created in Mathjax.js with this code:
{
id: 'button1',
type: 'button',
button: 'button1',
label: 'button1',
}
Upvotes: 1
Views: 92
Reputation: 2223
I see you gave an ID (button1
) to the button with a label (button1
). You can apply CSS using the ID this way -
#button1{
// Your css here
}
But, by default that button will have some CSS applied already. So if you want your CSS to override those CSS, you'll have to link your CSS file after the CSS file of Mathjax. Otherwise, you'll have to use !important
to force override the CSS of the button.
Upvotes: 1