Shopify themes, liquid, logos, and UX
Hello everyone, I'm using the Debutify theme. How can I move the "Adauga in cos" button down under the description on featured collection and ensure that the entire text "Adauga in cos' fits. I change the size, it alters all the text on the page and it becomes too small.
Also, I want to add the word 'Pret(Price)' before the price(lei)"
Solved! Go to the solution
This is an accepted solution.
Hi @tepy15
Try this one.
@media only screen and (max-width: 749px){
.card__body.text-center div {
order: 3;
}
span.btn__text {
flex-wrap: nowrap;
}
button.dbtfy-collection-addtocart__button {
white-space: normal;
text-overflow: clip;
}
}
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
To move the ""Adauga in cos"" button below the description in the Debutify theme, you’ll need to edit the theme’s code. Go to Online Store > Themes > Actions > Edit code. Look for `product-template.liquid` or `featured-collection.liquid`. Find the button code and move it beneath the description section.
To ensure the button text fits properly, you can create a custom CSS rule to target just that button instead of the whole text. Add this to your theme.scss.liquid file:
```css
.button-class {
font-size: 16px; / Adjust this size /
}
```
Replace `.button-class` with the actual class of your button.
For adding ""Pret"" before the price, look for the line that displays the price in the same file and modify it like this:
```liquid
{{ 'Pret:' | append: product.price | money }}
```
Hello, unfortunately I didn't manage to :(, i don't find the button code to move it beneath the description section, i search in featured-collection.liquid i don't find , I also searched in product-template.liquid an the same i don't find.
And this code Where do I need to go to modify this code?
I give a "coffe" who help me.
This is an accepted solution.
Hi @tepy15
Try this one.
@media only screen and (max-width: 749px){
.card__body.text-center div {
order: 3;
}
span.btn__text {
flex-wrap: nowrap;
}
button.dbtfy-collection-addtocart__button {
white-space: normal;
text-overflow: clip;
}
}
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025