mobile format + 3js html issue
-
hello, i've just added a 3js script to one of my pages and everything seems to be working fine. however when i add the same script to the mobile layout, instead of seeing it on mobile, i just see 2 of the same containers on my desktop site. is it something to do with my code?
i've currently removed it from the mobile page in order for the desktop page to display correctly, but i can redo it if/when needed.
here's the page: senoglu.co/contact
-
hello!
the custom phone layout does the following:
it adds another markup that is only shown on phone.
and the desktop markup is shown on desktop.so basically you have code for both, so if u put something into both.
then it is there twice in your website.this can be problematic if some code expects some markup to only exist one time on the page.
a workaround can be to not use a custom phone layout, by deleting it:

or if you can, code it in a way where it works
-
thank you armin, deleted the phone layout and it seems to work fine.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login