Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1168828
    logoglo
    Participant

    How do I move the top bar under the nav bar?

    Is there an easy way of doing so?

    Thanks.

    #1169018
    Friech
    Moderator

    Hi 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!

    #1169360
    logoglo
    Participant

    Its http://www.logoglo.com

    Stack is Ethos.

    #1169745
    Rue Nel
    Moderator

    Hello 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.

  • <script> jQuery(function($){ $("#no-reply-1168828 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>