Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #873032

    stephrodney
    Participant

    Hello for the Xtheme I see an option to put the Social media buttons on a bar next to the menu and logo bar. I can change this bar and put it below the header image or above the header image. My question is can the social media top bar go on top while the menu bar goes on the bottom of the header? I have attached an Image, in the image the yellow social media bar is next to the purple menu bellow the header, can I put this yellow bar Above the Header without the purple menu coming with me? Does that make sense?

    #873777

    Christopher
    Moderator

    Hi there,

    Please let us know which stack you’re using so we can provide you with tailored solution.

    Thanks.

    #874700

    stephrodney
    Participant

    Renew

    #875119

    Christopher
    Moderator

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

    Copy wp-header.php from framework/views/renew and put it in the same path inside child theme, replace existing code with following :

    <?php
    
    // =============================================================================
    // VIEWS/RENEW/WP-HEADER.PHP
    // -----------------------------------------------------------------------------
    // Header output for Renew.
    // =============================================================================
    
    ?>
    
    <?php x_get_view( 'global', '_header' ); ?>
        <?php x_get_view( 'global', '_topbar' ); ?>
      <?php x_get_view( 'global', '_slider-above' ); ?>
    
      <header class="<?php x_masthead_class(); ?>" role="banner">
        <?php x_get_view( 'global', '_navbar' ); ?>
      </header>
    
      <?php x_get_view( 'global', '_slider-below' ); ?>
      <?php x_get_view( 'renew', '_landmark-header' ); ?>

    Hope it helps.