DSS5
August 29, 2023, 10:49am
1
hi guys i got few problems in once.
i need to know, if there is any idea which can help me to change ‘product title’ font and size.
also, i need all the variant pills align in middle(justify)
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
In your Shopify Admin go to online store > themes > actions > edit code
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
Moeed
August 29, 2023, 11:05am
3
Hey @DSS5
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
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
DSS5
August 29, 2023, 11:36am
5
thanks guys. but still not sure how to change title font style(only title)?
DSS5
August 29, 2023, 11:37am
6
thanks but how can change title font style (only) ?