Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #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,
    Timothy

    #679780

    Hello?

    #679781

    If you need my FTP, then just let me know.

    #680106

    Hi,

    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 7 years, 7 months ago by Andy.
    #680357

    Hi 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.

    #680362

    Hi,

    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,
    Josue

    #680382

    Great, I appreciate the information, Josue.

    #682424

    Hi 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 (Image A). 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 7 years, 6 months ago by Tflores87.
    #684908

    Hi there, just wanting to see if you guys had a chance to help me out?

    #686220

    Hi,

    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,
    Josue

    #687696

    Same 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.

    #688077

    Hi,

    Can you please create us a WordPress administrator account? post it here as a private reply.

    Regards,
    Josue

    #688641

    Sure, I will post the credentials in the private content.

    #688799

    Hi,

    Hook is working, check:

    Best regards,
    Josue

    #688806

    Sort of, until it doesn’t :D It breaks the site (this is what was happening to me). This is what it looks like:

    Image A

    Here is how it looks for other pages

    Image B

    • This reply was modified 7 years, 6 months ago by Tflores87.
    #688839

    Hi,

    Check it now.

    Best regards,
    Josue

    #688842

    YES! Thanks. What was the issue so that I can maintain these settings for any future woocommerce updates?

    #688847

    Hi,

    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,
    Josue

    #688849

    Great, thank you for the support with this. I appreciate your time!

    #688874

    You are welcome, glad to help :)

    Regards,
    Josue

Viewing 20 posts - 1 through 20 (of 20 total)
  • The topic ‘Sub Navigation Menu – WooCommerce Pages Conflict’ is closed to new replies.