From 3a12f16d13e998023f48eb099052915968e60e0b Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Tue, 15 Mar 2016 14:25:05 -0400 Subject: [PATCH] Style update for the blocks on the home page need to only hide the read more link for the home page blocks not all images. --- css/app.css | 2 +- parts/glm-blocks.php | 8 ++++---- scss/_main.scss | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/css/app.css b/css/app.css index 777db06..f1d7221 100644 --- a/css/app.css +++ b/css/app.css @@ -6843,7 +6843,7 @@ header { display: none; } #block-wrap .blocks .blocks p { display: none; } - #block-wrap .blocks .blocks a { + #block-wrap .blocks .blocks a.blocks-readmore { display: none; } #block-wrap .blocks .blocks .block-text { position: absolute; diff --git a/parts/glm-blocks.php b/parts/glm-blocks.php index e7968db..76822e9 100644 --- a/parts/glm-blocks.php +++ b/parts/glm-blocks.php @@ -17,12 +17,12 @@ url):?> - externalUrl){echo ' target="_blank"';}?>> - + externalUrl){echo ' target="_blank"';}?>> +

post_title;?>

- url):?> -
+ url):?> +

post_content . $block->post_excerpt;?>

Read More... diff --git a/scss/_main.scss b/scss/_main.scss index 47b0a2e..5cf4f6d 100644 --- a/scss/_main.scss +++ b/scss/_main.scss @@ -61,7 +61,7 @@ p { display: none; } - a { + a.blocks-readmore { display: none; } .block-text { @@ -337,4 +337,4 @@ .guide{ padding: 10px; text-align: center; -} \ No newline at end of file +} -- 2.17.1