diff --git a/CHANGELOG.md b/CHANGELOG.md index 072c4f3..ec3a2d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ CHANGELOG ==================================================================== +## 1.0.7 +* Fixed multiple H1 tag +* Add custom logo + ## 1.0.6 * Fixed escape translate string issue in theme dashboard. * Fixed escape translate string in single post. diff --git a/assets/sass/_elements.scss b/assets/sass/_elements.scss index 068dd8e..92db388 100644 --- a/assets/sass/_elements.scss +++ b/assets/sass/_elements.scss @@ -23,6 +23,8 @@ .site-branding .site-title a { font-family: $font_heading; + color: #000; + text-decoration: none; } .site-description { diff --git a/assets/sass/_posts.scss b/assets/sass/_posts.scss index 978979b..7737c97 100644 --- a/assets/sass/_posts.scss +++ b/assets/sass/_posts.scss @@ -38,6 +38,7 @@ .entry-title { margin-top: 0px; margin-bottom: 20px; + line-height: 1.2; @include rem('font-size', 44px); } } diff --git a/assets/sass/style.scss b/assets/sass/style.scss index 4381213..97e6fd0 100644 --- a/assets/sass/style.scss +++ b/assets/sass/style.scss @@ -4,7 +4,7 @@ Theme URI: http://www.famethemes.com/themes/patus Author: FameThemes Author URI: http://www.famethemes.com Description: Patus is a Personal Blogging Theme for WordPress and an effortlessly tool for publishers of all kind, cherished for its flexibility, clean layouts and speed. It’s totally responsive so it adapts to your style as well as the device it’s viewed on. -Version: 1.0.6 +Version: 1.0.7 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: patus diff --git a/functions.php b/functions.php index 9fa4dbe..5a8583d 100755 --- a/functions.php +++ b/functions.php @@ -62,6 +62,18 @@ function patus_setup() { 'default-color' => 'ffffff', 'default-image' => '', ) ) ); + + /** + * Add support for core custom logo. + * + * @link https://codex.wordpress.org/Theme_Logo + */ + add_theme_support( 'custom-logo', array( + 'height' => 65, + 'width' => 180, + 'flex-width' => true, + 'flex-height' => true, + ) ); } endif; // patus_setup add_action( 'after_setup_theme', 'patus_setup' ); @@ -78,8 +90,8 @@ function patus_widgets_init() { 'description' => '', 'before_widget' => '', - 'before_title' => '

', - 'after_title' => '

', + 'before_title' => '

', + 'after_title' => '

', ) ); } add_action( 'widgets_init', 'patus_widgets_init' ); diff --git a/header.php b/header.php index 532ae68..b0c9751 100755 --- a/header.php +++ b/header.php @@ -24,13 +24,19 @@