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. 'pif-has-gallery' changed

'pif-has-gallery' changed

Scheduled Pinned Locked Moved Shop / WooCommerce
6 Posts 2 Posters 74 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.
  • V Offline
    V Offline
    Villads
    wrote on last edited by
    #1

    Hey Layteam

    I've made an ecom shop using an old plugin as an image-flipper on shop page overview, and it used to work fine.

    However, it seems that something has changed, and now the secondary images are appearing way too big.

    Skærmbillede 2022-07-25 kl. 14.11.01.png

    I made it work with this snip of CSS-code.

    Did you guys change the 'pif-has-gallery' class to something else, or?

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

      noo

      can you post a link?

      1 Reply Last reply
      0
      • V Offline
        V Offline
        Villads
        wrote on last edited by
        #3

        Thanks man!
        Really have a hard time figuring out what has changed. Perhaps a Woo Update?

        https://www.olga-basha.com/shop/
        pw: Jeanz123

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

          what is the name of the plugin you're using for this

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

            use this css

            a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
                position: relative;
            }
            img.secondary-image {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
            }
            

            what is the effect youre trying to achieve?
            maybe i can just code that feature for lay theme.
            have youb tried finding a different plugin?

            i see you're trying to create a shop website nice!
            please collect all shop features / changes you'd like to have as im interested in improving the shop feature

            1 Reply Last reply
            0
            • V Offline
              V Offline
              Villads
              wrote on last edited by
              #6

              The effect i want to achieve is an secondary image on hover for the product overview page.
              The only plug-in that i found that was compatible with woo and lay was:
              WooCommerce Product Image Flipper

              However it has not been updated for a long time, but managed to get it to work before.

              Will try with your css input! Else I’ll get back to you.

              Thanks for your help

              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

              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
              C
              craigfeldspar
              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