Tagged: x
-
AuthorPosts
-
November 4, 2016 at 9:50 pm #1244647
s_mockoParticipantHi Here is how the cart and search look with as much customizing as I could find in the comments sections. Notice how there is nothing letting someone know the numbe rof items in the cart and the price. That should be 5 items in the cart
I am using renew and my website is eurekawellness.com.au

Here is how it use to look and someting close to it I want when uber menu is activated

I know this is a problem here but having this cart and search functionality that looks decent would be awesome.
Thanks
November 5, 2016 at 3:33 am #1244809
Rue NelModeratorHello There,
Thanks for writing in! This happens when uberMenu is active. To resolve this, since you already have your child theme active and ready, please insert this following code in your child theme’s functions.php file.
// Custom Search Navigation when UberMenu is active // ============================================================================= function x_navbar_search_navigation_item( $items, $args ) { if ( x_get_option( 'x_header_search_enable' ) == '1' ) { if ( $args->theme_location == 'primary' ) { if ( ! class_exists( 'UberMenu' ) ) { $items .= '<li class="menu-item x-menu-item x-menu-item-search">' . '<a href="#" class="x-btn-navbar-search">' . '<span><i class="x-icon-search" data-x-icon="" aria-hidden="true"></i><span class="x-hidden-desktop"> ' . __( 'Search', '__x__' ) . '</span></span>' . '</a>' . '</li>'; } else { $items .= '<li class="ubermenu-item ubermenu-item-level-0 x-menu-item x-menu-item-search">' . '<a href="#" class="ubermenu-target x-btn-navbar-search">' . '<span><i class="x-icon-search" data-x-icon="" aria-hidden="true"></i><span class="x-hidden-desktop"> ' . __( 'Search', '__x__' ) . '</span></span>' . '</a>' . '</li>'; } } } return $items; } add_filter( 'wp_nav_menu_items', 'x_navbar_search_navigation_item', 9998, 2 ); // ============================================================================= / Custom Navbar Cart menu when Ubermenu is active // ============================================================================= function x_woocommerce_navbar_menu_item( $items, $args ) { if ( X_WOOCOMMERCE_IS_ACTIVE && x_get_option( 'x_woocommerce_header_menu_enable' ) == '1' ) { if ( $args->theme_location == 'primary' ) { if ( ! class_exists( 'UberMenu' ) ) { $items .= '<li class="menu-item current-menu-parent x-menu-item x-menu-item-woocommerce">' . '<a href="' . x_get_cart_link() . '" class="x-btn-navbar-woocommerce">' . x_woocommerce_navbar_cart() . '</a>' . '</li>'; } else { $items .= '<li class="ubermenu-item ubermenu-item-level-0 menu-item current-menu-parent x-menu-item x-menu-item-woocommerce">' . '<a href="' . x_get_cart_link() . '" class="ubermenu-target x-btn-navbar-woocommerce">' . x_woocommerce_navbar_cart() . '</a>' . '</li>'; } } } return $items; } //add_filter( 'wp_nav_menu_items', 'x_woocommerce_navbar_menu_item', 9999, 2 ); // =============================================================================Please let us know if this works out for you.
November 7, 2016 at 10:02 am #1247261
s_mockoParticipantThis reply has been marked as private.November 7, 2016 at 10:05 am #1247271
s_mockoParticipantThis rendered my site inactive now.
November 7, 2016 at 11:17 am #1247381
ThaiModeratorHi There,
In this case, would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
β Link login to your site
β WordPress Admin username / Password
β FTP AccountDonβt forget to select Set as a private reply. This ensures your information is only visible to our staff.
Thanks.
November 16, 2016 at 12:16 pm #1259697
s_mockoParticipantThis reply has been marked as private.November 16, 2016 at 3:32 pm #1259939
JadeModeratorHi there,
Kindly provide us with your FTP details as well so we can check this further.
Thank you.
November 17, 2016 at 6:06 am #1260903
s_mockoParticipantThis reply has been marked as private.November 17, 2016 at 11:07 am #1261261
JadeModeratorHI there,
Please try to add this code in the customizer instead:
li.x-menu-item-woocommerce > a .x-cart > span.outer { color: #63907C; background-color: #fff; padding-right: calc(0.625em - 0.182px); } li.x-menu-item-woocommerce>a .x-cart>span { display: block; float: left; padding: 0.35em 0.625em; color: #fff; } li.x-menu-item-woocommerce > a .x-cart { color: #fff; background-color: #63907C; border-radius: 0.415em; margin: 0; border: 0.25em solid; padding: 0; overflow: auto; text-align: center; background-clip: content-box; }Hope this helps.
November 17, 2016 at 11:01 pm #1262113
s_mockoParticipantHi,
That is awesome. Is it any way to get it a bit smaller about the size as the navbar text?
November 18, 2016 at 12:47 am #1262189
Paul RModeratorHi,
You can add this under Custom > Edit Global CSS in the Customizer.
.x-btn-navbar-woocommerce { font-size: 11px; }Hope that helps.
November 20, 2016 at 2:48 am #1264117
s_mockoParticipantThank you very much. You guys rock.
November 20, 2016 at 4:17 am #1264154
ThaiModeratorYou’re most welcome π
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1244647 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
