Home › Forums › WoodMart support forum › popup contact forms falling out of popup button
popup contact forms falling out of popup button
- This topic has 13 replies, 3 voices, and was last updated 4 years, 2 months ago by
Artem Temos.
-
AuthorPosts
-
April 19, 2021 at 12:24 am #284152
[email protected]ParticipantAn issue I noticed after doing the theme update, is that
April 19, 2021 at 12:36 am #284153
[email protected]ParticipantAn issue I noticed after doing the theme update, is that on a couple of my pages with popup contact forms, when I go to that page (front end) the contact form is visible though only the button should be visible. After I hit F5 it ‘fixes’ itself and displays how it should. Please see screenshot. I thought this was fixed but it happened again. BUT it’s currently behaving as it should on other computer so I don’t know if it’s just my computer somehow.
https://www.facepaintworld.com.au/test-site/faq/
https://www.facepaintworld.com.au/test-site/shipping-info/April 19, 2021 at 10:32 am #284278
Aizaz Imtiaz AwanKeymasterHello,
Sorry but currently I am unable to see the screenshot you attached and also unable to visit your website it is displayed Access Denied.
Screenshot for Clarification: https://ibb.co/7yk3Z4M
Please provide correct logins and also make sure that you have added the screenshot correctly to check it myself and help you out accordingly.
Best Regards
April 22, 2021 at 2:56 am #285294
[email protected]ParticipantI thought maybe it was just my laptop, but it’s just happened on phone and second laptop too. It doesn’t happened every time though. When I first go to the page sometimes it’s fine and sometimes it’s not. When I make a change on backend and save, then refresh the page front end, it often then has the problem – which then goes away when I refresh a second time.
It’s not just pop-up contact form, it’s also other pop-up, and carousels.
There’s a review carousel at bottom of this page – https://www.facepaintworld.com.au/test-site/us/ which usually works but a couple of times when I have gone to that page it only shows 2 (not 3) boxes/reviews, doesn’t move and doesn’t show navigation arrows. After refreshing page it was fine.Similar on this page, the image carousel was not right a couple of times.
The issues are there consistently so it’s a puzzle!
Attachments:
You must be logged in to view attached files.April 22, 2021 at 8:40 am #285433
Aizaz Imtiaz AwanKeymasterHello,
Please deactivate all the third party plugins, activate the parent theme, clear the cache and check back.
If the problem continues then leave the plugins deactivated and tell me then we will troubleshoot with default plugins.
Regards.
Xtemos StudiosApril 22, 2021 at 9:12 am #285452
[email protected]Participantwhat do you mean by activate the parent theme?
April 22, 2021 at 10:22 am #285492
[email protected]ParticipantI deactivated all third party plugins (except Staging plugin which is needed). I updated the plugins the theme needs. I’m not using a child theme. I cleared cache.
Problem is still thereAttachments:
You must be logged in to view attached files.April 22, 2021 at 12:29 pm #285549
Aizaz Imtiaz AwanKeymasterHello,
You are using the old PHP version. Please update the PHP version to 7.4 or higher and also update wordpress to the latest version.
Then clear cache and check back.
Best Regards
April 22, 2021 at 1:27 pm #285572
[email protected]ParticipantThank you. I did that but issue still there
April 23, 2021 at 8:24 am #285829
Artem TemosKeymasterTry to add the following PHP code snippet to the child theme functions.php file to fix this
function woodmart_shortcode_popup( $atts, $content = '' ) { $parsed_atts = shortcode_atts( array( 'id' => 'my_popup', 'title' => 'GO', 'link' => '', 'width' => 800, 'color' => 'default', 'style' => 'default', 'shape' => 'rectangle', 'size' => 'default', 'align' => 'center', 'button_inline' => 'no', 'full_width' => 'no', 'bg_color' => '', 'bg_color_hover' => '', 'color_scheme' => 'light', 'color_scheme_hover' => 'light', 'woodmart_css_id' => '', 'css_animation' => 'none', 'el_class' => '', 'content_class' => '', 'icon_fontawesome' => '', 'icon_openiconic' => '', 'icon_typicons' => '', 'icon_entypo' => '', 'icon_linecons' => '', 'icon_monosocial' => '', 'icon_material' => '', 'icon_library' => 'fontawesome', 'icon_position' => 'right', ), $atts) ; extract( $parsed_atts ); ob_start(); $parsed_atts['link'] = 'url:#' . esc_attr( $id ) . '|||'; $parsed_atts['el_class'] = 'wd-open-popup ' . $el_class; woodmart_enqueue_js_library( 'magnific' ); woodmart_enqueue_js_script( 'popup-element' ); woodmart_enqueue_inline_style( 'mfp-popup' ); echo woodmart_shortcode_button( $parsed_atts , true ); $content_classes = ''; $content_classes .= woodmart_get_old_classes( ' woodmart-content-popup' ); if ( $content_class ) { $content_classes .= ' ' . $content_class; } echo '<div id="' . esc_attr( $id ) . '" class="mfp-with-anim wd-popup mfp-hide' . $content_classes . '" style="max-width:' . esc_attr( $width ) . 'px;"><div class="wd-popup-inner">' . do_shortcode( $content ) . '</div></div>'; return ob_get_clean(); }
April 24, 2021 at 8:08 am #286164
[email protected]ParticipantI didn’t make a child theme because I don’t know how and didn’t think I needed it. I’m not a developer
April 24, 2021 at 9:07 am #286181
Artem TemosKeymasterIn this case, you can wait for the next update when we fix this problem in our theme core.
Kind Regards
April 24, 2021 at 9:16 am #286182
[email protected]ParticipantHuh? When will that be? Other than this issue I’m am ready for site to go live. I don’t want to wait weeks or months for next update. Seems this issue occurred with last update. Can/should I somehow remove that update? Would that fix it?
April 26, 2021 at 6:06 am #286544
Artem TemosKeymasterWe are going to release our update in a few days.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register