Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1332677
    Larkingdom
    Participant

    Hi,
    I am hoping you can help me, I have X theme and I am using the Renew stack. Within my sidebar I have a number of woocommerce search widgets but they are appearing at the bottom of the page on mobile when they need to be at the top. How would I go about doing this please?

    My site is http://www.tickingwrists.com

    I have had a look and found a number of cures for people using other stacks but not Renew. Thanks very much for your help on this, it is much appreciated.

    Simon

    #1333086
    Lely
    Moderator

    Hello Simon,

    For that to work, please copy woocommerce.php from this folder: \wp-content\themes\x\framework\views\renew to the same folder on your child theme here:\wp-content\themes\x-child\framework\views\renew. Open the copied file, and replace the code with this:

    <?php
    
    // =============================================================================
    // VIEWS/RENEW/WOOCOMMERCE.PHP
    // -----------------------------------------------------------------------------
    // WooCommerce page output for Renew.
    // =============================================================================
    
    ?>
    
    <?php get_header(); ?>
    
      <div class="x-container max width offset">
       <?php get_sidebar(); ?>
        <div class="<?php x_main_content_class(); ?>" role="main">
    
          <?php woocommerce_content(); ?>
    
        </div>
    
        
    
      </div>
    
    <?php get_footer(); ?>

    Hope this helps.

    #1333093
    Christopher
    Moderator

    Hi there,

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

    <?php
    
    // =============================================================================
    // VIEWS/RENEW/WOOCOMMERCE.PHP
    // -----------------------------------------------------------------------------
    // WooCommerce page output for Renew.
    // =============================================================================
    
    ?>
    
    <?php get_header(); ?>
    
      <div class="x-container max width offset">
       <?php get_sidebar(); ?>
        <div class="<?php x_main_content_class(); ?>" role="main">
    
          <?php woocommerce_content(); ?>
    
        </div>
    
        
    
      </div>
    
    <?php get_footer(); ?>

    Hope it helps.

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