From 1b54a3399d7999367b9b48b24d5274f43e9bec9a Mon Sep 17 00:00:00 2001 From: Melissa Wen Date: Tue, 8 Sep 2015 19:20:09 -0300 Subject: [PATCH] Hide wiki block in all pages except profile page (community homepage) --- css/community-pages.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+), 0 deletions(-) diff --git a/css/community-pages.css b/css/community-pages.css index 3cc12b2..5708c64 100644 --- a/css/community-pages.css +++ b/css/community-pages.css @@ -497,6 +497,22 @@ float: left; text-align: center; } +/* Wiki block - Need to develop solution - Only display on profile page */ +.template-default #content .box-3 .wiki-block, +.template-lefttopright #content .box-2 .wiki-block, +.template-leftbar #content .box-3 .wiki-block{ + display: none; +} + +.template-default .action-profile-index #content .box-3 .wiki-block, +.template-lefttopright .action-profile-index #content .box-2 .wiki-block, +.template-leftbar .action-profile-index #content .box-3 .wiki-block, +.template-default .action-profile_design-index #content .box-3 .wiki-block, +.template-lefttopright .action-profile_design-index #content .box-2 .wiki-block, +.template-leftbar .action-profile_design-index #content .box-3 .wiki-block{ + display: block; +} + /*Block with Members information - Need to develop solution - Only display on profile page */ .profile-type-is-community #content .members-block{ -- libgit2 0.21.2