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. 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 750 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.
  • L
    L
    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
      arminunruhA
      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
        L
        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
          L
          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

          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
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          Online Users
          L
          lstark
          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