Dean
asked 11 years ago

DW Focus social icon for Google Plus does not show up after adding the link.  Facebook and twitter both work fine.

1 Answers
Jennifer N
answered 11 years ago

Hi Dean !

In order to add “incon Google +” into header of DW Focus, you need to go to theme item, following the path \wp-content\themes\dw-focus. Open header.php file, from the line 82 to  82, you override by the code below:

<ul>
<?php if( $facebook ) { ?>
<li><a target=”_blank” href=”<?php echo $facebook; ?>” title=”<?php _e(‘Facebook’,’dw-focus’) ?>”><i class=”icon-facebook”></i></a></li>
<?php } ?>
<?php if( $twitter ) { ?>
<li><a target=”_blank” href=”<?php echo $twitter;  ?>” title=”<?php _e(‘Twitter’,’dw-focus’) ?>”><i class=”icon-twitter”></i></a></li>
<?php } ?>
<?php if( $gplus ) { ?>
<li><a target=”_blank” href=”<?php echo $gplus;  ?>” title=”<?php _e(‘Google plus’,’dw-focus’) ?>”><i class=”icon-google-plus”></i></a></li>
<?php } ?>
<li><a href=”<?php bloginfo(‘rss2_url’); ?>” title=”<?php _e(‘Rss’,’dw-focus’) ?>”><i class=”icon-rss”></i></a></li>
<li><a href=”<?php echo wp_login_url( get_permalink() ); ?>” title=”<?php _e(‘Login’,’dw-focus’) ?>”><i class=”icon-user”></i></a>
</ul><!– End social links –>

When you complete the view site, the default background of icon Google + is balck. If you would like to change, you need follow the path \wp-content\themes\dw-focus\assets\css. Open “template.css” file, then, add the code below:

.gplus > a {
background-color: #ff0000;
}

Let me know if you need further assistance

Regards,
Jennifer

Powered by DW Question & Answer Pro