Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Bug Reports
  3. mobile format + 3js html issue

mobile format + 3js html issue

Scheduled Pinned Locked Moved Bug Reports
3 Posts 2 Posters 44 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    emresenoglu
    wrote last edited by emresenoglu
    #1

    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

    senoglu.co // archimats.com

    1 Reply Last reply
    0
    • arminunruhA Offline
      arminunruhA Offline
      arminunruh
      Global Moderator
      wrote last edited by
      #2

      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:

      image.png

      or if you can, code it in a way where it works

      1 Reply Last reply
      1
      • E Offline
        E Offline
        emresenoglu
        wrote last edited by
        #3

        thank you armin, deleted the phone layout and it seems to work fine.

        senoglu.co // archimats.com

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        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:
        1. When using a WordPress Cache plugin, disable it or clear your cache.
        2. Update Lay Theme and all Lay Theme Addons
        3. Disable all Plugins
        4. 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:
        1. Post a link to where the problem is
        2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
        3. If the problem is difficult to explain, post screenshots / link to a video to explain it
        Online Users
        F
        fernandol97
        A
        alasdair17
        N
        Nzagamba
        Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
        laytheme.com
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Recent
        • Tags
        • Popular
        • Users
        • Search