Closed nickburne closed 9 years ago
Didn't use - storefront_adjust_color_brightness(), we have a simpler and better performing method - to give its children a rgba black with alpha 0.05.
Missed WooCommerce cart dropdown in Commit above including it in next commit.
I think storefront_adjust_color_brightness() is a better solution.
If we don't use this function then when WooThemes update Storefront in the future it could go wrong.
Hmmm... That could happen. Will get it changed today.
Yep - we have to be thinking long term as we don't control the main theme (in this case storefront)
Thanks!
While using this function, an idea struck my mind, may be we should ask the user whether she would like to lighten or darken the color since if one wants jet black its not gonna work out well. And maybe we can provide her with options for brightness adjustment (a spinner control should do). Let me know, set to darken right now.
I think it should just do want the theme does as standard right now (which as I understand it) is do this automatically. We don't want more options for users at the moment...
Done, kindly check this out : )
Okay, maybe we can add it later.
Yep - maybe. Right now, WooThemes want to keep options to a minimum to reduce developement and support overhead. I agree with them. Will test this out when I test everything.
Ok - the way the colors work on the per post/page/product settings are not exactly the same as the existing global options in WP Customizer.
The color looks slightly different and the hover text behaviour is not exactly the same. This should be exactly the same.
See pics...
Respected Sir, This is my humble request to check if this issue is solved.
Yours Sincerely Shramee
Ok - looks good to me...
The header bg color should also be applied to dropdowns to avoid this (http://cl.ly/image/1W232b0C2g3g). You can use storefront_adjust_color_brightness() to make the dropdown a slightly darker shade of the general header bg color.