Happening now | Shopify Community AMA: User Research with CXL | Ask your questions now!

Add to card move debutify theme

Solved

Add to card move debutify theme

tepy15
Tourist
11 0 3

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)"

1222222222222222.png

 

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
10102 2399 3033

This is an accepted solution.

Hi @tepy15 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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:

 

@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;
}
}

 

  • And Save.
  • Result:
    Made4uoRibe_0-1729862039706.pngMade4uoRibe_1-1729862056194.png

     

 

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

Replies 3 (3)

Entaice
Trailblazer
160 10 43

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 }}
```

 

You can increase your revenue by 5% by replacing Shopify's default sorts. Test for free. **Show me how**
tepy15
Tourist
11 0 3

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.

Made4uo-Ribe
Shopify Partner
10102 2399 3033

This is an accepted solution.

Hi @tepy15 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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:

 

@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;
}
}

 

  • And Save.
  • Result:
    Made4uoRibe_0-1729862039706.pngMade4uoRibe_1-1729862056194.png

     

 

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.