-
Notifications
You must be signed in to change notification settings - Fork 36
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
code that duplicate the "footer#colophon" css on parent themes #100
Comments
Thanks for posting this issue. The default color is set in jamedo-bootstrap-start-theme/wpless2css/wpless2css.less by:
This variable will be use in jamedo-bootstrap-start-theme/wpless2css/sitefooter.less After a clean JBST parent install you will find: from jamedo-bootstrap-start-theme/library/assets/css/wpless2css.css:
Which seems to be correct. To change this color now (without using a child theme) you will have two options:
Press "recompile LESS code" after your changes. Note this change overwrite the setting of the customizer described in step 2 below
Now you should consider the working of the Customizer first.
I found a bug for the last: Notice: Use of undefined constant color - assumed 'color' in /home/bass/wordpress/wp-content/themes/jamedo-bootstrap-start-theme/functions/custom-style-css.php on line 48 Maybe is this the issue you mentioned. I will fix this in the next update. In the case of a child theme (recommended!) you got three options to change @footer-text-color. with the first step described as above:
Notice: When setting default values, or defining LESS variables you ALWAYS have to recompile your CSS (Appearance > LESS compiler) after changes! Removing setting will not always remove them from the database to. In some cases remove them first with Please let me know if the above fix your issues otherwise could you make more clear where the duplicate CSS take effect. |
Customizer don't change the the footer colors. Values will be saved but not compiled. |
Footer colors (background, text and link) should work now. |
Question from @mjteves1986:
I found on custom-style-css.php line 56 has a code that duplicate the "footer#colophon" css on parent themes.
The text was updated successfully, but these errors were encountered: