Centre Rich Text on Specific Page (Dawn Theme)

Hi there, I’d like to centre the rich text only on the Cart page (and leave all the other pages with rich text the current default: left aligned). This is the specific page: https://www.juneadaptive.com/cart and the rich text that I am trying to centre is the one in the grey box “Receive FREE SHIPPING…”. It is the only rich text block that is on this page. Thank you!

MY STORE DETAILS:

Shop: (REMOVE ALL $ SIGNS FROM URL)

www.j$uneada$ptive.com

Password: (REMOVE ALL $ SIGNS FROM PASSWORD)

j$uneada$ptive

Hii, @rachelwong
Kindly share your store password so,
I can solve it perfectly.
Thank You.

@rachelwong

Please find following code your Layout/theme.liquid file


Replace to


you can do this change first ! after i will send css code for you.

Thanks!

Changed! @dmwwebartisan

1 Like

@rachelwong

please Go to Online Store->Theme->Edit code then go to assets/base.css ->paste below code at the bottom of the file.

.your-shopping-cart .rich-text--full-width .rich-text__blocks {
    text-align: center !important;
}

Thanks!