From 1cc1981b27eefe3a589f628127ec925ec8c00bbb Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Fri, 7 Sep 2018 09:13:17 -0400 Subject: [PATCH] fixing testomonial single page top margin --- functions.php | 4 ++-- style.css | 12 +++++++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/functions.php b/functions.php index ca7da22..cc35150 100644 --- a/functions.php +++ b/functions.php @@ -197,8 +197,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.1', true ); - wp_enqueue_style( 'glm-style', get_template_directory_uri() . '/assets/css/glm-dev.css', false, "1.0.1" ); + 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" ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); diff --git a/style.css b/style.css index 64eade6..20437a9 100644 --- a/style.css +++ b/style.css @@ -3,7 +3,7 @@ Theme Name: northland Storage Theme URI: https://accesspressthemes.com/wordpress-themes/accesspress-parallax/ Author: AccessPress Themes Author URI: https://accesspressthemes.com/ -Version: 1.0.1 +Version: 1.0.2 License: GNU General Public License v3 or later License URI: http://www.gnu.org/licenses/gpl-3.0.html Text Domain: accesspress-parallax @@ -2911,14 +2911,20 @@ p, a, li, div{ font-size: 20px; } @media (min-width: 1000px){ - .archive #content > .mid-content, .single #content > .mid-content{ + .archive #content > .mid-content, .single:not(.single-testimonial) #content > .mid-content{ margin-top: 50px; } + .single-testimonial #content > .mid-content{ + margin-top: 150px; + } } @media (max-width: 1000px) and (min-width: 768px){ - .archive #content > .mid-content, .single #content > .mid-content{ + .archive #content > .mid-content, .single:not(.single-testimonial) #content > .mid-content{ margin-top: 50px; } + .single-testimonial #content > .mid-content{ + margin-top: 100px; + } } .post-type-archive-testimonial #primary.content-area{ width: 100%; -- 2.17.1