Add a woocomerce search box in nav bar ethos

Hi, i want to know how i can add a woocomerce search box in nav bar ethos.

i cannot find the option for insert woocomerce widgets in navbar… Thanks!

Sorry my bad english…

Hi There,

Are you using X theme and not Pro? If yes, there’s no option to add widgets on the navbar. We can add widget shortcode on Topbar Content option. If you insists on adding it on navigation area, that will need customization. Make sure you have setup a child theme. The file that handle the navbar is this:
wp-content\themes\x\framework\legacy\cranium\headers\views\global\_nav-primary.php. Copy that file on the same folder on your child theme here: wp-content\themes\x-child\framework\legacy\cranium\headers\views\global\_nav-primary.php. You might need to create the folder if it doesn’t exist yet on the child theme.

Add the woocommerce widget shortcode as intended.

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.