Archived topic
Cart Icon in the Header on mobile
5 replies · Started by Mirko on December 5, 2022
Hello,
Is it possible to add the cart icon in the header (now is on the off-canvas panel), near the "hamburger button" on the mobile version.
The website link is on the private information tab.
I'm using Prime Theme + WP Menu Cart
Thanks!
Hi Mirko,
As the cart button is from a 3rd party plugin, the theme can not control its position.
How did you add the cart? Is it a shortcode?
Let me know!
Hello,
I added the icon with a plugin setting, from there I can set the menu where to display the icon.
Hi there,
if you enable the Woocommerce module in Appearance > GenereatePress.
Then in Customizer > Layout > Woocommerce you can enable the Cart in Menu:
https://docs.generatepress.com/article/woocommerce-overview/
It will appear where you require it, for desktop and mobile. So there is no need for another plugin.
Thanks, I had some code for the secondary menu now I figured it out.
Removed the WP Menu Cart plugin and used the default GP one.
Thanks for the support
Glad to hear that