We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

How to Center Title Text on Cart Page

Solved

How to Center Title Text on Cart Page

jonnbama
Tourist
11 1 2

I am trying to find a way to center the text "Your Shopping Cart" (left to right) at the top of my shopping cart page.  

 

LuxxJunkie.com

Latest Dawn Theme

Pass: Testing1234

 

Any help is greatly appreciated.

 

 

Cart.png

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
10211 2427 3079

This is an accepted solution.

Hi @jonnbama 

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:

 

cart-items .title-wrapper-with-link {
    justify-content: center;
}

cart-items a.underlined-link {
    display: none;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1732398448171.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 4 (4)

DanCodes
Shopify Partner
55 9 7

Hi @jonnbama ,

 

1. Go to Online Store.

2. Click Edit code.

3. Find the Assets folder.

4. Find the file base.css.

5. Add code below:

 

cart-items .title.title--primary {
width: 100%;
text-align: center;
}

Made4uo-Ribe
Shopify Partner
10211 2427 3079

This is an accepted solution.

Hi @jonnbama 

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:

 

cart-items .title-wrapper-with-link {
    justify-content: center;
}

cart-items a.underlined-link {
    display: none;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1732398448171.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.
jonnbama
Tourist
11 1 2

This worked perfectly.  

 

Thanks!

Made4uo-Ribe
Shopify Partner
10211 2427 3079

Welcome! Would you mind hitting 'like' as well? Thanks!

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.