Dawn Theme - product title font & size - variant pills alignment - wide add to cart button

hi guys i got few problems in once.

  1. i need to know, if there is any idea which can help me to change ‘product title’ font and size.

  2. also, i need all the variant pills align in middle(justify)

  3. how can i wide the size of ‘add to cart’ and ‘buy it now’ button as per text alignment.

can some help me in all these please.

URL - https://deshoeshop.com

check screenshot for more info. THANKS

2 Likes

Hello @DSS5

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find Asset > base.css and paste this at the bottom of the file:
.product__info-container {
text-align: center;
}
.product-form__input .select {
margin: 0 auto;
}
.product-form__input--dropdown {
text-align: center;
max-width: 100%;
}
.quantity {
margin: 0 auto;
text-align: center;
}
.product-form__buttons {
max-width: 100%;
}
.product__info-container>*+* {
text-align: center;
margin: 0 auto;
}

1 Like

Hey @DSS5

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


RESULT:

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

Best Regards,
Moeed

1 Like

Hi @DSS5

Try this one.

  • From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  • Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  • In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.product__title h1 {
    font-size: 35px;
}
variant-selects#variant-selects-template--20675553165605__main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}
select#Option-template--20675553165605__main-0 { padding: 0 100px;}

select#Option-template--20675553165605__main-1 { padding: 0 112px; }

variant-selects#variant-selects-template--20675553165605__main {
    text-align: center;
}

div#Quantity-Form-template--20675553165605__main {
    margin: auto;
    text-align: center;
}

quantity-input.quantity {margin: auto;}

.product-form__buttons {
    max-width: 100%;
}

.product__title h1 {
    font-size: 35px;
}

i hope it help.

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

1 Like

thanks guys. but still not sure how to change title font style(only title)?

thanks but how can change title font style (only) ?