From: Anthony Talarico Date: Mon, 29 Aug 2016 20:12:24 +0000 (-0400) Subject: adding css styles to remove any margin from the default content in the community... X-Git-Tag: v1.0.0^2~61 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=4c176c77feee74a0421665a544684de6384d533a;p=WP-Themes%2Fpetoskeyarea.git adding css styles to remove any margin from the default content in the community map dropdown section. --- diff --git a/parts/community-map.php b/parts/community-map.php index 20e2ab3..4eb9f5f 100644 --- a/parts/community-map.php +++ b/parts/community-map.php @@ -84,7 +84,8 @@ foreach ($nav_posts as $p){ // set the default data next to the dropdown community map function set_default_data(){ - regionData.find(image_container).css("display", "inline-block"); + regionData.find(page_title_container).css("margin-top", "0px").css("margin-bottom", "0px"); + regionData.find(image_container).css("display", "inline-block"); regionData.find(page_title).html('post_title; ?>'); regionData.find(image_container).css("height","175px").css("width", "300px").css("background", "url(' ')no-repeat center center").css("background-position", "cover"); regionData.find(page_content).html(default_content);