Landkit update 1.10 turns code block into Chinese characters. See fix here

Okay
  Public Ticket #2044678
CALENDAR IS NOT WORKING
Open

Comments

  •  2
    Webswebsider started the conversation

    At the button "cakto konsulten me nje ekspert" i have place a calendar but it doesnt work fine, please can you see it for me?

    thank you

  •  383
    Gabriel replied

    Hi, this is because you're using it in a lightbox and it appears behind it.

    Adding this to Theme Options - Customizations - CSS Global will fix it:

    .datepicker-dropdown {
        z-index: 10000 !important;
    }
  •  2
    Webswebsider replied

    thank you

    i add this code, but don't show calendar at the field.

    thank You

  •  383
    Gabriel replied

    I'm not seeing the code on your page. Can you please check you added it correctly in Theme Options - Customizations - CSS Global?

    Also if you have any cache installed, please flush and disable it.

  •  2
    Webswebsider replied

    yes i have add the code, Please you can see in attachment how it looks

    Attached files:  calendar.JPG

  •  383
  •  2
    Webswebsider replied

    if i don't choose any date it's not good

  •  383
  •  2
    Webswebsider replied

    no, when i choose a date and don't submit the button "send message" but click in the white space,

  •  383
    Gabriel replied

    I understand now. If you click outside the lightbox, the date picker remains.

    Unfortunately this can't be solved. There is already a script that closes the lightbox when you click outside it and another one that closes the datepicker when you click outside it. Both of them can't run in the same time, that's why you need to click outside again to hide it.

    The only solution here would be to create a new page for that form instead of the lightbox, or use a text input instead of date picker and set a label so people know how to complete it (eg. 3 January 2019).

  •  2
    Webswebsider replied

    OK,  i understand

    BUT can modify somthing just not to show calendar after i click in any white space.

    I don't want to show here the calendar

    Attached files:  11.JPG

  •  383
    Gabriel replied

    That's the point.

    There is already a script that closes the date picker when you click outside, and it works well on pages.

    But there is also a script that closes the lightbox when you click outside.

    So when you first click outside, the lightbox closes and datepicker remains with the position set relative to the entire page (that's why it stays in the corner). When you click outside again, date picker closes.

    There are two scripts that run individually.