Jessica Paxton
asked 7 years ago

How do I add a full width banner image and remove the logo and header ad section using DW Focus? Thanks!

Hà Anh
replied 7 years ago

How to add a full-width banner image and remove the logo and header ad section, follow these steps:
1. Download the DW Focus Child theme here: https://www.dropbox.com/s/te6fiygbgzr2wfp/focus-childtheme.zip?dl=0
2. Copy/paste this folder to your theme folder and log into Dashboard > Themes > activate the DW Focus Child theme.
3. After activating, go to the Appearance > Widgets > add the Text widget to the Header section then add the following code to the Text widget to insert your banner:

If you have any issue or question, please send me some screenshot and your site URL, I will check and help you solve it.

2 Answers
Jessica Paxton
answered 7 years ago

Thanks. If I choose not to have a full width banner how do I change the size of the logo box? The name of my website is long. Thanks in advance!

DominicStaff
answered 7 years ago

You can copy the code of the header.php file here: http://snippi.com/s/v7g615h 
Then override into your header.php file in the child theme. I have disabled the ads banner section with the following code: line 36

<?php if ( is_active_sidebar( 'dw_focus_header' ) ) : ?>
<div id="header-widgets" class="col-md-8"><?php dynamic_sidebar( 'dw_focus_header' ); ?></div>
<?php endif; ?>

Then change the line 27:

<div class="col-md-12">
Jessica Paxton
replied 7 years ago

The link http://snippi.com/s/v7g615h doesn’t work

Dominic Staff
replied 7 years ago

I have checked and see that it works fine for me, please check the Snippi link again or you can go to the following link: http://codepad.org/H1mC0SDh

Powered by DW Question & Answer Pro