adding hm360 logo to front page next to site logo
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 23 Jul 2018 19:43:50 +0000 (15:43 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 23 Jul 2018 19:43:50 +0000 (15:43 -0400)
assets/logo-small-white.png [new file with mode: 0644]
header.php

diff --git a/assets/logo-small-white.png b/assets/logo-small-white.png
new file mode 100644 (file)
index 0000000..bcc67f9
Binary files /dev/null and b/assets/logo-small-white.png differ
index 6155d49..ff64185 100644 (file)
                <div class="mid-content clearfix">
         
         <div class="flex-box">
+        <img src="<?php echo get_template_directory_uri()."/assets/logo-small.png"; ?>" alt="<?php bloginfo( 'name' ); ?>">
                <div id="site-logo" class="logo-<?php echo $page; ?> <?php echo $type; ?>">
-               <?php if ( get_header_image() ) : ?>
-               <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
-            <?php if($page !== "demo" && $page !== "my-courses" && $type !== "cmvl_channel"){ ?>
-                <img src="<?php header_image(); ?>" alt="<?php bloginfo( 'name' ); ?>">
-            <?php } else { ?>
-                <img src="<?php echo get_template_directory_uri()."/assets/ssm.png"; ?>" alt="<?php bloginfo( 'name' ); ?>">
-            <?php } ?>
-                       
-               </a>
-               <?php else:?>
-                       <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
-                       <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
-               <?php endif; ?>
+            <?php if ( get_header_image() ) : ?>
+            <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
+                <?php if($page !== "demo" && $page !== "my-courses" && $type !== "cmvl_channel"){ ?>
+                    <img src="<?php header_image(); ?>" alt="<?php bloginfo( 'name' ); ?>">
+                <?php } else { ?>
+                    <img src="<?php echo get_template_directory_uri()."/assets/ssm.png"; ?>" alt="<?php bloginfo( 'name' ); ?>">
+                <?php } ?>
+                
+            </a>
+            <?php else:?>
+                <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
+                <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
+            <?php endif; ?>
                </div>
 
                <nav id="site-navigation" class="main-navigation">