Tagged: x
-
AuthorPosts
-
September 9, 2016 at 8:49 pm #1168828
logogloParticipantHow do I move the top bar under the nav bar?
Is there an easy way of doing so?
Thanks.
September 10, 2016 at 2:28 am #1169018
FriechModeratorHi There,
Thanks for writing in! We need to see what stack you’re into, would you mind providing us your site URL?
In the meantime please setup a child theme, because this requires a template change. This allows you to make code changes that won’t be overwritten when an X update is released.
Cheers!
September 10, 2016 at 11:21 am #1169360
logogloParticipantStack is Ethos.
September 10, 2016 at 10:34 pm #1169745
Rue NelModeratorHello There,
Thank you for providing the url. To move the top bar under the navbar, becase what you are trying to accomplish requires a template customization, we would like to suggest that you use 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.
Once you have your child theme active and ready, please follow the following steps below:
1] Using Notepad or TextEdit or Sublime Text or any text editor, please create a new file in your local machine.
2] Insert the following code into that new file<?php // ============================================================================= // VIEWS/ETHOS/WP-HEADER.PHP // ----------------------------------------------------------------------------- // Header output for Ethos. // ============================================================================= ?> <?php x_get_view( 'global', '_header' ); ?> <?php x_get_view( 'global', '_slider-above' ); ?> <header class="<?php x_masthead_class(); ?>" role="banner"> <?php x_get_view( 'ethos', '_post', 'carousel' ); ?> <?php x_get_view( 'global', '_navbar' ); ?> <?php x_get_view( 'global', '_topbar' ); ?> <?php x_get_view( 'ethos', '_breadcrumbs' ); ?> </header> <?php x_get_view( 'global', '_slider-below' ); ?> <?php x_get_view( 'ethos', '_landmark-header' ); ?>3] Save the file named as
wp-header.php
4] Upload this file to your server in the child theme’s folder
wp-content/themes/x-child/framework/views/Please let us know if this works out for you.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1168828 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
