-
AuthorPosts
-
March 6, 2020 at 8:25 pm #1190978
hi,
I had referred your contact form blog and button blog
What i need is i need to pop up a form (booking form) similar one in Contact form with booking date range (link 1)
on my Package page (link 2).
I have added child theme and added some codes i got from ur websitebut i dont know how to mix all these things in to working ( the contact form 7 look little ugly one with your theme, thats why i choosed your contact form)
and dont know how to add phone number element etc, double coloumns elements with the form too.. i dont know short codes for it
thank you
March 7, 2020 at 8:25 pm #1191157Hey Romovick,
Thank you for the login, I see right now your child theme is not active so the codes in the child theme functions.php are not active.
You can easily create the shortcode needed for your popup by using the Classic Editor and the shortcode wand this will let you use the same tool to create the contact form as on your /contact/ page.
Are you going to be using the “popup anything” plugin for your popups?Best regards,
MikeMarch 8, 2020 at 9:47 am #1191231Hi thank you for the reply,
How can i activate both theme same time? If i activate child theme the main theme will vanished …. so the website too. so i dont know how to do it
i used “popup any thing” as a quick solution. Later i found your theme have that fuction by default. and its fully customisable too As you know popup anything is a free plug in and do not give customisation option much. so i think to use ur theme’s default pop up fuction.
so plz help me
March 8, 2020 at 2:34 pm #1191267Hi,
To switch from your parent theme to the child theme and retain your same settings please follow these steps, first with your parent theme active go to Enfold Theme Options > Import/Export > Export Theme Settings File and download your theme settings file for fallback.
then activate your child theme and ensure your Enfold Theme Options > Performance > JS & CSS file merging and compression is turned off along with any caching plugins, then go to Enfold Theme Options > Import/Export > Import Settings From Your Parent Theme and import, then go to your homepage and clear your browser cache a couple of times and check that the settings have taken effect.
If it doesn’t look quite right then check that your Enfold Theme Options > Performance > JS & CSS file merging and compression is turned off and clear your browser cache a couple of more times.
If still not quite right, then go to Enfold Theme Options > Import/Export > Import Theme Settings File and upload the theme settings file you saved earlier, and clear your browser cache a couple of more times.
This should all work fine the first time, I only added the extra steps “just in case”.I tried to login to your site but got the error
There has been a critical error on your website.if you need help with this then please explain any steps you took that might have caused this and include FTP access, or see if your webhost has a recent backup that you can roll back to.Best regards,
MikeMarch 8, 2020 at 2:43 pm #1191268when i tried to activate child theme. i lost entire website. this happend when tried to activate child them.. now i dont know what to do
March 8, 2020 at 3:42 pm #1191274March 8, 2020 at 4:36 pm #1191277FTP details here
March 8, 2020 at 6:13 pm #1191284Hi,
Thank you for the FTP access, when I checked your site again it was working again, so I activated your child theme and imported your theme settings and checked that it looked correct.
Please clear your browser cache and check.Best regards,
MikeMarch 8, 2020 at 6:48 pm #1191291thank you.. soo much…
Now how can i create a pop up? plz tell me in step by step. coz i am not a developer. just designer by profession. i have added a simple button “book now” what should i do next?
waiting for reply
March 8, 2020 at 7:11 pm #1191295Hi,
First add this code to the end of your functions.php file in Appearance > Editor:function popup_inline() { ?> <script type="text/javascript"> jQuery(window).load(function(){ jQuery('.open-popup-link').magnificPopup({ type:'inline', midClick: true // Allow opening popup on middle mouse click. Always set it to true if you don't provide alternative source in href. }); }); </script> <?php } add_action('wp_head', 'popup_inline');Next add your popup content in a code block at the bottom of your page
<div id="test-popup" class="white-popup mfp-hide"> <p>PLACE CONTENT HERE</p> </div>Then for your links use this format and be sure to target the correct ID’s:
<a class="open-popup-link" href="#test-popup">Show popup</a>To use a button you will need the use the shortcode wand to get the shortcode for the button with the link of
#test-popupand you will have to add the classopen-popup-linkmanually in the shortcode, and then add the shortcode to a code block element were you want the button to show.
Then add this to your Quick CSS:.white-popup { position: relative; background: #FFF; padding: 20px; width: auto; max-width: 500px; margin: 20px auto; }Best regards,
MikeMarch 8, 2020 at 7:27 pm #1191297hi, thankx for the reply
Should i add the above fuction code to the child theme function.php?
and this content in code block?
<div id=”test-popup” class=”white-popup mfp-hide”>
<p>PLACE CONTENT HERE</p>
</div>and in my short code wand, i have Content element, Drop cap1 big letter and drop cap2 only visible… no lay out element or media element visible
March 8, 2020 at 10:49 pm #1191316Hi,
Yes it should be in your functions.php
Yes that is what goes in the code block
I see you were using the “Block Editor” I switched you to the “Classic Editor” and now if you open a new post you will see more in the shortcode wand.Best regards,
MikeMarch 9, 2020 at 6:46 am #1191385hi, thankx for the reply,
hope i did all you said.
but nothing happend.. could you check it ?
March 9, 2020 at 10:47 am #1191420Hi,
I have checked your /two-night-package/ page, getting the custom class “open-popup-link” to be in the “a” of the button can be tricky because normally the button wants to add the class to the “div” of the shortcode, I added the working button code to the top of the code block so you can copy and reuse if you like. If you have multiple popups on the same page you will have to give each a different ID.
Please check the "popup" button.Best regards,
MikeMarch 9, 2020 at 11:51 am #1191437hi, i have checked it, it works,
Ok finally i didi it . I was confused about Short code valt, accidently i got to read one of your thread about it and got the classic editor. Ok.. everything is fine.. only three things
1) The Booking Form Submit button look White. Can we give default theme style to it?
2) I had added some check boxes and before that i want to add a titile. I added it. But doesnt display there
3) The booking form look little legthy . Can we give an in built in scroll bar and the height of the form could limited to 600px?The first question is very important . 2nd also important
waiting for helpMarch 10, 2020 at 9:05 am #1191735helo,
still waiting for reply
March 10, 2020 at 11:42 am #1191771Hi,
1) To change the submit button in the popup, I added this css:#responsive-form .avia_ajax_form input[type="submit"].button { background-color: #000000; color: #ffffff; border-color: #000000; }2) I see your text in the shortcode “Select the Activities You want to Involved in” above the checkboxes, but it’s not wrapped in a title field shortcode, please try building your form again so the title gets the correct shortcode for the fieldset.
3) to add a scrollbar to your popup I added this css to your “.white-popup” class in your Quick CSS:overflow-y: auto; height: 600px; }please clear your browser cache and check.
Best regards,
MikeMarch 10, 2020 at 12:39 pm #1191790wow.. you solved everything… awesome..
Only one more question, While updating the theme, is these changes will go?
or whats the procedure for updating the theme?
March 11, 2020 at 1:41 pm #1192268Hi,
Glad this is working for you.
Since you are using a child theme you will not lose these customizations when you update. For updating it looks like your Envato private token is set and your Theme Updates in your theme option is working correctly. So updating should just be a matter of waiting for the next update to show in your theme update options.
Unless there is anything else we can assist with on this issue, shall we close this then?Best regards,
MikeMarch 11, 2020 at 4:48 pm #1192346nothing mike.. u did an awesome job for me.. thank you kriesi.at team for makin g such a beautiful theme.. you can close the thread now.. havce a nice day
March 11, 2020 at 5:35 pm #1192377Hi Romovick,
Great!
Glad we could help :)
We are closing the thread.
If you need further assistance please let us know in a new one.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.
