AnsweredAssumed Answered

Change a style for a programmatically created button

Question asked by soldous on Nov 22, 2016
Latest reply on Nov 23, 2016 by rscheitlin


In my widget I have some buttons that are made in html and some buttons that are made programmatically in JS. And after that I have an inconsistent look. So I want to change theme for programmatically made buttons from claro to tundra.

In my css I imported the tundra.css like @import url(""); and in an empty div in html where buttons are made I put <div class="tundra" id="dropDownButtonContainer"></div> but the buttons look still different -in claro theme.
So how can I change the theme of these buttons?


Thanks for any answers