How to increase product font size on Craft Theme

Topic summary

A user seeks to increase and center product font sizes on their Shopify store using the Craft theme.

Solutions provided:

  • Option 1: Add custom CSS code to the theme.liquid file, placing it above the </body> tag
  • Option 2: Insert code at the bottom of layout/theme.liquid before the closing body tag
  • Option 3: Modify Base.css by adding CSS targeting .card__information for center alignment and .card__heading for font size (20px)

All three responses offer code-based solutions involving either the theme.liquid file or Base.css stylesheet. The original poster expressed gratitude, suggesting they found the assistance helpful.

Note: Some text in responses appears corrupted or reversed, but the core technical guidance remains clear—custom CSS modifications to theme files are needed to achieve the desired styling changes.

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

Hi, I’m looking to increase and center the font size on my products. Thank you!

Hey @planandstick

Follow these Steps:

  1. Go to Online Store
  2. Edit Code
  3. Find theme.liquid file
  4. Add the following code in the bottom of the file above tag

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

1 Like

@planandstick

Please add the following code to your layout/theme.liquid before the


Thanks!

tag bottom of file.
1 Like

@planandstick
Hello,

Add This CSS GO to Admin > Edit Code > Base.css

.card__information {
	text-align-last: center;
}
.card__heading {
	font-size: 20px;
}

1 Like

thank you so much for your help!