Hi,
You all have been a great help!
I am editing the Pursuit theme and would like to make the variable drop down wider. Any idea where and how to do this?
Hi
Any chanse yo ucould sharea link to your site?
I checked the demo, and it does not look the same as yours, and none od product Isaw did not have a dropdown.
Hi, Does this link work for it? It’s not published yet
That did it… Thank you!
Will this work on other themes as well?
Happy to help
. I don’t believe this snippet will work on other themes, because each theme has its own way of naming its components, and the .single-option-selector in my CSS snippet translates to “make this specific selector with THIS NAME wider”. If you had another theme in mind, it would be very easy for me to rewrite the CSS for that theme, though. It would literally take a few seconds.
Hi Kory, Thank you for the help…
It would be these two themes
It’s the Empire and Spoke theme
Okay, for Spoke, this is the correct CSS:
.product-form-input.product-form-input-dropdown {
width: auto;
min-width: 500px;
}
I put 500px to make it bigger. You can make that number bigger or smaller to control the width.
And for Empire:
.options-selection__input-select {
min-width: 500px;
}
Where it’s the same deal. Adjust the number to adjust the size.
I tried it on Empire, but it did not change anything. Paste it at the bottom of theme.css.liquid correct?
You need to be careful with min-width, as on mobile, it would not look good.
My bad. Use this one instead for Empire:
.options-selection__select {
width: 500px;
}
And yes, just paste that at the bottom of the theme.css.liquid.
Thank you Kory. The one for Pursuit worked but so far not for Empire
That’s so strange. I downloaded the CSS off your site, and I don’t see the CSS you added. For Empire, instead of editing the theme CSS file, let’s try the “Custom CSS” feature instead (documented here).
Go to Online Store > Themes > Customize
Click the Theme settings icon (the paintbrush)
Scroll down to Custom CSS
Paste this:
.options-selection__select {
width: 500px;
}
Let me know if that works, please. I’ll make sure we get this working for you.
That worked. Thank you!