Shopify themes, liquid, logos, and UX
Hey, i just made my store and i want my product text and product price in line and i have tried everything.
Example: BODY WASH €19
Would appreciate it if you would help me.
Theme is Sense
Solved! Go to the solution
This is an accepted solution.
Check this one,.
.card-information .price {
margin-top: 0px !important;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
@PRETTYFRIDAYS , Go to Component-card.css and add the following :
.card--standard>.card__content .card__information {
padding-left: 0;
padding-right: 0;
display: flex !important;
justify-content: space-between !important;
align-items: center !important;
}
.card-information {
width: auto !important;
}
Where in the file?
In you theme files, choose edit code and search for component-card.css file
yes i know, but where in the file? On the bottom?
Yes, in the bottom.
thanks!
Glad it helped, feel free to contact me if you run into any problems in the future.
Hey @Abdosamer, i have one question. The price shows a little bit lower than the title. How do i change this?
This is an accepted solution.
Check this one,.
.card-information .price {
margin-top: 0px !important;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Add the following code :
.card-information .price{
margin-top :0 !important;
}
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025