ecwid shortcode mobile not visible
-
Hi laythemers...
i tried an embed and the desktop works fine, but on mobile its not visible: https://shorturl.at/jy3Yhtheir customer support sent me this:
@media screen and (max-width: 768px) {.ec-size .ec-store .grid__products[data-cols="3"] .grid-product:nth-child(n+1) {
width: 50% !important;
}}it worked for a minute, then stopped working.
Happy for any tipps, advice.
best RD
-
nice!
probably it works if you delete the custom phone layout
oftentimes shortcodes of plugins dont work when they are inserted twice on the same page.
when using a custom phone layout, you basically have the "same" code twice in your website markup
you could also try creating 2 different ecwid embeds so you have 2 different shortcodes and then put one in the desktop layout and one in the phone layout
but yea probably the easiest way to do it is just:
delete phone layout:
-
thanks armin! works perfectly.
all the best.
I also code custom websites or custom Lay features.
šæ Email me here: šæ
info@laytheme.com
Our Web Development company: 100k.studio
Want to tip me? https://www.paypal.com/paypalme/arminunruh
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