diff --git a/functions/customizer.php b/functions/customizer.php index bc0b1ad..341b88f 100644 --- a/functions/customizer.php +++ b/functions/customizer.php @@ -328,7 +328,7 @@ $wp_customize->add_panel( 'atticusfinch', array( $wp_customize->add_control( 'atticus_finch_after_footer', array( 'section' => 'atticus_finch_widget_areas', 'type' => 'checkbox', - 'label' => __( 'Before Footer', 'atticus-finch' ), + 'label' => __( 'After Footer', 'atticus-finch' ), ) ); @@ -574,19 +574,6 @@ $default_copyright = ' + ( function( $ ){ + wp.customize('setting_name',function( value ) { + value.bind(function(to) { + $('.posttitle').css('color', to ? to : '' ); + }); + }); + } )( jQuery ) + + 'Select Menu', + 'dropdown' => 'Flat Menu', + 'multitoggle' => 'Dropdown Menu', + ); + if ( array_key_exists( $input, $valid ) ) { + return $input; + } else { + return ''; + } +} + function atticus_finch_sanitize_css( $input ) { - wp_filter_nohtml_kses( $input ); +// wp_filter_nohtml_kses( $input ); + strip_tags( $input ); + return $input; } \ No newline at end of file diff --git a/functions/mobile-menus.php b/functions/mobile-menus.php index a843578..0108d1b 100644 --- a/functions/mobile-menus.php +++ b/functions/mobile-menus.php @@ -5,19 +5,19 @@ function atticus_finch_mobile_menus(){ diff --git a/style.css b/style.css index a23044b..258cd15 100644 --- a/style.css +++ b/style.css @@ -521,29 +521,29 @@ footer a:hover { width: 30%; } -ul#footermenu { +ul#footermenu-ul { list-style-type: none; padding: 0; } -ul#footermenu li { +ul#footermenu-ul li { display: block; float: left; padding: 2px 8px; font-size: 16px; } -ul#footermenu li ul { +ul#footermenu-ul li ul { padding-left: 8px; } -ul#footermenu li ul li { +ul#footermenu-ul li ul li { float: none; font-size: 14px; max-width: 120px; } -ul#footermenu a { +ul#footermenu-ul a { padding: 2px; border: none; color: #444; @@ -551,7 +551,7 @@ ul#footermenu a { display: inline-block; transition: background 2s, color 2s; } -ul#footermenu a:hover { +ul#footermenu-ul a:hover { background: #444; color: #fff; }