From: Laury GvR Date: Fri, 9 Sep 2016 19:24:39 +0000 (-0400) Subject: Added img size for landing. Member images v.center X-Git-Tag: v1.0.0^2~18 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=20b45ee05254777f26738b27628ca21b36f40244;p=WP-Themes%2Fpetoskeyarea.git Added img size for landing. Member images v.center Image size just for landing pages has been added as 250x125, where before it was using the 200x100 glm_block image size. Member images got a vertical centre with jquery to properly crop from both bottom and top. Reduced sidebar size on pages containing member lists so that the member section can be wider. Changed styles of the UL>LI forming the sublinks for the member list grid view, so they would wrap and not be covered. --- diff --git a/functions.php b/functions.php index ed3022b..6b37282 100644 --- a/functions.php +++ b/functions.php @@ -239,6 +239,7 @@ function mytheme_init() { add_action('init', 'mytheme_init', 10); add_image_size('glm_block', 200,100,true); +add_image_size('subcat_image', 250,125,true); add_image_size('glm_block_frontpage', 300,408, true); function wpse_setup_theme() { diff --git a/index.php b/index.php index 8d6ab92..e6732af 100644 --- a/index.php +++ b/index.php @@ -5,18 +5,18 @@
-
+

-