Skip to content

Link Color #1400

@maheshwaghmare

Description

@maheshwaghmare

I try this to generate link colors for two array link1 & link2,
I use Below Code...

array(
'id' => 'opt-link-color1',
'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'),
'compiler' => array('.link1', '.link2'),
'visited' => true,
'default' => array(
'regular' => '#1e73be', // blue
'hover' => '#dd3333', // red
'active' => '#8224e3', // purple
'visited' => '#8224e3' // purple
)
),

It outputs
.link1,.link2{color:#ffffff;}
.link1:hover,.link2{color:#ffffff;}
.link1:active,.link2{color:#ffffff;}
.link1:visited,.link2{color:#ffffff;}

hover, active, visited color of another class is missing, I will try it using OUTPUT but it till cant works... Any help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions