- This topic has 7 replies, 3 voices, and was last updated 3 years, 12 months ago by Tom.
-
AuthorPosts
-
April 25, 2020 at 4:45 am #1254810Manuel
Hello!
I’ve been looking in the forum for about two hours to solve the following problem, I hope you can help me.
I want to show the Woocomerce cart icon in a custom Hook, in one of the columns of the next custom bar I created.
1) I created a custom top bar as explained here: https://generatepress.com/forums/topic/top-barsecondary-navigation-area/
2) I included the function explained here: https://generatepress.com/forums/topic/woocommerce-cart-second-navigation-outdated/
The problem is that this function shows the cart in the secondary menu, what I want is to show it with a shortcode if possible in the custom bar that I have created, this is important because there I will also include the language and currency change.
Thank you very much in advance!
Greetings
April 25, 2020 at 7:39 am #1254996DavidStaffCustomer SupportHi there,
it is not currently possible to add the Menu Cart icon outside of a Menu.
You can add it to the secondary navigation and reposition that – let me know if thats of use.April 25, 2020 at 8:35 am #1255188ManuelOkay, thanks for the quick response.
It doesn’t solve my problem, but I can think of an alternative.
Is it possible to have different versions of the secondary menu in mobile and desktop versions?
- For the desktop version, the secondary menu is at the top.
- For mobile version, the secondary menu is below the logo.
I hope you can help me, thanks!
April 25, 2020 at 5:13 pm #1255707TomLead DeveloperLead DeveloperHi there,
Would the contents of the secondary navigation be the same? So only the location would change?
April 25, 2020 at 10:10 pm #1255896ManuelHey, Tom, what’s up?
No, he wouldn’t be the same.
I’m building a multi-site wordpress, and I’d like to show the logos of the other stores in the secondary menu in a desktop version, in addition to the icons for selecting language, cart etc.
In Mobile version, just show the cart and language icons and show the logos in the off canva menu.
Something complex I know, but I think it’s the right way.
Regards and thanks for your support.
April 26, 2020 at 9:51 am #1256644TomLead DeveloperLead DeveloperSo could the Secondary Nav have the same content on desktop/mobile, and then we can just hide what we don’t want to display on mobile?
Moving the actual Secondary Navigation element might be difficult though, depending on where it’s showing up right now.
April 26, 2020 at 10:03 am #1256665ManuelI spent all morning working on it and finally managed to do it through CSS.
Anyway, thanks a lot for your support!
Regards colleagues!
April 26, 2020 at 3:46 pm #1256961TomLead DeveloperLead DeveloperGlad you got it working! Thanks for letting me know 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.