• Customer

    Header Style 06 - how load cloased menu?

    Posted by: webagency_kootj Aug 24, 2020 at 15:50 (3 year ago)
    hi, i see that on your ayvo demo https://ayvo.kutethemes.net/ on load menu is closed. I think that this is due to popup. I haven't popup on my page but i would like to load a closed menu (header 06) but i can't see option on your theme panel.

    i need to do code customization?

  • Customer

    Posted by: yame, Aug 25, 2020 at 02:05 (3 year ago)

    Hi @webagency_kootj,

    Could you please take the screenshot for your question? I would like to understand clearly what you mean.
    And provide me your admin + FTP account then I will check for you

    Regards,
    Yame
  • Customer

    Posted by: webagency_kootj, Aug 30, 2020 at 15:39 (3 year ago)

    hi, i found a easy solution, we can override header 06 template file from child theme adding "close" class to html menu elements:)
  • Manager

    Posted by: yame, Aug 31, 2020 at 10:12 (3 year ago)

    It's so great. So do you need any helps with this ticket?
    If not, may I close it? Thank you!
  • Customer

    Posted by: webagency_kootj, Sep 23, 2020 at 17:27 (3 year ago)

    hi, one more thing.

    When we click on an element page, menu is closing automatically due to this code in frontend.min.js (isn't a bug but a normal behavior)

    $(document).on('click', function (event) {
    var _target = $(event.target).closest('.ovic-dropdown'),
    _parent = $('.ovic-dropdown');
    if (_target.length > 0) {
    console.log(_target.length);
    _parent.not(_target).removeClass('open');
    if (
    $(event.target).is('[data-ovic="ovic-dropdown"]') ||
    $(event.target).closest('[data-ovic="ovic-dropdown"]').length > 0
    ) {
    _target.toggleClass('open');
    event.preventDefault();
    }
    }
    else {
    $('.ovic-dropdown').removeClass('open');
    }
    });

    to prevent this is need to comment this part of code:

    /* else { $('.ovic-dropdown').removeClass('open'); } */

    but i won’t lose this fix next update. So is there a way to override this code safely ?
  • Manager

    Posted by: yame, Sep 25, 2020 at 09:16 (3 year ago)

    If you don't want to lose all your changes, you should backup all. Because when you update the theme, all your changes/customization will be lost (we do not have these changes in the theme).
    The unique way is doing the backup.Then after finishing the update, you can add back

    Regards,
    Yame
  • Customer

    Posted by: webagency_kootj, Oct 5, 2020 at 14:39 (3 year ago)

    do you think that in next release we could have a function to turn off this behavior?
  • Manager

    Posted by: yame, Oct 8, 2020 at 09:55 (3 year ago)

    Dear,

    We develop the theme basing on the default design, you know?
    However, we will think about it. Thanks for your comment

    Regards,
    Yame

INSTALLATION SERVICE

Theme Installation: $49. Pay now

CUSTOMIZED SERVICES

Use our expert service to turn your ideas into reality. Please send an email to kutethemes@gmail.com to provide the more detailed information. Thanks!

WORKING TIME

Our support service works from Monday to Friday.
Mean time (GMT +7):
+ 7:30 - 11:30 AM
+ 1:30 - 5:30 PM
We will try to answer all the questions within 24 hours and solve them as quickly as possible