How to Center Title Text on Cart Page

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.

Latest Dawn Theme

Pass: Testing1234

Any help is greatly appreciated.

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

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

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

This worked perfectly.

Thanks!

Welcome! Would you mind hitting ‘like’ as well? Thanks!