Have your say in Community Polls: What was/is your greatest motivation to start your own business?

How do I actually set a container to width 100% in price.liquid?

Solved

How do I actually set a container to width 100% in price.liquid?

anapdeabreu
Excursionist
21 0 10

Já coloquei width:100% no price liquid, mas na verdade não chega a ser 100%, é como se estivesse bloqueando algo.

Já tentei usar max-width:100% e !important, mas não tive resultado estou usando o tema amanhecer

 

anapdeabreu_0-1719582146217.png

 

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
9073 2166 2674

This is an accepted solution.

Hi @anapdeabreu 

Do you mean this one? 

Made4uoRibe_0-1719583561292.png

If it is check this one. 

  1. From you Admin page, go to Online Store > Themes
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. Then place the code below at the very bottom of the file.

 

.price__container {
    width: 100% !important;
}

 

  • And Save. 
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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

View solution in original post

Replies 3 (3)

ProtoMan44
Shopify Partner
615 54 93

@anapdeabreu hey, thanks for posting here.
 can you please share the link to inspect it, thanks.

- A thirsty developer passionate about supporting the community. If you'd like to, you can  

Buy me a Coffee.


- Your Shopify Solution Specialist Get a Quote at

ProtoMan44

 - 

Chat On Whatsapp


Crafting exceptional e-commerce experiences to elevate your online presence. Let's build your success story together!
anapdeabreu
Excursionist
21 0 10

Thanks, be solved.

Made4uo-Ribe
Shopify Partner
9073 2166 2674

This is an accepted solution.

Hi @anapdeabreu 

Do you mean this one? 

Made4uoRibe_0-1719583561292.png

If it is check this one. 

  1. From you Admin page, go to Online Store > Themes
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. Then place the code below at the very bottom of the file.

 

.price__container {
    width: 100% !important;
}

 

  • And Save. 
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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.