Tagged: x
-
AuthorPosts
-
September 16, 2016 at 6:10 am #1178032
AndreiParticipantHi guys,
There is a small problem with the variations select area on my single product page. When I don’t have any variations selected, the variations selection area has a width and when I select one of the variations, the width changes and it pushes “size” text down. I attached and image. I would like the position of the “size” text to be the same. My website is //sinestezic.com
September 16, 2016 at 11:28 am #1178380
Nabeel AModeratorHi there,
Thanks for writing in! Please add the following code in your Customizer via Appearance > Customize > Custom > Edit Global CSS:
.woocommerce div.product .summary .variations .value { padding-right: 0 !important; display: inline-block !important; width: 80% !important; float: right !important; max-width: 320px !important; } .woocommerce div.product .summary .variations select { width: 100% !important; }Let us know how this goes!
September 19, 2016 at 3:46 am #1181046
AndreiParticipantHi Nabeel,
The size field is smaller, but unfortunately the size text still moves down.
September 19, 2016 at 4:06 am #1181068
RadModeratorHi there,
Please replace that CSS with this,
.woocommerce div.product .summary .variations .label { vertical-align: top; }Cheers!
September 19, 2016 at 4:57 am #1181125
AndreiParticipantHi Rad, sorry, but it doesn’t work.
September 19, 2016 at 5:30 am #1181177
ChristianModeratorPlease add the code below in your Appearance > Customize > Custom > Global CSS
.woocommerce div.product .summary .variations select { display: block; float: right; } .woocommerce div.product .summary .variations .reset_variations { display: block !important; }Hope that helps. 🙂
September 19, 2016 at 7:44 am #1181299
AndreiParticipantWorks great. Thank you Christian!
September 19, 2016 at 7:51 am #1181314
JoaoModeratorGlad to hear it,
Have a great day.
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1178032 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
