How can I change the default variant size for just rings

Topic summary

Goal: Set ring size 52 as the default selected variant on the product page (currently defaults to 48).

Key details shared:

Attempts and outcomes:

  • A CSS suggestion (changing li.HorizontalList__Item font-size) was provided but does not affect default variant selection.
  • A theme.liquid change was suggested to make 52 appear selected; the requester confirmed it visually worked. However, when adding to bag, the cart still adds size 48, indicating only the UI highlight changed, not the actual selected variant.

Technical note:

  • Proper default variant selection requires JavaScript that updates the product form’s selected variant so the Add to Cart action uses size 52, not just a visual highlight.

Current status:

  • Issue remains partially resolved (visual selection updated, functional selection not). Screenshots and code references were shared.

Next steps:

  • Helper requested collaborator access to review theme files and implement the necessary JS logic. Requester agreed and asked them to initiate the access request.

Resolution: Pending; awaiting collaborator access and JS fix.

Summarized with AI on January 16. AI used: gpt-5.

Hi,

I want to change the default variant ring size from 48 to 52 on the PDP.

Thanks

1 Like

Hello There,

Please share your store URL and password.
So that I will check and let you know the exact solution here.

Hi @JKIRK

Can you please share store URL?

Hey @JKIRK

Could you please provide your Store URL and, if applicable, the Password too? Your cooperation is greatly appreciated!

Best Regards,
Moeed

Hi @Moeed @laddisahsi @ZestardTech the store URL is https://www.apm.mc/

Hello There,

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find Asset > theme.css and paste this at the bottom of the file:
li.HorizontalList__Item {
font-size: 17px!important;
}

Hi @ZestardTech I want the default option highlighted to be 52 instead of 48 for the variant

Hi @JKIRK

You can follow the following steps:

  1. Please go to the Online Store
  2. Then Edit Code
  3. Please find the theme.liquid file
  4. And add the following code in theme.liquid file above the tag

If this solution is worked, then please Like this and Mark this as accepted solution!

Laddi

Thanks @laddisahsi it worked but when I add to bag it’s still 48 size

@JKIRK

To select the variant have to add jS accordingly for this have to check the File code according to theme.

It would be great if you can provide collab access.

Thanks

Hi @laddisahsi ,

Thanks, can you request access?