Forum Replies Created
-
AuthorPosts
-
For others that have the same problem:
Add the following to your functions.php (I use “My custom functions” plugin for this purpose) :
// ability to use advanced layout editor for shop page so it doesn't break Zen Menu Logic on this page add_theme_support( 'avia_custom_shop_page' ); // a filter to replace the primary menu on shop, product and product category pages add_filter( 'wp_nav_menu_args', 'custom_primary_menu' ); function custom_primary_menu( $args ) { if ( (is_shop() || is_product() || is_product_category()) && ($args['theme_location'] == 'avia')) { $args['menu'] = 'YOUR_MENU_NAME'; } return $args; }
Use avia for primary menu and avia2 for secondary
- This reply was modified 7 years, 7 months ago by Skelt0r.
Hi Thomas,
I have the same problem… How did you fix it? In my case I have a business part and a consumer part of the website with their own menu. This works fine with Enfold and Zen Menu Logic. For the Woocommerce shop page I want to use the ‘consumer’ menu and I can select it at the bottom of the page, just like the other pages. But it doesn’t show the selected menu, it show’s a made up menu comprised of all the pages that exist…
Best regards,
Stefan
February 7, 2017 at 6:46 pm in reply to: Several questions (spacing + styling product slider, styling mobile menu) #744011Can you at least point me in the right direction for 4 & 6…
- This reply was modified 7 years, 9 months ago by Skelt0r.
February 7, 2017 at 1:40 pm in reply to: Several questions (spacing + styling product slider, styling mobile menu) #743895At least point me in the right direction for 4 & 6…
February 6, 2017 at 8:47 pm in reply to: Several questions (spacing + styling product slider, styling mobile menu) #743586Are you kidding me? This is the first time I have some questions after buying the theme about 10 times. Most questions I had have been answered by searching internet, including this forum. I saved Kriesi support a huge amount of time not asking easy questions that can easily be found searching better. Please reconsider my questions….
-
AuthorPosts