• Hey!
    How can I add an image-hover in the current header.php?

    div class="head-socials">
    					<ul>
    						<?php
    							$socials = array('facebook','twitter','instagram','pinterest','bloglovin','rss');
    							for($i=0;$i<count($socials);$i++){
    								$url = '';
    								$s = $socials[$i];
    								$url = dess_setting('dess_'.$s);
    								echo ($url != '' ? '<li><a target="_blank" href="'.$url.'"><img src="'.esc_url( get_stylesheet_directory_uri() ).'/images/'.$s.'-icon.png" alt="'.$s.'" /></a></li>':'');
    							}
    						?>
    					</ul>

    Thanks!!!

  • The topic ‘Add image-hover for social icons in header.php’ is closed to new replies.