What's your biggest current challenge? Have your say in Community Polls along the right column.

center tax information on product page

Solved

center tax information on product page

alyhz
Excursionist
21 0 3

https://imanethelabel.com/products/essential-dress?variant=52234317627741

 

how can I center the tax information to the price? it looks a bit too much on the bottom and not at the same height like the price

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
9118 2178 2688

This is an accepted solution.

Hi @alyhz 

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:

 

.product .price__container {
    vertical-align: baseline !important;
}

div#price-template--23992678941021__main {
    margin-top: 1rem;
}

 

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

View solution in original post

Reply 1 (1)

Made4uo-Ribe
Shopify Partner
9118 2178 2688

This is an accepted solution.

Hi @alyhz 

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:

 

.product .price__container {
    vertical-align: baseline !important;
}

div#price-template--23992678941021__main {
    margin-top: 1rem;
}

 

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