button text size

Hello, I would like to change just the shop all buttons text size in dawn theme and leave all other buttons as they are, is that possible?

Hey Javaine,
Yes, it’s definitely possible to change the text size for just the “Shop All” buttons in the Dawn theme while keeping all other buttons unchanged. You can achieve this by adding some custom CSS targeting only those specific buttons by assigning the unique class using Liquid code.
I can help refine the code further. Let me know if you need step-by-step guidance!

Best,
Shubham

Hello @javaine ,

Regarding your requirement, it’s definitely possible to change just the “Shop All” button text size in the Shopify Dawn theme without affecting other buttons. Here are the methods:

  1. Identity The button has a class like .shop-all-button, you can add custom CSS in base.css:
.shop-all-button { 
       font-size: 18px !important;}
  1. If there is no unique class, you’ll need to add one manually
    Go to your Shopify Admin > Online Store > Themes > Actions > Edit Code.
    Locate the section or snippet where the “Shop All” button is coded (for example, main-collection.liquid, featured-collection.liquid, or button.liquid).
    Modify the button code to include a custom class, like this:

Now, go to Assets > base.css and add:

.shop-all-button {
       font-size: 18px !important; }