Archived topic
Change Position of Mini-Cart in Menu Item
13 replies · Started by Robert on October 5, 2020
Hello,
in order to restructure our Desktop Menu taxonomy, i wanted to show the Mini-Cart more prominent and not as last item of Menu. Since it's no regular item i can rearrange by using normal menu settings, i would appreciate your help.
Please find some screenshots to clarify my wishes:
Menu-Order now:
https://ibb.co/cFDTJT1
Menu-Order how it should be:
https://ibb.co/NKM0myj
Btw. WPML Language Switcher is also set as last menu item. But somehow Mini-Cart is "more last item" for the very end.
Thank you in advance!
Kind regards,
Daniel
Hi there,
can you share a link to your site so i can take a look at the CSS required.
Hi David,
sure: It's on your private Informations.
btw. since the new update the Mini-Cart is not showing the items inside anymore.
It's showing the price and buttons to checkout.
Could you also help me solving this problem?
Kind regards,
Daniel
Are you able to add the WPML language switcher using a shortcode or a function so we can use a hook to add it?
Hi Leo,
yes, both options are available from here:
Using PHP Actions
do_action('wpml_add_language_selector'); – outputs the language switcher based on the options set in the Custom Language Switchers section.
do_action( 'wpml_footer_language_selector'); – outputs the language switcher based on the options set in the Footer language switcher section, even if the Show language switcher in footer option is disabled.
Using WPML Shortcodes
[wpml_language_selector_widget] – outputs the language switcher based on the options set in the Custom Language Switchers section.
[wpml_language_selector_footer] – outputs the language switcher based on the options set in the Footer language switcher section, even if the Show language switcher in footer option is disabled.
Kind regards,
Daniel
Since you're using the floats system in GP, you could try something as simple as this:
.wpml-ls-item {
float: right !important;
}
Let us know :)
Worked Tom, thank you.
Could you say something about this other issue we suffered since new major GP-Release?
"btw. since the new update the Mini-Cart is not showing the items inside anymore.
It’s showing the price and buttons to checkout."
The images and single item price from the article customer puts into cart are missing on the Mini-Cart.
Can you help here too?
Kind regards, Daniel :)
Where can I see that happening? The 3.0 update wouldn't have affected the mini-cart, as that's a GPP feature.
Hi Tom,
you can see it in the Link below.
Before Update everything just worked fine.
Maybe you can check what happened here?
Kind regards,
Daniel
Hi there,
can you disable your cache plugin so we can see what the issue is?
Hi David,
WP Rocket is deactivated. But Problem still remains :(
Would be great, if we can fix this issue.
Kind regards,
Daniel
Can you go to Customizer > Layout > Primary Navigation and change the Navigation Dropdown to Hover
That did the job! Thank you David!
Glad to be of help.