Skip to content
This repository was archived by the owner on Dec 2, 2022. It is now read-only.

Commit a64e04c

Browse files
committed
#208 - Update demo class names for 2021 theme.
Signed-off-by: Kevin Provance <kevin.provance@gmail.com>
1 parent f59f16b commit a64e04c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

sample/sections/color-selection/color-gradient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
'title' => esc_html__( 'Header Gradient Color Option', 'your-textdomain-here' ),
2323
'subtitle' => esc_html__( 'Only color validation can be done on this field type', 'your-textdomain-here' ),
2424
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
25-
'output' => '.site-header',
25+
'output' => '.site-header', // applies only when Redux Pro is installed and active.
2626
'preview' => true,
2727
'default' => array(
2828
'from' => '#1e73be',

sample/sections/color-selection/color.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
'id' => 'opt-color-title',
2121
'type' => 'color',
2222
'output' => array(
23-
'background-color' => '.site-background',
24-
'color' => '.site-title',
23+
'color' => '.site-title',
2524
),
2625
'title' => esc_html__( 'Site Title Color', 'your-textdomain-here' ),
2726
'subtitle' => esc_html__( 'Pick a title color for the theme (default: #000).', 'your-textdomain-here' ),
@@ -35,7 +34,9 @@
3534
'subtitle' => esc_html__( 'Pick a background color for the footer (default: #dd9933).', 'your-textdomain-here' ),
3635
'default' => '#dd9933',
3736
'validate' => 'color',
38-
'output' => array( '.footer footer #site-footer' ),
37+
'output' => array(
38+
'background-color' => '.footer, #site-footer, .site-footer',
39+
),
3940
),
4041
),
4142
)

0 commit comments

Comments
 (0)