Shortcodes disappear after page resize
-
Hi,
I have some shortcodes on my page which disappear on page resize. (In laytheme only. Gridder plugin is fine :)) )
It seems to be an error on shortcodes append because (as you can see in the linked video) the #lay-shortcode-container is empty after the first append.
Thank you in advance,
Ernesto Bellei -
Dear @ernestobellei
thank you for the video.
Is it possible to also send us a link? Then we can have a look.Best!
Marius
-
Dear @ernestobellei
after changing from mobile back to the desktop mode the Shortcode stops working. You confirm that, right?
Best!
Marius
-
Hi @mariusjopen
It happens also when changing from desktop to mobile.
case 1: loaded desktop version (it works) → then resize to mobile (it works) → then back again to desktop (stop working)
case 2: loaded mobile version (it works) → then resize to desktop (it works) → then back again to mobile (stop working)
I sent you a private message with a link to the page.
Best!
Ernesto
-
Hi @ernestobellei
I saw the page.
I just wanted to fully understand what you mean.Can you post your shortcode here?
Best!
Marius
-
HI @mariusjopen,
do you mean the .zip file?
The problem can be recreated also using a wordpress default shortcode (I inserted a [video] inside the page I sent you).
Best,
Ernesto -
Dear @ernestobellei
when I include a default Wordpress shortcode it works.Can you test:
[audio src="audio-source.mp3"]
.Let me know!
Best!
Marius
-
Hi @mariusjopen
Ok, maybe I found something.
It works only if you don't have a custom phone layout :)I created 4 pages:
→ A page with a DEFAULT wordpress shortcode with a custom phone layout → DOESN'T WORK
→ A page with a DEFAULT wordpress shortcode without a custom phone layout → IT WORKS→ A page with a MY wordpress shortcode with a custom phone layout → DOESN'T WORK
→ A page with a MY wordpress shortcode without a custom phone layout → IT WORKSThe problem comes out only when a custom phone layout is active.
Best :)
Ernesto -
-
Ohhh thanks!
I will check it!
-
-
Whoops! Sorry forgot about this. Will try and fix this soon. :DDD :///
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it