-
Notifications
You must be signed in to change notification settings - Fork 13
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
customcss is not working as expected #26
Comments
The customcss is working as expected, i.e:
it is the effect of the settings that is not as would be thought to be expected. That is the bug. Unselecting an attribute in the development tools is not the same as defining a value for it. |
Hi, you are right unselecting an attribute is not the same as defining it. |
Are you saving the CSS setting? |
yes. I tried also to modify these rules to change the behaviour without success :
|
Pragmatically I don't provide one to one support for custom code without being financially compensated. Sometimes I choose to answer questions on the Moodle forums. In this case, I have recognised that there is an issue with the theme in terms of the setting that pertains to this area. This I have already addressed in the development (supporters only) repository. It is my intention to make the changes in the public release soon. |
Hi, after a while I understood that custom css was not working as expected because from a specific line it was broken. It was caused by a not well written custom css (could be a comment or an empty space before the rule). Now I removed the problem and all is working as expected. The issue can be closed. |
I normally announce releases on https://x.com/gjbarnard, https://moodle.org/mod/forum/view.php?id=46 and the core code should alert you to updates on https://moodle.org/plugins/theme_adaptable. |
Describe the bug
I modified the css in order to change the text colour of items when hovering the navbar menu (from white to black).
To Reproduce
Steps to reproduce the behavior:
In the navbar styles I have the following settings
theme_adaptable | menubkcolor = #1b1c1f
theme_adaptable | menufontcolor = #ffffff
theme_adaptable | menuhovercolor = #FFED0D
Expected behavior
Hovering the navbar menu the font colour of items should appear black as indicated in the custom css. See picture below.
When I modify the css diretly with Chrome inspecting function it works (unselecting the color property)
I tried also with this rules (not working as well)
Screenshots
If applicable, add screenshots to help explain your problem.
Versions (please complete the following information):
Moodle: 4.1
Theme Adaptable: 401.1.10 - 2022112311
Browser version: Google Chrome version 124.0.6367.207 (Build ufficiale) (64 bit) on Windows 10
Just two additional informations:
The text was updated successfully, but these errors were encountered: