Problems with the pop-up window
-
Hello,
the pop-up window won’t appear clearly, it slips under the design when scroling and you can’t fill out the form (popup)
http://multiformationsst.com/en/schedule-a-training-session/
thank you
-
Hi Alex10media,
CSS File:
bootstrap-apcal.css
CSS File Path:\appointment-calendar\menu-pages\bootstrap-assets\css
CSS Code Line:3359Find below CSS code:
.apcal_modal { position: fixed; top: 50%; left: 50%; z-index: 1050; width: 560px; margin: -250px 0 0 -280px; overflow: auto; background-color: #ffffff; border: 1px solid #999; border: 1px solid rgba(0, 0, 0, 0.3); *border: 1px solid #999; -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px; -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); -webkit-background-clip: padding-box; -moz-background-clip: padding-box; background-clip: padding-box; }Update 2 CSS properties & save file:
position: absolute; top: 30%;Let me know.
Thanks
FrankThank’s, it worked ! But there’s a little part of the drop-down menu that is not showing (select service), you can see here :
http://multiformationsst.com/en/schedule-a-training-session/
thank you again
Hi Alex10media,
Your theme CSS default properties applying on Select box.
Add below inline CSS on Select Service box:
<select id="service" name="service" style="height: 35px; margin-bottom: 10px;">This will fix this. And let me know.
Thanks
FrankI’m sorry but in what file do I add this line ?? in the theme style.css ??
thanks !
Search code line in
appointment-calendar-shotcode.phpfileThanks
FrankHello Frank,
I opened ”appointment-calendar-shotcode.php”, went through the code 2 times and did not find ”<select id=”service” name=”service” style=”height: 35px; margin-bottom: 10px;”>” and woud’nt know where to add it either. There is about 1100 lines of code in there, could you be more specific please.
Thank you very much
Hi Thr,
Find below code line (around line no. 680)
<select name="service" id="service">And replace by below once:
<select id="service" name="service" style="height: 35px; margin-bottom: 10px;">I hope, finally this will fix.
(Do a favor, if our plugin works for you, write your thoughts here. We will grateful for you.)
Kind Regards
FrankWorks fine, thank you,
I will write my positive thoughts on your plugin but I have a new question : when I click on the ”Schdule new appointement” button, in the small calendar, how do I translate the months ? there are strings for months in the po file but only for the big calendar I guess…The big calendar is translated but not the small one…
thank you again
Hi Alex10media,
Could you please send me a snap where you not getting translation?
Thanks
FrankHi Frank,
follow the link, click on the schedule button and you will see, no translation of the months for the small calendar. Is there a way to go faster with this problem, I have to deliver the site this week, maybe by email so that we can manage to resolve the problem quickly.
http://multiformationsst.com/cedulez-une-formation/
thank you
Hello again,
have you found the problem ?
regards,
AlexHi Alex,
Yes, you can go faster by doing this:
File:
calendar_form.php
File Path:plugins\appointment-calendar\calendar\
Code Line:579$months = array("","January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");Translate all month names in above code line and you done.
Thanks
FrankThank you Frank,
just translating this code line changes the months for both languages. I need an english and french calendar so two different set of months. Like I’ve said, there are no strings for these months in the .po file.
What sould I do,
thank you
Hi Alex,
File: calendar_form.php
File Path: plugins\appointment-calendar\calendar\
Code Line: 579 ()There is a tweak we can apply for It.
Make 2 array for both languages
$MonthsArray_1 = "English Month Language Strings Array Here"; $MonthsArray_2 = "French Month Language Strings Array Here"; months = array();get current URL
–Site English URL: http://multiformationsst.com/en
–Site French URL: http://multiformationsst.com/$CurrentURL = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";Check a condition – find
enstring in URLif ( strpos($CurrentURL,'en') !== false ) { //site opened in English assign english month array $months = $MonthsArray_1; } else { //site opened in French assign french month array $months = $MonthsArray_2; }I hope above code will be useful for you solution.
Thanks
Frank
The topic ‘Problems with the pop-up window’ is closed to new replies.