diff --git a/functions.php b/functions.php index 3db000c..3c08edf 100644 --- a/functions.php +++ b/functions.php @@ -438,6 +438,8 @@ function zillah_php_style() { $zillah_c5 = $zillah_picker->color5; } + $header_text_color = get_header_textcolor(); + if( isset( $zillah_c5 ) ) { $rgb = zillah_get_rgb( $zillah_c5 ); } @@ -473,10 +475,11 @@ function zillah_php_style() { color: '.$zillah_c2.'; } a, .entry-content a:visited, .comment-content a:visited, - .site-title a, .site-title a:visited, .cat-links, .entry-header .cat-links, .cat-links a, p.dropcap:first-letter, - .site-footer .fa { + .site-footer .fa, + .author-details-title, + .entry-content #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a { color:'.$zillah_c2.'; } button, input[type="button"], input[type="reset"], input[type="submit"], .btn { @@ -545,11 +548,6 @@ function zillah_php_style() { '; /* Color 4 */ - echo ' - body { - background: '.$zillah_c4.'; - } - '; /* Color 5 */ echo ' @@ -577,6 +575,12 @@ function zillah_php_style() { } '; + echo ' + .site-title a { + color: #'. esc_attr( $header_text_color ) .' + } + '; + } echo ''; } diff --git a/inc/custom-header.php b/inc/custom-header.php index df61686..389ea5b 100644 --- a/inc/custom-header.php +++ b/inc/custom-header.php @@ -31,5 +31,3 @@ function zillah_custom_header_setup() { } add_action( 'after_setup_theme', 'zillah_custom_header_setup' ); - - diff --git a/style.css b/style.css index 978afdc..9e0742b 100644 --- a/style.css +++ b/style.css @@ -1297,6 +1297,10 @@ p.dropcap:first-letter { margin-bottom: 50px; } +.post-thumbnail-wrap img { + width: 100%; +} + .entry-title-blog { margin-bottom: 0; }