-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to customize Lesson Actions buttons in Learning Mode #7088
Comments
Support References This comment is automatically generated. Please do not edit it.
|
+1 6662212-zen |
+1 6734841-zd-a8c |
+1 for this approach. I imagine it's the best one in order to be more compatible, using a more native solution. |
+1 6656963-zd-a8c |
Another one reported 6771547-zen The user would like to change the colour also of the progress button. |
Another report 6662212-zd-a8c They would also like to customize the Next / Previous buttons. |
+1 7113694-zen |
We have had multiple reports of users wanting to customize the colors of the Complete Lesson and Take Quiz buttons, but they are unable to. This has been reported for the Divi, Kadence and GeneratePress themes.
Steps to Reproduce
What I Expected
The block settings to be applied correctly.
What Happened Instead
The block settings are applied inconsistently. For example, when updating the colors, only the background color of the Complete Lesson button changes, but the text does not. The style of the Take Quiz button does not change at all. Typography settings have no effect.
I dug into this a bit and here are some solutions I considered:
Where I ultimately landed was that the best solution may be to either create a new block or add a deprecation for the existing one (preferred). The new / updated block would use the existing core button block so that we can leverage its settings. It would be a bonus if we could somehow reuse the existing Lesson Actions block that we use when Learning Mode is disabled.
However, we would need to take care to not break the template. If we used the deprecation approach, this shouldn't be an issue.
Other ideas are also welcome!
Screenshot / Video
Context / Source
6629803-zd-a8c
6625413-zd-a8c
6529340-zd-a8c
The text was updated successfully, but these errors were encountered: