Tagged: color-scheme
-
AuthorPosts
-
April 12, 2017 at 5:49 pm #776828
Hi
I have to recolor my client’s website. The main color is #ec55d8. When I enter this color code into the Enfold styling settings, it automatically changes it to #ec55468. I’m able to use that color for other areas of the website such as headings, icons, buttons. Why is this color code not be accepted?
My website is her: http://crescendo.staging.wpengine.com/ (hosted on WPengine)
Thanks
LyseApril 12, 2017 at 5:49 pm #776830Hi
One more thing. I can see the difference in the colors on the website.
Thanks
LyseApril 13, 2017 at 9:31 pm #777544Hi Lyse,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look.
Best regards,
VictoriaApril 13, 2017 at 9:36 pm #777546Hi Victoria,
Credential provided in private area
April 14, 2017 at 2:38 pm #777839Hi Lyse, Hi Victoria,
Is there a solution for this? I have the same problem: when I enter “#0052a2” as “Alternate Content background color” it is automatically changed to “#0051a2”. Minor difference, but nevertheless annoying…
Cheers,
ČeslavApril 14, 2017 at 7:32 pm #778012Hi Lyse,
The code gets saved correctly, you have the rules in http://crescendo.staging.wpengine.com/wp-content/themes/enfold-child/style.css (hosted on WPengine) that overrider some of the styles you try to set in theme options.
You might want to disable child theme styles or comment out those rules and see what happens :)If you need further assistance please let us know.
Best regards,
VictoriaApril 14, 2017 at 7:33 pm #778014Hi bluechip1,
You might want to investigate you child theme styles or Quick Css that might overrule the setting you are trying to save. Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look.
Best regards,
VictoriaApril 14, 2017 at 8:28 pm #778053Hi Victoria,
I don’t have any CSS rules overriding this new color.
I have added the login credentials in the private area.
Thanks
LyseApril 17, 2017 at 7:16 pm #778874Hi Lyse,
Check now, is this what you wanted?
Best regards,
VictoriaApril 17, 2017 at 10:42 pm #778983Hi Victoria,
I can’t see the change to the correctly color. I cleared cache and also tried inputting the correct color code in the Enfold settings, but no luck.
Thanks
LyseApril 18, 2017 at 3:11 pm #779344Hi Victoria,
I’m sorry for hijacking this thread, it seems that I had a different problem than Lyse. My problem was that whenever I inserted the following hex value for color “#0052a2” into any field with a colorpicker, the value has been automatically (via some JavaScript) converted to “#0051a2”. You can try it on your own Enfold installation, I believe this problem is caused by colorpicker JavaScript library that Enfold uses. It has not been maintained since 2009: http://www.eyecon.ro/colorpicker/
I work-arounded the problem by editing avia_colorpicker.js, but I’d like to suggest that your developers update this library to some more up to date version. Here’s a clone of the legacy library by Stefan Petre that I found on GitHub: https://github.com/itsjavi/bootstrap-colorpicker
Greetings,
Česlav- This reply was modified 7 years, 7 months ago by bluechip1. Reason: grammar
April 18, 2017 at 3:42 pm #779391Hi Česlav
My problem is the same as yours. It is the color picker that does not accept #ec5548 it consistently rejects it and replaces it with #ec5648.
I agree that the JS colorpicker should be updated.
Thanks
LyseApril 18, 2017 at 3:56 pm #779407Hi Lyse,
Now I see. In your first post you mentioned “#ec55d8”, but this color works fine. With “#ec5548” I can reproduce the issue (same as mine).
If you’re feeling adventurous, you can apply the fix that worked for me. You only have to replace one line of JS code in enfold/framework/js/avia_colorpicker.js. On line 127 replace
picker.find('.colorpicker_hex input').val(hexCol).trigger('change');
withavia_cp.AviaColorPickerSetColor(hexCol.substr(1));
With this fix, the color picker pop up window still displays the wrong value, but the main input field keeps any value that is inserted directly into it, so just paste the color value directly into input field like you did before.
Of course, as soon as you update Enfold theme, this change will be gone, so keep a backup of patched avia_colorpicker.js file.
Greetings,
ČeslavApril 18, 2017 at 5:35 pm #779496Hi bluechip1,
GLad you got it working for you.
If you need further assistance please let us know.
Best regards,
VictoriaApril 18, 2017 at 5:36 pm #779497Hi tremblayly,
Can you specify which elements do not change and you need to change them, and what changes should those be?
Best regards,
VictoriaApril 18, 2017 at 5:42 pm #779500Hi Victoria,
I would rather no have to meddle into the JS file so that I get the color picker to work.
The elements are the ones within the Enfold general styling where I pick the color #ec5548 and than gets changed to #ec5648.
What would be a more secure way to get the correct color applied?
Thanks
LyseApril 18, 2017 at 7:46 pm #779598Hi,
Please, may you provide us your WP credentials? This way we can check why it`s happening.
Best regards,
John TorvikMay 17, 2017 at 12:08 pm #794806Hi John,
Sorry it took me so long to get back to you. I created a clean test install for you (WordPress 4.7.5 + Enfold 4.0.7). Link and credentials are provided in private content section.
Steps to reproduce the bug:
1) Go to Theme Options (Enfold) > General Styling
2) Insert hex color value “#0052a2” into any field with color picker.
3) Watch as it dynamically changes to “#0051a2” (ie. green component value is changed from 52 to 51).All the best,
ČeslavMay 17, 2017 at 4:09 pm #794940Hi
I’m still waiting on a fix for this one. Have not heard back from the support team since April 18th.
Lyse
May 18, 2017 at 1:25 pm #795858 -
AuthorPosts
- You must be logged in to reply to this topic.