• Mike37

    (@mike37)


    Hi,

    I’m struggling to come up with some php code that will allow me to place a second image placed in the right hand side of my header which can be linked to dial a phone number when tapped on a mobile phone.

    I want to insert the new div underneath the logo div then style it with CSS.

    Can anyone help please? My theme is Caffiene by Muffin Group.

    The theme developer will not advise on customising their theme in this way via their support 🙁

    Here’s the code in my header.php file:

    <!-- #Header -->
    			<?php
    				$header = mfn_opts_get('header-style','wide');
    			?>
    			<header id="Header" class="<?php echo $header; ?>">
    				<div class="container">
    
    					<div class="sixteen columns">
    
    						<!-- #logo -->
    						<?php if( is_page_template( 'template-home.php' )) echo '<h1>'; ?>
    						<a>" title="<?php bloginfo( 'name' ); ?>">
    							<img src="<?php mfn_opts_show('logo-img',THEME_URI .'/images/logo.png'); ?>" alt="<?php bloginfo( 'name' ); ?>" />
    						</a>
    						<?php if( is_page_template( 'template-home.php' )) echo '</h1>'; ?>

    Mike C

  • The topic ‘How To Add Another Linked Image In My Header’ is closed to new replies.