How can I center my Add to Cart page?

Topic summary

A user is experiencing a layout issue where their Add to Cart page content is left-aligned instead of centered on their Shopify store (nightlightcity.com).

Proposed Solution:
An expert suggested adding CSS code to the base.css file targeting the cart section with width: 100% !important; to center the content.

Current Status:
The initial solution did not work. The expert acknowledged this and indicated that additional theme code modifications are needed to properly center-align the cart page, though specific next steps were not yet provided.

The discussion remains ongoing with the issue unresolved.

Summarized with AI on November 25. AI used: claude-sonnet-4-5-20250929.

hi,

my add to cart page only is to the left. how can I center it?

URL: nightlightcity.com

pass: bowchu

@ni3

Add this code at the bottom of Theme > Edit code > assets > base.css file

.cart #shopify-section-template--15975641841821__cart-items {
    width: 100% !important;
}

Try it and let me know

hello, it did not work

Just checked your code again, in this case if you want to make it align center, you need to change some code in your theme code.