If you see "Outdated WooCommerce template files" message in your Wordpress site please   

Okay
  Public Ticket #1974474
Side menu
Closed

Comments

  • theneelrana started the conversation

    Is there anyway i can add a button to the header menu, to open the sidebar?

    (to hide some extra links or widgets from the header menu)


    cant figure out how/if i can use the ".sidebar-menu-toggle" for this

  •  707
    Art replied

    Hi there,

    You cannot have a button which will open the sidebar menu, you can only select if you want to use a standard, full screen or a sidebar menu and that's how you can show the sidebar from the menu trigger.

    Kind regards,
    Art


      Documentation        Follow on Envato         Like on Facebook

  •  707
    Art replied

    Hi again,

    I am sorry as I have missed this option, talked with the team and found out that this feature has been included in our recent demos.

    Keep that option ticked, and select any other menu while you can go to *Appearance > Menus* and tick this option *CSS Classes*:

    medium
    (view large version)

    And then under the menu item which you want to open the sidebar add these classes to it:

    ?toggle=sidebar-menu
    
    sidebar-menu-toggle
    

    medium
    (view large version)

    Kind regards,
    Art


      Documentation        Follow on Envato         Like on Facebook

  • theneelrana replied

    Hi, Thank you, that worked. Few issues though -

    Issue 1 - It's a bit glitchy.

    Steps to recreate - Enable sticky header

    open sidebar on a page when the normal header is active (top of the page)

    scroll with side bar open and then close side bar

    the sticky header's logo and menus are misaligned

    issue 2 - now that i can open the side menu, it still shows all the menu items of the main header.

    when going to wp>customise>menus there's no option to add a menu specific to the sidebar.

    it says your theme supports 2 menus.

    Making the sidebar redundant.

    I have previously used themes that allow you to customize the sidebar separately, would be great if it could be implemented here.



  •  707
    Art replied

    Hi there,

    1. Can you please try to be very specific about the question and explain it more to us, in this way we can easily understand you and give you the proper answersmile.png

    2. Go to Appearance > Menus and create a new menu, then under Appearance > Widgets select the Navigation Menu to the blog sidebar and then select the new menu you created:

    medium
    (view large version)

    If you have further questions, please create a new ticket instead of posting them here, let's keep this in the tracks of the original ticket.

    Kind regards,
    Art


      Documentation        Follow on Envato         Like on Facebook

  •   theneelrana replied privately
  •  707
    Art replied

    Hi there,

    Can you please share your site credentials here, because we need to login to your site and see this issue live. Your information is safe (private) in this thread.

    To include your credentials click Insert Credentials button in editor toolbar. (See how)

    Kind regards,
    Art


      Documentation        Follow on Envato         Like on Facebook

  •   theneelrana replied privately
  •  707
    Art replied

    Hi there,

    1. I've added this CSS to Custom CSS, now it shows properly:

    .main-header.sticky-absolute.sticky-fixed {
      left: 0 !important;
      right: 0 !important;
    }
    

    2. And this CSS for the second issue:

    .sidebar-main-menu .menu {
      display: none;
    }
    .sidebar-menu-wrapper .sidebar-menu-container .sidebar-menu-widgets  {
        margin-top: 0px !important;
    }

    Kind regards,
    Art


      Documentation        Follow on Envato         Like on Facebook

  • theneelrana replied

    Just checked it out, Works great, Thanks Art. Was not expecting a fix so easily, appreciate it man.

    Cheers,

    Neel

  •  707
    Art replied

    You're welcome Neel!

    P.S: If you like our theme, it would help us a lot if you could give us five star rating on themeforest from your Downloads tab.

    A huge thank you from Laborator in advance!

    Kind regards,
    Art


      Documentation        Follow on Envato         Like on Facebook