Tagged: x
-
AuthorPosts
-
August 15, 2016 at 9:27 pm #1132886
iRocketdesignParticipantI 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; ?>
August 15, 2016 at 9:28 pm #1132888
iRocketdesignParticipantThis reply has been marked as private.August 16, 2016 at 2:10 am #1133088
RupokMemberHi there,
Thanks for writing in! You can add this under Custom > CSS in the Customizer.
.x-topbar .x-nav { float: right; margin-right: 5px; margin-top: 4px; }Hope this helps.
Cheers!
August 16, 2016 at 11:17 am #1133759
iRocketdesignParticipantPerfect,
thank you again. Awesome support!
August 16, 2016 at 12:37 pm #1133902
Prasant RaiModeratorYou are most welcome. 🙂
October 26, 2016 at 2:26 pm #1232045
iRocketdesignParticipantI am now getting to activating my store. I was wondering how and where to add a link to my custom cart so it goes to my Cart page?
thank you!
Rick
October 26, 2016 at 4:53 pm #1232181
JadeModeratorHi Rick,
I am not certain about what you mean with a link to the cart page. Do you mean you want to add a navigation item in the menu that leads to the cart page? If so, clicking on the cart icon that is currently in the menu should go to the cart page.
October 26, 2016 at 5:04 pm #1232190
iRocketdesignParticipantActually could you tell me how to remove that custom cart all together? For some reason I don’t see that code I used above in the Editor in my functions.php file? I just want that cart gone so I can proceed with the standard woocommerce cart.
thank you!
RickOctober 26, 2016 at 5:14 pm #1232198
iRocketdesignParticipantI want to remove the cart and $0.00 at the top right in blue
October 26, 2016 at 11:09 pm #1232596
Paul RModeratorHi Rick,
In that case, you may delete the file _topbar.php in wp-content/themes/x-child/framework/views/global
Thanks
October 27, 2016 at 10:07 am #1233267
iRocketdesignParticipantPerfect,
thanks!
RickOctober 27, 2016 at 12:08 pm #1233471
JoaoModeratorGlad to hear it,
Let us know if you need help with anything else.
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1132886 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
