- This topic has 7 replies, 3 voices, and was last updated 1 month, 1 week ago by Tom.
April 25, 2020 at 4:45 am #1254810Manuel Fernandez
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!
GreetingsApril 25, 2020 at 7:39 am #1254996DavidStaffCustomer SupportApril 25, 2020 at 8:35 am #1255188Manuel Fernandez
Okay, 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 DeveloperApril 25, 2020 at 10:10 pm #1255896Manuel Fernandez
Hey, 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 Developer
So 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 #1256665Manuel Fernandez
I 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 #1256961
- You must be logged in to reply to this topic.