Tagged: x
-
AuthorPosts
-
February 27, 2017 at 1:23 pm #1387713
elasticioParticipantHi,
As the title suggests, I want to place an image right next to the logo (the logo is situated on the left-hand side of the Navbar if this is relevant). So far, I have found only one topic in the forum that is about exactly what I want: https://community.theme.co/forums/topic/how-to-add-an-image-next-to-logo-in-header/ But since the issue was handled in 2014, I’m wondering if I can use exactly the same code for my purposes or if there have been any changes regarding this? If the latter is true, what code I should use now to get that image where I’d like it to be?
Thanks a lot for your help in advance!
February 27, 2017 at 3:40 pm #1387878
Nabeel AModeratorHi there,
Thanks for writing in! Can you please share the URL of your site so we can take a look at your current setup and suggest you the solution accordingly?
Thanks!
February 28, 2017 at 3:16 am #1388475
elasticioParticipantFebruary 28, 2017 at 6:57 am #1388696
ChristopherModeratorHi there,
Please follow the thread and do all the steps, expect that you should add following code in _brand.php file :
<?php // ============================================================================= // VIEWS/GLOBAL/_BRAND.PHP // ----------------------------------------------------------------------------- // Outputs the brand. // ============================================================================= $site_name = get_bloginfo( 'name' ); $site_description = get_bloginfo( 'description' ); $logo = x_make_protocol_relative( x_get_option( 'x_logo' ) ); $site_logo = '<img src="' . $logo . '" alt="' . $site_description . '">'; ?> <?php echo '<h1 class="visually-hidden">' . $site_name . '</h1>'; ?> <a href="<?php echo home_url( '/' ); ?>" class="<?php x_brand_class(); ?>" title="<?php echo $site_description; ?>"> <?php echo ( $logo == '' ) ? $site_name : $site_logo; ?> </a> <a href="URL_TO_WEBSITE" class="logo-aside-image"><img src="IMAGE_URL" alt=""></a>Hope it helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1387713 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
