Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • 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. Shop / WooCommerce
  3. "Related Products" on touch devices

"Related Products" on touch devices

Scheduled Pinned Locked Moved Shop / WooCommerce
5 Posts 2 Posters 44 Views
  • 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.
  • A Offline
    A Offline
    Aleksandar
    wrote on Mar 3, 2025, 8:05 AM last edited by
    #1

    Hey Armin,

    the shop is awesome! Everything works great. I just noticed one minor thing on touch devices — the Related Products section is very sensitive and can be moved in all directions. It would be cooler if it only moved left or right. :-D

    Video

    All best
    Aleks

    1 Reply Last reply
    0
    • A Offline
      A Offline
      arminunruh
      Global Moderator
      wrote on Mar 3, 2025, 3:55 PM last edited by
      #2

      :D haha that looks funny!

      .lay-woocommerce-related-products-scroller {
      		overflow-x: scroll;
      		overflow-y: hidden;
      		-webkit-overflow-scrolling: touch;
      }
      

      if you use this css in Enter this css in "lay options" -> "custom css & html" -> "custom css for mobile"

      does that fix it?
      will put this in the next update

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Aleksandar
        wrote on Mar 4, 2025, 7:18 AM last edited by
        #3

        YES!! :-D It’s fixed! Thank you!

        1 Reply Last reply
        0
        • A Offline
          A Offline
          Aleksandar
          wrote on Mar 6, 2025, 7:18 AM last edited by Aleksandar Mar 6, 2025, 2:19 AM
          #4

          Hey Armin! I see you’ve made a new update! But now I see a similar issue on the iPad. Somehow, the whole page moves with touch, but only on the iPad. On the phone, everything is fine.

          I hope it’s just a minor fix. :-)

          Check the video .

          All best
          Aleks

          1 Reply Last reply
          0
          • A Offline
            A Offline
            arminunruh
            Global Moderator
            wrote on Mar 11, 2025, 2:33 PM last edited by arminunruh Mar 11, 2025, 10:34 AM
            #5

            Screenshot 2025-03-11 at 15.25.14.png

            thats weird. for my last update, i only added these two lines of css.

            ok so i looked into it more.

            it seems like the left and right scroll feature for related products is only active for the phone version. this is how i coded it for lay theme.

            https://aleksandartodorovic.com/product/roma/

            in your video and here (link), there are not even enough related products for it to be able to scroll left and right.

            if you have had products, on desktop and tablet, they would just show on top of each other / have a linebreak. thats the standard behaviour.

            so to summarize everything works correctly at the moment. left right scroll for related products is only possible for the phone version.

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

            3/5

            Mar 4, 2025, 7:18 AM


            I also code custom websites or custom Lay features.
            💿 Email me here: 💿
            info@laytheme.com

            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
            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.
            3 out of 5
            • First post
              3/5
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Search