Link color issue #248
Hi, i checked the issue #248 https://github.com/ReduxFramework/ReduxFramework/issues/248 and works fine.
But i cannot set any default color to the fields.
e.g: array( 'id' => 'links_color', 'type' => 'link_color', 'title' => __('Links Color', 'redux-framework-demo'), 'default' => array( 'show_regular' => '#F15F74', 'show_hover' => '#999999', 'show_active' => false ) )
Always default color is white.
There is some way to do this?
Thanks!
To set the default color is just regular, hover, active. See here:
<?php
array(
'id'=>'link-color',
'type' => 'link_color',
'title' => __('Links Color Option', 'redux-framework-demo'),
'subtitle' => __('Only color validation can be done on this field type', 'redux-framework-demo'),
'desc' => __('This is the description field, again good for additional info.', 'redux-framework-demo'),
//'regular' => false, // Disable Regular Color
//'hover' => false, // Disable Hover Color
//'active' => false, // Disable Active Color
'default' => array(
//'regular' => '#aaa',
//'hover' => '#bbb',
//'active' => '#ccc',
)
),
Hope that helps!
Hi @dovy thie issue sitll exist. I am using 'active' => false but it is still visible.
What version of Redux are you using? I just tried uncommenting active as in the example above and it works without a problem...
Hi @dovy
version 3.1.2
Usage

The false declarations usually occur outside of the default array, but I've just made it so this will work too. Do a pull from the repo.