Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Modify background of a button onclick event

hi everybody,

I have a problem with the theme blue crystal and the element button.

When i press the button it change the background of the button to blue, only when do the action, after y have a button.setclass("x") so it just mudify the colour when do the action.

anyone knows how hide this effect? i try with that

#button:active {

    vertical-align: top;

    padding: 8px 13px 6px;

    background-color:black !important;



Former Member
Former Member replied

Hi Gallego,

Use the below code in the css file of your application:


{background-color: #f0f0f0;}

Map the CSS class to btn in properties panel of the element button as below:

On doing the above steps the background changes from blue to default color.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question