Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1232120
    iRocketdesign
    Participant

    I used this code in my php editor a while back, and now I cannot find it to remove it because I am going with the woocommerce cart. Can you help me to remove it please? I am trying to remove the small card at the top right in the header.

    I used the following code in my child theme _topbar.php to get the cart to the top bar. Now I want to move it over to the right side just to the left of the social media icons. See attached pic.

    thanks,
    Rick

    <?php

    // =============================================================================
    // VIEWS/GLOBAL/_TOPBAR.PHP
    // —————————————————————————–
    // Includes topbar output.
    // =============================================================================

    ?>

    <?php if ( x_get_option( ‘x_topbar_display’ ) == ‘1’ ) : ?>

    <div class=”x-topbar”>
    <div class=”x-topbar-inner x-container max width”>
    <?php if ( x_get_option( ‘x_topbar_content’ ) != ” ) : ?>
    <p class=”p-info”><?php echo x_get_option( ‘x_topbar_content’ ); ?></p>
    <?php endif; ?>
    <?php x_social_global(); ?>
    <ul class=”x-nav”>
    <li class=”menu-item current-menu-parent x-menu-item x-menu-item-woocommerce”>
    ” class=”x-btn-navbar-woocommerce”>
    <?php echo (x_woocommerce_navbar_cart()); ?>

    </div>
    </div>

    <?php endif; ?>

    http://www.stillwelljacks.com

    #1232121
    iRocketdesign
    Participant
    This reply has been marked as private.
    #1232525
    Friech
    Moderator

    Hi Rick,

    Thank you for writing in! But did you already resolve the issue? I am not seeing any small card at the top right of the header. Please clarify.

    http://prntscr.com/czfzxw

    Cheers!

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