I’ll get it fixed in a couple days. Thanks for reporting the issue.
You must be using a very old version of OT, that code was changed in 2012 according to my research. Can you tell me what version you are using?
Hi,
i’m using Version 2.5.3 .
Thanks
I cannot reproduce the issue. When I set a value for the typography option type and insert it into dynamic.css the color changes and the CSS is correct. How is your code being generated to replace the body color?
Hi,
Thanks for taking care. Here you can see.
http://screencast.com/t/DnE7WCqd
http://screencast.com/t/HXzKA2F6bm
http://screencast.com/t/bsmLyDqqE
I’m using its’s key as Css property for styles. But it’s key should be color not font-color.
Thanks again
How is the CSS being added to your theme?
This is an easy fix on your end.
if ( ! empty( $value ) ) {
if ( 'font-color' == $key ) {
echo 'color: ' . $value . ';';
} else {
echo $key . ': ' . $value . ';';
}
}
Hi,
I already fixed it in your way but this is still a bug 🙂
Appreciate your help
Thanks
No this is not going to be changed. It would break everyone’s website. How would that go over? This is the way it’s always been and is not worth changing it now when it’s just an array key and doesn’t need to match the CSS to work. Backwards compatibility is more important than convienence.