Created
June 29, 2019 18:57
-
-
Save rajucs/fa98a06467c0c50d9c4615861e6813bd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* VERSION 1 - Vertical Scrolling Thumbnails */ | |
| .woocommerce div.product div.images .flex-control-thumbs li { | |
| padding: 5px 5px 0 0; | |
| -webkit-box-sizing: border-box; | |
| box-sizing: border-box; | |
| } | |
| @media (min-width: 420px) { | |
| .woocommerce-page div.product div.images { | |
| display: -webkit-box; | |
| display: -ms-flexbox; | |
| display: flex; | |
| -ms-flex-item-align: center; | |
| align-self: center; | |
| } | |
| .woocommerce div.product div.images .flex-control-thumbs { | |
| -webkit-box-ordinal-group: 0; | |
| -ms-flex-order: -1; | |
| order: -1; | |
| display: -webkit-box; | |
| display: -ms-flexbox; | |
| display: flex; | |
| -webkit-box-orient: vertical; | |
| -webkit-box-direction: normal; | |
| -ms-flex-direction: column; | |
| flex-direction: column; | |
| -webkit-box-flex: 1; | |
| -ms-flex: 1 0 80px; | |
| flex: 1 0 80px; | |
| /* Adjust PX to suit width of thumbnails */ | |
| max-height: 425px; | |
| /* Adjust Height to Image height on desktop */ | |
| overflow: auto; | |
| } | |
| .woocommerce div.product div.images .flex-control-thumbs li { | |
| width: 100%; | |
| padding: 0 10px 10px 0; | |
| } | |
| } | |
| /* VERSION 2 - Horizontal Scrolling Thumbnails */ | |
| .woocommerce div.product div.images .flex-control-thumbs li { | |
| padding: 5px 5px 0 0; | |
| -webkit-box-sizing: border-box; | |
| box-sizing: border-box; | |
| -webkit-box-flex: 1; | |
| -ms-flex: 1 0 25%; | |
| flex: 1 0 25%; | |
| } | |
| .woocommerce div.product div.images .flex-control-thumbs { | |
| display: -webkit-box; | |
| display: -ms-flexbox; | |
| display: flex; | |
| overflow: auto; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment