How to change button text size

Topic summary

A user needed help changing the font size of buttons in their image banner section on their Shopify store.

Solution provided:

  • Add custom CSS code to the theme’s base.css file
  • Navigate to: Online Store > Themes > Edit Code > Assets > base.css
  • Insert the following CSS at the bottom:
.banner__content .banner__content button {
  font-size: 24px !important;
}

Status: Resolved - the original poster confirmed the solution worked.

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

Please help to change font size inside button in image banner section

https://www.amzammia.co/

@Yevhenii00091

please add below code into your theme assets file called base.css at very bottom.

Online Store > Edit Code > Assets > base.css

.banner__content.banner__content .button {
	font-size: 24px !important;
}

Thanks

1 Like

Thanks a lot!

1 Like

No problem :slightly_smiling_face: Feel free to ask anytime