N.Marzio Posted January 24, 2021 Share Posted January 24, 2021 How can I change the color of the caption via css? .btn-primary { color: #00ff00; <== NOT WORKING! background:#ECF0F1 !important; -webkit-transition: background 0.2s ease-in-out; transition: background 0.2s ease-in-out; border:3px solid #3355FF; border-radius: 4px; } Tks Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted January 24, 2021 Share Posted January 24, 2021 3 hours ago, N.Marzio said: How can I change the color of the caption via css? .btn-primary { color: #00ff00; <== NOT WORKING! background:#ECF0F1 !important; -webkit-transition: background 0.2s ease-in-out; transition: background 0.2s ease-in-out; border:3px solid #3355FF; border-radius: 4px; } Tks Hi Can you please create a test case? Quote Link to comment Share on other sites More sharing options...
N.Marzio Posted January 24, 2021 Author Share Posted January 24, 2021 I attach the demo with the problem PS UniGui Vers.: 1.90.0.1535 Tks! DemoForum.7z Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted January 25, 2021 Share Posted January 25, 2021 5 hours ago, N.Marzio said: I attach the demo with the problem PS UniGui Vers.: 1.90.0.1535 Tks! DemoForum.7z 5.06 MB · 0 downloads Hi Which color do you want to change? background or text color? Quote Link to comment Share on other sites More sharing options...
N.Marzio Posted January 25, 2021 Author Share Posted January 25, 2021 TEXT COLOR. Tks! Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted January 26, 2021 Share Posted January 26, 2021 On 1/25/2021 at 7:30 AM, N.Marzio said: TEXT COLOR. Tks! Hi .btn-primary .x-btn-inner { color: #566573 !important; } Quote Link to comment Share on other sites More sharing options...
N.Marzio Posted January 26, 2021 Author Share Posted January 26, 2021 It works... But I would like the text color of the button to change even when I hover over the whole button with the mouse Tks! Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted January 26, 2021 Share Posted January 26, 2021 1 hour ago, N.Marzio said: It works... But I would like the text color of the button to change even when I hover over the whole button with the mouse Tks! When you hover, color is not changing. Do you see anything else? Quote Link to comment Share on other sites More sharing options...
N.Marzio Posted January 26, 2021 Author Share Posted January 26, 2021 When I hover the mouse over the text the color changes correctly ... I would like the color to change even by passing only on the button Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.