This topic is locked
[SOLVED]

 change insert button style

8/23/2017 3:13:42 AM
PHPRunner General questions
ffrinai author

I'd like to personalize insert buttons.

I try whith
ctrl.addStyle('color: red');

or

ctrl.addStyle('color: "#009300"');
in Client before tab, but it doesn't work.
any solution?
thanks

Fabio
(Phprunner 9.8 build 29213 x64)

L
Lawrence Nyaga 8/23/2017

you should add that on 'javascript Onload Event' of the page with buttons

admin 8/23/2017
ffrinai author 8/24/2017



This need to be done via 'Custom CSS'. See examples at https://xlinesoft.com/phprunner/docs/customizing_layout_and_theme.htm#css_bootstrap


in Custom CSS

my_button_id

{

background-color: lightblue;

}
thanks

ffrinai author 8/24/2017



in Custom CSS

my_button_id

{

background-color: lightblue;

}
thanks


but i see the new color only in phprunner project, not in the web application after build !!

<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=83032&image=1&table=forumreplies' class='bbc_emoticon' alt=':(' />