Skip to content

Commit

Permalink
Add option for setting custom header width #8
Browse files Browse the repository at this point in the history
  • Loading branch information
1naveengiri committed Dec 24, 2019
1 parent a33b135 commit 0daba5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
if (!defined('DT_HEADER_TOP_BG_COLOR')) define('DT_HEADER_TOP_BG_COLOR', '#202020');
//header
if (!defined('DT_HEADER_HEIGHT')) define('DT_HEADER_HEIGHT', '85px');
if (!defined('DT_HEADER_WIDTH')) define('DT_HEADER_WIDTH', '1600px');
if (!defined('DT_HEADER_FIXED_TOP')) define('DT_HEADER_FIXED_TOP', '32px');
if (!defined('DT_HEADER_BG_COLOR')) define('DT_HEADER_BG_COLOR', "#2F2F2F");
if (!defined('DT_HEADER_TEXT_COLOR')) define('DT_HEADER_TEXT_COLOR', "#FFFFFF");
Expand Down
2 changes: 1 addition & 1 deletion lib/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function directory_theme_setup(){
$args = array(
'default-text-color' => 'FFFFFF',
'height' => DT_HEADER_HEIGHT,
'width' => 1600
'width' => DT_HEADER_WIDTH
);

add_theme_support( 'custom-header', $args );
Expand Down

0 comments on commit 0daba5b

Please sign in to comment.