Home Forums WoodMart support forum popup contact forms falling out of popup button

popup contact forms falling out of popup button

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #284152

    [email protected]
    Participant

    An issue I noticed after doing the theme update, is that

    #284153

    [email protected]
    Participant

    An 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/

    #284278

    Hello,

    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

    #285294

    [email protected]
    Participant

    I 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.
    #285433

    Hello,

    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 Studios

    #285452

    [email protected]
    Participant

    what do you mean by activate the parent theme?

    #285492

    [email protected]
    Participant

    I 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 there

    Attachments:
    You must be logged in to view attached files.
    #285549

    Hello,

    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

    #285572

    [email protected]
    Participant

    Thank you. I did that but issue still there

    #285829

    Artem Temos
    Keymaster

    Try 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();
    }
    #286164

    [email protected]
    Participant

    I didn’t make a child theme because I don’t know how and didn’t think I needed it. I’m not a developer

    #286181

    Artem Temos
    Keymaster

    In this case, you can wait for the next update when we fix this problem in our theme core.

    Kind Regards

    #286182

    [email protected]
    Participant

    Huh? 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?

    #286544

    Artem Temos
    Keymaster

    We are going to release our update in a few days.

Viewing 14 posts - 1 through 14 (of 14 total)