From the feature collection section of the homepage, how do I…
-
make the product name bigger,
-
center the product name, price, star ratings
-
make the font size of the crossed-off part of the price the same as the other price?
I’m using the Dawn theme. My website is https://forsetiwatches.com/
This is what it looks like now:
and this is what I want it to look like.
Thank you so much for your help.
Hi @valkyriebg
-
Go to Online Store → Theme → Customize
-
Go to the featured collection and scroll to the custom css section and add the following code
.loox-rating{
display:flex;
justify-content:center;
}
.card__heading{
font-size: 2rem;
}
.card__heading, .price{
text-align:center;
}
.price--on-sale .price-item--regular{
font-size:1.6rem;
}
To make this edit across all featured collections do the following:
*Remember to always make a duplicate of your live theme when making code changes that way you have something to fall back on.
-
Go to Online Store → Theme → edit code
-
find the base.css file & paste the following code at the bottom
.loox-rating{
display:flex;
justify-content:center;
}
.card__heading{
font-size: 2rem;
}
.card__heading, .price{
text-align:center;
}
.price--on-sale .price-item--regular{
font-size:1.6rem;
}
Hello @valkyriebg
You can add code by following these steps
-
Go to Online Store → Theme → Edit code.
-
Open your theme.liquid file
-
Paste the below code before on theme.liquid
ul#Slider-template--23069937860901__featured_collection_znctWE .card__content .card__information {
margin: 0 auto;
}
ul#Slider-template--23069937860901__featured_collection_znctWE .full-unstyled-link{
font-size: 20px !important;
}
ul#Slider-template--23069937860901__featured_collection_znctWE .loox-rating, .price.price--on-sale {
text-align: center !important;
}
ul#Slider-template--23069937860901__featured_collection_znctWE s.price-item.price-item--regular {
font-size: 1.6rem !important;
}
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
HI @valkyriebg
Please add this code to Custom CSS of that section
.card__heading,
.card-information { text-align: center; font-size: 18px; }
.price--on-sale .price-item--regular,
.price { font-size: 18px; font-weight: 600; }