Tagged: x
-
AuthorPosts
-
July 8, 2016 at 3:55 pm #1078446
Fotograf-MichaelPaulParticipantHi team,
I would like to place a logo above the menu title. (Navbar fixed left)
To place the title as first item in my menu isn’t what I’m looking for. Mobile this would not work, because the title is covered them.Maybe you have a solution.
ThanksJuly 8, 2016 at 10:58 pm #1078864
Prasant RaiModeratorHello There,
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
Thanks.
July 9, 2016 at 1:48 am #1078994
Fotograf-MichaelPaulParticipantRight, it’s this URL:
July 9, 2016 at 3:31 am #1079067
ChristopherModeratorHi there,
Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.
Please copy _brand.php from framework/views/global and put it in the same path inside child theme, replace existing code with following :
<?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 ( is_front_page() ) ? '<h1 class="visually-hidden">' . $site_name . '</h1>' : ''; ?> <a href="<?php echo home_url( '/' ); ?>" class="<?php x_brand_class(); ?>" title="<?php echo $site_description; ?>"> <img src="add image url here" style="display: block;width: 100%;"> <?php echo ( $logo == '' ) ? $site_name : $site_logo; ?> </a>Hope it helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1078446 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
