From 1d24370b6136c43d55bafd44b5dbf59349deda44 Mon Sep 17 00:00:00 2001 From: MickeyKay Date: Thu, 16 Oct 2014 12:19:52 -0700 Subject: [PATCH] Remove extraneous files and extra widget test code. --- images/doc.png | Bin 618 -> 0 bytes images/email.png | Bin 357 -> 0 bytes images/external.png | Bin 205 -> 0 bytes images/favicon.ico | Bin 3262 -> 0 bytes images/pdf.png | Bin 463 -> 0 bytes includes/functions/theme-functions.php | 15 +-------------- includes/js/theme-jquery.js | 2 +- style.css | 12 +++++++----- 8 files changed, 9 insertions(+), 20 deletions(-) delete mode 100644 images/doc.png delete mode 100644 images/email.png delete mode 100644 images/external.png delete mode 100644 images/favicon.ico delete mode 100644 images/pdf.png diff --git a/images/doc.png b/images/doc.png deleted file mode 100644 index e49b2026a6254890f1d10e0d865830eab0622c27..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 618 zcmV-w0+s!VP)UkDP-~xp16Q!v{$_npz{??bL`8J{MLwH`>qJPelab{F%ed%mz$Me&p_hx!q1%vElOA zG0I_s?ma2SFP$KY6OQ)hxN&ua*w_xF#9A>xBZ}FZNmE*DptYi}#|Plv(=R-lD&VJG z9^M{nLn5-gTIc@buNW(2Gbyqe7teF(&H3cJJ+x9N4JU^Vv>;=xG@FJWOY795n94?z zrBaokR3j+WsQig2hY|bp9?$MvZ0)3#V($AY&tLtbXP-wlmTGdPgL?{ZuJaTJ@e z**Sz2VdzMXY$nBWrAAP!Ghe9iyIi9jHVCU*gll!qo*rOiusvR4tZ1!J{4a}8+l&b} zHd!iG0bz9b&<-Rb*mf8TRxBbQ2wE%BT`tyGe5duHzheM577150ihzhIyW8IX$L{Irtt z#G+IN$CUh}R0X%pqSW&IqU>S?=U@}IO_vt{)$Q|iaSV}|+B@MOmrH<1+y9BSOG|cl zrqqj-?c#o3VtQ&&YGO)d;mK4RprU+F7srr_TS*BG4gU+66dD9L6dDqox*d5M7@D{ZoF%n- zW@+zhiezA93H~mx#Sj$Vf7PaeA<5wy)8(TbOC|}RZa(GVaa z1pXrdB9xP?1j+dSBx@!@!>IZA18FpTM#Bex2%yO(B_$Oh0p#?9BwPekhNh87?)B@} rkeoj9j`y89wejKhKDk}*Bi6_KI(pzkw8s?R-iO!M-Ud3~fTPoh zgHu`L@2;Y+|JUB`aXcu%zVWu@pIt>$8yg><{w~kqn$!LK@Aq%1B0|5uzLUMu>2ydy zl%xH>*7~$9#SPWGH?ML`PP%L)QNX~O>B;bfH!+R*zQA-~*fMy!`njxgN@xNABz?A_ diff --git a/includes/functions/theme-functions.php b/includes/functions/theme-functions.php index 5804883..a433c9a 100644 --- a/includes/functions/theme-functions.php +++ b/includes/functions/theme-functions.php @@ -62,20 +62,7 @@ add_action( 'widgets_init', 'trestle_register_widget_areas' ); * @since 1.0.0 */ function trestle_register_widget_areas() { -//* Register after post widget area -genesis_register_sidebar( array( - 'id' => 'after-post', - 'name' => __( 'After Post', 'themename' ), - 'description' => __( 'This is a widget area that can be placed after the post', 'themename' ), -) ); -add_action( 'genesis_header', 'sp_after_post_widget', 12 ); - function sp_after_post_widget() { - if ( is_singular( 'post' ) ) - genesis_widget_area( 'after-post', array( - 'before' => '
', - 'after' => '
', - ) ); -} + } /*=========================================== diff --git a/includes/js/theme-jquery.js b/includes/js/theme-jquery.js index edb99e4..b10c695 100644 --- a/includes/js/theme-jquery.js +++ b/includes/js/theme-jquery.js @@ -32,7 +32,7 @@ jQuery(document).ready(function() { jQuery('ul, ol').parent('li').addClass('parent'); // Mobile header toggle buttons - jQuery('.site-header .wrap').prepend('
'); + jQuery('.site-header .title-area').after('
'); jQuery('.site-header .widget-area, .nav-primary').each(function(i) { var target = jQuery(this); diff --git a/style.css b/style.css index 40be55e..e68ebc8 100644 --- a/style.css +++ b/style.css @@ -1302,6 +1302,8 @@ Site Header --------------------------------------------- */ .title-area { + float: left; + width: auto; font-weight: 700; } @@ -1375,8 +1377,12 @@ Site Header --------------------------------------------- */ .site-header .toggle-buttons { - float: right; font-size: 0; + text-align: right; +} + +.site-header .toggle-button.open { + color: #f15123; } .site-header .toggle-button:before { @@ -2091,10 +2097,6 @@ Media Queries background-position: left top; } - .title-area { - float: left; - } - .logo-mobile { display: none; }