diff options
Diffstat (limited to 'plugins/jetpack/modules/infinite-scroll/themes')
-rw-r--r-- | plugins/jetpack/modules/infinite-scroll/themes/twentyeleven.css | 4 | ||||
-rw-r--r-- | plugins/jetpack/modules/infinite-scroll/themes/twentyfourteen.php | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/plugins/jetpack/modules/infinite-scroll/themes/twentyeleven.css b/plugins/jetpack/modules/infinite-scroll/themes/twentyeleven.css index cc232785..9f2612e5 100644 --- a/plugins/jetpack/modules/infinite-scroll/themes/twentyeleven.css +++ b/plugins/jetpack/modules/infinite-scroll/themes/twentyeleven.css @@ -16,7 +16,7 @@ padding-top: 0; } .infinite-scroll .infinite-wrap .hentry:last-child { - border-bottom: 1px solid #ddd; + border-bottom: 1px solid #dcdcde; } .infinite-scroll .infinite-wrap:last-of-type .hentry:last-child { border-bottom: none; @@ -42,4 +42,4 @@ .infinite-scroll #infinite-handle { padding-bottom: 40px; } -}
\ No newline at end of file +} diff --git a/plugins/jetpack/modules/infinite-scroll/themes/twentyfourteen.php b/plugins/jetpack/modules/infinite-scroll/themes/twentyfourteen.php index 54a1fbc8..c9710abd 100644 --- a/plugins/jetpack/modules/infinite-scroll/themes/twentyfourteen.php +++ b/plugins/jetpack/modules/infinite-scroll/themes/twentyfourteen.php @@ -5,6 +5,8 @@ * Register support for Twenty Fourteen. */ +use Automattic\Jetpack\Device_Detection\User_Agent_Info; + /** * Add theme support for infinite scroll */ @@ -27,7 +29,7 @@ add_action( 'after_setup_theme', 'jetpack_twentyfourteen_infinite_scroll_init' ) */ function jetpack_twentyfourteen_has_footer_widgets() { if ( function_exists( 'jetpack_is_mobile' ) ) { - if ( ( Jetpack_User_Agent_Info::is_ipad() && is_active_sidebar( 'sidebar-1' ) ) + if ( ( User_Agent_Info::is_ipad() && is_active_sidebar( 'sidebar-1' ) ) || ( jetpack_is_mobile( '', true ) && ( is_active_sidebar( 'sidebar-1' ) || is_active_sidebar( 'sidebar-2' ) ) ) || is_active_sidebar( 'sidebar-3' ) ) |