Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1393235
    bonamymartel
    Participant

    Hi
    I would like to move the carousel on the ethos stack so that is is below the nav bar
    is it also possible to position it underneath a gap section or underneath a slider?
    thanks so much

    Bonamy

    #1393335
    Rahul
    Moderator

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

    #1394138
    bonamymartel
    Participant
    This reply has been marked as private.
    #1394269
    Friech
    Moderator

    Hi There,

    On your child theme, navigate to \x-child\framework\views\ethos\ directory and there create a file named wp-header.php and paste the code below on it.

    <?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( 'global', '_topbar' ); ?>
        <?php x_get_view( 'global', '_navbar' ); ?>
        <?php x_get_view( 'ethos', '_post', 'carousel' ); ?>
        <?php x_get_view( 'ethos', '_breadcrumbs' ); ?>
      </header>
    
      <?php x_get_view( 'global', '_slider-below' ); ?>
      <?php x_get_view( 'ethos', '_landmark-header' ); ?>

    Hope it helps, Cheers!

    #1394312
    bonamymartel
    Participant

    Hi thanks for your message
    unfortunately this has not worked
    I have copied the complete ethos directory to my child theme,
    I then replaced the existing code in the header section as per these instructions but nothing happened
    what am I doing wrong? 🙂
    thanks

    #1394366
    Christopher
    Moderator

    Hi there,

    The code is correct and it should work, unless you’ve put it under wrong directory. Please provide us with WP and FTP credentials so we can take a closer look.

    Thanks.

    #1394377
    bonamymartel
    Participant
    This reply has been marked as private.
    #1394548
    bonamymartel
    Participant
    This reply has been marked as private.
    #1394656
    bonamymartel
    Participant
    This reply has been marked as private.
    #1394784
    Rue Nel
    Moderator

    Hello There,

    Thanks for updating in! I will repeat what @Friech is suggesting in a step by step process. Since 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( 'global', '_topbar' ); ?>
        <?php x_get_view( 'global', '_navbar' ); ?>
        <?php x_get_view( 'ethos', '_post', 'carousel' ); ?>
        <?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 make sure that the Child theme is active or else any of this changes will not take effect.

    Hope this helps. Please let us know how it goes.

    #1395003
    bonamymartel
    Participant
    This reply has been marked as private.
    #1395071
    bonamymartel
    Participant

    sorry, just to add to the chaos 🙂
    is it also possible to explain how I could put the carousel further down the page, below a slider
    thanks!

    #1395073
    Thai
    Moderator

    Hi There,

    Could you please provide us with the root account?

    There is no file in that account.

    Thanks.

    #1395218
    bonamymartel
    Participant
    This reply has been marked as private.
    #1395219
    bonamymartel
    Participant
    This reply has been marked as private.
  • <script> jQuery(function($){ $("#no-reply-1393235 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>