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. More space for lots of variations

More space for lots of variations

Scheduled Pinned Locked Moved Shop / WooCommerce
6 Posts 4 Posters 264 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.
  • willcanningW Offline
    willcanningW Offline
    willcanning
    wrote on last edited by
    #1

    Hey all!

    Love the shop feature. Everything is working great for me. I was wondering however if the variation dropdowns could be expanded + some padding added at the bottom of the page. Sometimes a few sizes are cutting off on a site I am making for a jeweller. Obviously it's not really the norm to have 14+ sizes but something that I've run into which I thought would be good to mention.

    Example here: http://box2016.temp.domains/~aistudi3/product/triangle-band/

    Thank you!

    willcanningW 1 Reply Last reply
    0
    • willcanningW willcanning

      Hey all!

      Love the shop feature. Everything is working great for me. I was wondering however if the variation dropdowns could be expanded + some padding added at the bottom of the page. Sometimes a few sizes are cutting off on a site I am making for a jeweller. Obviously it's not really the norm to have 14+ sizes but something that I've run into which I thought would be good to mention.

      Example here: http://box2016.temp.domains/~aistudi3/product/triangle-band/

      Thank you!

      willcanningW Offline
      willcanningW Offline
      willcanning
      wrote on last edited by
      #2

      Checking in here!

      1 Reply Last reply
      0
      • RichardR Offline
        RichardR Offline
        Richard
        Global Moderator
        wrote on last edited by Richard
        #3

        Dear @willcanning

        This thread got past me, sorry for such delay šŸŒ

        I dont believe there are any built in options e.g customizer that change this.

        We run into things like this:

        Screen Shot 2021-08-25 at 2.25.33 PM.png


        Will forward to Armin for his knowledge āœ…


        Screen Shot 2021-08-25 at 5.38.53 PM.png
        using negative units to push the selection box upwards is an option E.g -140px - this way the whole selection is in view at least for user interface.


        A short-term solution could be adding some Custom Code extending the margins when needed. Here is a very basic Example: that would need to be altered. Text Formats could also be taken advantage of as they are used in the Customizer settings > Single Product > Variations Selectbox Text Format >

        jQuery(".lay-woocommerce-variations-select").click(function()     { 
            jQuery('.lay-woocommerce-variations-select').each(function(i) {
        
                 var margin = jQuery(this).css('margin-bottom');
                 if (margin == '20px') {
                    jQuery(this).css ({'margin-bottom':'500px'});
                }
            });
        });
        

        Screen Shot 2021-08-25 at 2.41.06 PM.png


        Best wishes Will šŸ–
        Richard
        1 Reply Last reply
        0
        • arminunruhA Offline
          arminunruhA Offline
          arminunruh
          Global Moderator
          wrote on last edited by
          #4

          interesting. sorry for the very delayed response, had to take a break from working.
          I'll think about this!

          I think a different way of showing variants would be useful. Not showing them in a dropdown, but as just boxes that can be selected, side by side.

          1 Reply Last reply
          1
          • K Offline
            K Offline
            KNOWN AS
            wrote on last edited by
            #5

            Hey there,
            I have a simliar problem with the dropdown on the product pages. If the product information is too long, you can't reach the size L or XL in the dropdown. I tried all the Variation Swatches Plugins to change the dropdown to boxes, but it doesn't work. Do you have any idea for that problem? Or did you think about showing variants in other ways again? :)
            You can see the problem here: https://sleepovereurope.com/produkt/pinstripepants/

            P.S. I know the problem wouldn't exist if the text on the right side wouldn't be sticky, but I think its quite usefull to see the information while scrolling through the pictures on the left.

            1 Reply Last reply
            0
            • arminunruhA Offline
              arminunruhA Offline
              arminunruh
              Global Moderator
              wrote on last edited by arminunruh
              #6
              .lay-woocommerce-variations-select-selected-list > div{
              height: 30px!important;
              line-height: 30px!important;
              }
              

              this just makes it flatter

              is that ok for u?

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