lucifer_1 Posted September 28, 2022 Share Posted September 28, 2022 Really not that important, but i can't help it i need it solved :) When i change the button color of a state (for example shipped) and the button color is a bit darker, the font color is white, automatically. But when it is a bit a darker button color, the font color is #383838. I want to change it, that the font color is always white for example. Where can i find it? Link to comment Share on other sites More sharing options...
JBW Posted September 28, 2022 Share Posted September 28, 2022 (edited) Its (hard) coded in youradmin\themes\default\template\helpers\list\list_content.tpl {if isset($params.color) && isset($tr[$params.color])} <span class="label color_field" style="background-color:{$tr[$params.color]};color:{if !Tools::isBright($tr[$params.color])}white{else}#383838{/if}"> {/if} And in other places for e.g. order page as this is already in twig. Check class ColorBrightnessCalculator Edited September 28, 2022 by JBW (see edit history) 1 Link to comment Share on other sites More sharing options...
lucifer_1 Posted October 5, 2022 Author Share Posted October 5, 2022 I am sorry, didn't get an e-mail that there was an answer on my topic. Thank you. I think you are very close, but the list_content isn't the order list on the order page. Do you know where i can find the order list? You say it is in twig, but where can i find those files? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now