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. Calculation img-sizes on single-product-page

Calculation img-sizes on single-product-page

Scheduled Pinned Locked Moved Shop / WooCommerce
4 Posts 2 Posters 81 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.
  • L Offline
    L Offline
    loopkeramik
    wrote on last edited by
    #1

    Hi there,
    first - i checked your list before posting:

    • lay theme is current version
    • lay addons (full size slider) is current version
    • all plugins disabled
    • no custom CSS&HTML

    second - the issue:
    When using the single product page with a media-size from 600px or less width, the theme calculates image sizes wrong.
    You can check it here or any other single product page:
    https://www.loopkeramik.de/product/mueslischale-loop/

    First Pictures shows behaviour when using device resolution more than 600px
    Bildschirmfoto 2024-08-24 um 11.14.23.jpg

    2nd Pictures shows behaviour when using device resolution less or equal 600px.
    Img sizes are calculated as 33554398 × 33554398 px (33 Mio. px )

    Bildschirmfoto 2024-08-24 um 11.21.40.jpg

    You got any ideas how to get the issue fixed?
    Thanks a lot.

    You want to check yourself:
    https://www.loopkeramik.de/product/mueslischale-loop/

    Best regards and thanks a lot in advance!

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

      oh! sorry about that. i will release an update now that fixes this.

      You can also just add this CSS in Lay Options → Custom CSS & HTML → Custom CSS:

      .product{
      max-width: 100vw;
      }
      
      1 Reply Last reply
      0
      • L Offline
        L Offline
        loopkeramik
        wrote on last edited by
        #3

        Thanks a lot for your help, i will check out the Update.

        1 Reply Last reply
        0
        • L Offline
          L Offline
          loopkeramik
          wrote on last edited by
          #4

          After installing the new theme-version the issue is fixed, thanks a lot for your help.

          1 Reply Last reply
          1
          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

          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
          O
          oli
          P
          piranha
          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