Juan Machado
asked 11 years ago

Hello DW team.

I’d like to know how can I convert logo into a full header. I deleted header widgets “ads”, and tried to figure out how to do it through CSS but haven’t found the solution. If you may have any kind of guidance on how to to this I’d appreciate it. Also I need some help on where to find translation files or themes files with text to be translated, so I can pass all the theme to spanish.

I’m using DW-Focus btw.

Thanks

3 Answers
Mark Smith
answered 11 years ago

I have a similar question.  I don’t want to eliminate the ALL the ads, just ad position and fill that with a bigger header (header + ad position 1).  Then, combine ad position 2 & 3 into a single ad space, so that the final result is a larger header and larger ad position in the Header.

DominicStaff
answered 11 years ago

Hi !
if you want to remove “ads”, you can login (log in to) Dashboard > Appearance > Widget “Header”
URL : http://imgur.com/8n2qp9M.
and if you would like to “ads” on header , you can use plugin or widget “Text”.

Regards,

Dominic

Jackie Lord
answered 11 years ago

Please open file: YOUR-DIR/wp-content/themes/dw-focus/header.php

Replace:

<div id="header">
<div>
<div id="branding">
<h1>
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
<?php bloginfo( 'name' ); ?>
</a>
</h1>
</div>
<?php if( is_active_sidebar( 'dw_focus_header' ) ) { ?>
<div id="sidebar-header">
<div>
<?php dynamic_sidebar('dw_focus_header'); ?>
</div>
</div>
<?php } ?>
</div>
</div>

With:

<div id="header">
<div id="branding">
<h1>
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
<?php bloginfo( 'name' ); ?>
</a>
</h1>
</div>
</div>

Then add this custom code to Theme Option:

<style type="text/css">
.site-header #header {
background: none !important;
}
</style>
Powered by DW Question & Answer Pro