How to adjust variant selection text width in Prestige theme?

Solved

How to adjust variant selection text width in Prestige theme?

sshah1
Tourist
4 0 2

Hello!

 

I'm experiencing an issue on the Prestige theme where the text for my variant options exceeds the size of the drop-down box on the product page.

 

Example:

 

sshah1_0-1677881621299.png

 

I'm not sure where to look in the code or theme css to resolve. Any suggestions are much appreciated!

Accepted Solution (1)
made4Uo
Shopify Partner
3873 718 1217

This is an accepted solution.

@sshah1,

 

 

 

Thank you for the information. Please follow the instructions below

 

1. From your Admin page, go to Online store > Themes > click the three dots > Edit code

2. Find the Asset folder, and open the theme.css file

3. Add the code below at the very end of the file

button.ProductForm__Item {
    width: max-content;
}

 

4. Make sure to SAVE

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free

View solution in original post

Replies 4 (4)

made4Uo
Shopify Partner
3873 718 1217

Hi @sshah1 

 

Please provide your website so we can provide a code specific for you

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free
sshah1
Tourist
4 0 2

simongjewelry.com

 

Thank you!

made4Uo
Shopify Partner
3873 718 1217

This is an accepted solution.

@sshah1,

 

 

 

Thank you for the information. Please follow the instructions below

 

1. From your Admin page, go to Online store > Themes > click the three dots > Edit code

2. Find the Asset folder, and open the theme.css file

3. Add the code below at the very end of the file

button.ProductForm__Item {
    width: max-content;
}

 

4. Make sure to SAVE

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free
sshah1
Tourist
4 0 2

Awesome, that worked - thank you!