*

umimo

  • ***
  • 88 posts
How to make like delta theme category select
« on: December 09, 2021, 05:28:09 PM »
close box when city is selected like delta

*

MB Themes

Re: How to make like delta theme category select
« Reply #1 on: December 09, 2021, 05:44:17 PM »
Do you mean category or location box?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

umimo

  • ***
  • 88 posts
Re: How to make like delta theme category select
« Reply #2 on: December 09, 2021, 05:49:29 PM »
Do you mean category or location box?

category

*

MB Themes

Re: How to make like delta theme category select
« Reply #3 on: December 09, 2021, 05:53:09 PM »
There is probably just one extra line to close box after selection lowest category level, would have to dig in code to find it
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

umimo

  • ***
  • 88 posts
Re: How to make like delta theme category select
« Reply #4 on: December 10, 2021, 08:34:02 AM »
no idea. where change element style

overflow: hidden; display: none; opacity: 1; margin-top: 0px; margin-bottom: 0px;

*

MB Themes

Re: How to make like delta theme category select
« Reply #5 on: December 10, 2021, 09:38:49 AM »
@umimo
It is not CSS stuff, but javascript code.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

umimo

  • ***
  • 88 posts
Re: How to make like delta theme category select
« Reply #6 on: December 10, 2021, 03:58:29 PM »
@umimo
It is not CSS stuff, but javascript code.

Find this on global.js

Code: [Select]
$('body').on('click', '.cat-confirm, .loc-confirm', function(e) {
    e.preventDefault();
    $(this).closest('.shower').fadeOut(200);
    $(this).closest('.cat-picker').find('input.term3').removeClass('open');
    $(this).closest('.loc-picker').find('input.term2').removeClass('open');
  });

please check

*

MB Themes

Re: How to make like delta theme category select
« Reply #7 on: December 13, 2021, 03:04:28 PM »
Yes that could be it  ::)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots