Tagged: avia menu, conflict, error, woo commerce
-
AuthorPosts
-
August 27, 2016 at 9:46 pm #678515
Hello, my name is Timothy Flores. I have a few questions for you all. I am trying to open my photography shop, but am needing to address these few issues first.
1. I have created a sub nav menu to be used on all of my pages, including WooCommerce pages, unfortunately the Avia Layout Builder conflicts with the WooCommerce Product Pages & Shop pages ONLY (all other pages work) and is not allowable. As of now, the only way to insert this sub navigation is to be able to activate Avia Layout Builder. So, how can I add this very important sub nav to these particular pages? Is there a line of code I can insert, or a shortcode, into these specific php files? I spoke with WooCommerce support about this and they mentioned I should get in contact with you.
2. My Scroll to Top Button disappears on mobile devices after update. It used to show and now it does not. It does show up for desktop, though.
3. My sidebar is not showing up for my WooCommerce Shopping page, Account Page, or Product Pages that I created with WooCommerce. It only displays a blank space with no widgets that I created/inserted. I have activated the Enfold Sidebar Settings, as well as the individual Page themselves so that they should display, it’s just that the sidebar menu is blank. Any thoughts?
I greatly appreciate your time and am looking forward to your response!
Respectfully,
TimothyAugust 31, 2016 at 4:37 am #679780Hello?
August 31, 2016 at 4:43 am #679781If you need my FTP, then just let me know.
August 31, 2016 at 4:32 pm #680106Hi,
1.) I’m afraid that won’t be easily done, as ALB does not work on WC pages as you already mentioned. You would need to hire a freelance developer for this job. You could find one here: http://kriesi.at/contact/customization
2.) Use this code inside Quick CSS field:
@media screen only and (max-width: 767px) { .responsive #scroll-top-link { display: block; }}
Please use different tickets for different questions. Send us admin access when opening a new ticket for 3.).
Best regards,
Andy- This reply was modified 8 years, 2 months ago by Andy.
August 31, 2016 at 10:57 pm #680357Hi Andy, thanks for the information! I will separate the questions better in the future :D
As for the WooCommerce issue, I was under the impression that this theme is compatible with WooCommerce? Being that the theme is, I need to be able to use a sub navigation on the WooCommerce Shop Page and Product Page. Either that or given the php file I need to edit as I am the developer for this personal site.
August 31, 2016 at 11:12 pm #680362Hi,
There’s a hook you can use to insert something before the main container (on all pages, including WC templates):
add_action('ava_after_main_container', function() { ?> PUT MENU SHORTCODE HERE <?php });
Best regards,
JosueAugust 31, 2016 at 11:37 pm #680382Great, I appreciate the information, Josue.
September 6, 2016 at 5:37 am #682424Hi Josue, I tried placing the following hook into index.php (before main), functions.php, and header.php, but am getting the following error on my WooCommerce Product Page? Either that or I do not have the correct shortcode for the specific sub navigation menu. This is all I saw (). The Woocommerce Page is the only page I need to include this hook.
add_action(‘ava_after_main_container’, function() {
?>
[av_submenu which_menu='' menu='105' position='right' color='alternate_color' sticky='aviaTBsticky' mobile='active’][/av_submenu]
<?php
});Also, the Scroll to Top script didn’t work.
@media screen only and (max-width: 767px) {
.responsive #scroll-top-link {
display: block;
}}- This reply was modified 8 years, 2 months ago by Tflores87.
September 12, 2016 at 7:10 am #684908Hi there, just wanting to see if you guys had a chance to help me out?
September 14, 2016 at 9:32 am #686220Hi,
Use this:
add_action('ava_after_main_container', function() { echo do_shortcode("[av_submenu which_menu='' menu='105′ position='right' color='alternate_color' sticky='aviaTBsticky' mobile='active'][/av_submenu]"); });
Best regards,
JosueSeptember 16, 2016 at 7:48 pm #687696Same issue, Josue. The hook is not working, what seems to be the conflict?
As for the script provided for the Scroll to Top button, it’s still not showing up for mobile devices.
September 18, 2016 at 8:41 am #688077Hi,
Can you please create us a WordPress administrator account? post it here as a private reply.
Regards,
JosueSeptember 19, 2016 at 6:04 pm #688641Sure, I will post the credentials in the private content.
September 19, 2016 at 9:07 pm #688799September 19, 2016 at 9:11 pm #688806Sort of, until it doesn’t :D It breaks the site (this is what was happening to me). This is what it looks like:
Here is how it looks for other pages
- This reply was modified 8 years, 2 months ago by Tflores87.
September 19, 2016 at 10:33 pm #688839Hi,
Check it now.
Best regards,
JosueSeptember 19, 2016 at 10:39 pm #688842YES! Thanks. What was the issue so that I can maintain these settings for any future woocommerce updates?
September 19, 2016 at 10:53 pm #688847Hi,
Including a FWD Submenu in
shortcode
format causes issues so i changed it to something like this:add_action('ava_after_main_container', function() { ?> <div id="sub_menu1" class="av-submenu-container main_color av-sticky-submenu container_wrap fullsize" style="z-index:301"> <div class="container av-menu-mobile-disabled"> <?php wp_nav_menu( array( 'menu' => wp_get_nav_menu_object(23), 'menu_class' =>"av-subnav-menu av-submenu-pos-right", 'fallback_cb' => '', 'container' =>false, 'echo' =>true, 'walker' => new avia_responsive_mega_menu(array('megamenu'=>'disabled')) ) ); ?></div> </div> <div class="sticky_placeholder"></div> <?php });
Check your child functions.php.
Best regards,
JosueSeptember 19, 2016 at 10:59 pm #688849Great, thank you for the support with this. I appreciate your time!
September 20, 2016 at 1:46 am #688874You are welcome, glad to help :)
Regards,
Josue -
AuthorPosts
- The topic ‘Sub Navigation Menu – WooCommerce Pages Conflict’ is closed to new replies.