[Context Theme] How to make the price on product page bold?

Topic summary

A user seeks to make product page prices more readable in the Context theme by increasing font weight, as the default styling appears too thin. Several CSS solutions were attempted unsuccessfully.

Working Solution:

  • Add custom CSS to assets/index.css:
    .data-price-wrapper.meta {
      font-weight: bold;
    }
    
  • Alternative approach involves adding styled code before the </body> tag in theme.liquid, allowing customization of font size (15px mobile, 20px desktop) and color

Key Details:

  • The issue affects readability for users with vision difficulties
  • Initial attempts targeting .data-product-price span and .data-product-price p with font-weight: 600 or font-weight: 700 !important did not work
  • Solution confirmed working by original poster

Related Questions:

  • One user asks if the solution applies to the Expanse theme
  • Another inquires about making prices bolder specifically on mobile devices

Both follow-up questions remain unanswered.

Summarized with AI on November 13. AI used: claude-sonnet-4-5-20250929.

@Melody12 ,

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. In your theme.liquid file, find the (press CTRL + F or command + F on Mac)
  3. paste this code right above the tag:

You can change the values as per your wish:

#000000 = color, use any hex color you wish
20px = font size on desktop
15px = font size on mobile

Kind regards,
Diego

1 Like