Product page mobile view advice!

Solved

Product page mobile view advice!

emilyaugstudios
Pathfinder
122 1 58

Hi all, I was wondering if anyone can recommend me the best way to make my size option font slightly smaller, (only on mobile please, I don't want this to effect anything on desktop) so all the options sit on one line together. Any advice would be greatly appreciated!

 

URL – https://927103-16.myshopify.com/products/eden-dress-rose-pink

 

Screenshot 2024-08-20 at 16.51.16.png

Accepted Solution (1)

BSSCommerce-HDL
Shopify Partner
2305 834 907

This is an accepted solution.

Hi @emilyaugstudios ,

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

 

<style>
@media only screen and (max-width: 749px) {
  .variant-picker__option-values label span {
    font-size: 10px !important;
  }
}
</style>

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

Replies 2 (2)

BSSCommerce-HDL
Shopify Partner
2305 834 907

This is an accepted solution.

Hi @emilyaugstudios ,

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

 

<style>
@media only screen and (max-width: 749px) {
  .variant-picker__option-values label span {
    font-size: 10px !important;
  }
}
</style>

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

BSSCommerce-HDL
Shopify Partner
2305 834 907

Or you can try this: 

<style>
@media only screen and (max-width: 749px) {
  .variant-picker__option-values label {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
}
</style>

Here is result:

BSSCommerceHDL_0-1724170020199.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now