From 665e55f8b09a17c526e3c09a014373677849e609 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Thu, 21 Jun 2018 12:24:24 -0400 Subject: [PATCH] fixing mobile parallax layout styles --- css/responsive.css | 11 +++++++++-- functions.php | 4 ++-- style.css | 2 +- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/css/responsive.css b/css/responsive.css index eb15d66..2eceba5 100644 --- a/css/responsive.css +++ b/css/responsive.css @@ -254,8 +254,15 @@ Responsive CSS float: none; /* float: left; */ } - .service-list.odd .service-detail{ - float: right; + .service-list.odd .service-detail{ + float: none; + margin: 0 auto; + text-align: center; + } + .service-list.even .service-detail{ + float: none; + margin: 0 auto; + text-align: center; } .service-listing .service-list{ text-align: left; diff --git a/functions.php b/functions.php index 917e5dc..5f30b1d 100644 --- a/functions.php +++ b/functions.php @@ -198,8 +198,8 @@ function accesspress_parallax_scripts() { wp_enqueue_script( 'accesspress-parallax-custom', get_template_directory_uri() . '/js/custom.js', array('jquery'), '1.0', true ); wp_localize_script( 'accesspress-parallax-custom', 'ap_params', $slider_parameters ); - wp_enqueue_script( 'glm-dev', get_template_directory_uri() . '/assets/js/glm-dev.js', array(), '1.0.2', true ); - wp_enqueue_style( 'glm-style', get_template_directory_uri() . '/assets/css/glm-dev.css', false, "1.0.2" ); + wp_enqueue_script( 'glm-dev', get_template_directory_uri() . '/assets/js/glm-dev.js', array(), '1.0.4', true ); + wp_enqueue_style( 'glm-style', get_template_directory_uri() . '/assets/css/glm-dev.css', false, "1.0.4" ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); diff --git a/style.css b/style.css index 0ae0f16..5da4f83 100644 --- a/style.css +++ b/style.css @@ -3,7 +3,7 @@ Theme Name: Hotel Earl Theme URI: https://accesspressthemes.com/wordpress-themes/accesspress-parallax/ Author: AccessPress Themes Author URI: https://accesspressthemes.com/ -Version: 1.0.2 +Version: 1.0.4 License: GNU General Public License v3 or later License URI: http://www.gnu.org/licenses/gpl-3.0.html Text Domain: accesspress-parallax -- 2.17.1