Help with Add to Cart

Topic summary

A user seeks help repositioning the product title on mobile devices after adding an item to cart. The title currently appears misaligned and needs to be centered below the product photo.

Solution provided:

  • Navigate to Shopify admin → Online Store → Themes
  • Click Actions → Edit code
  • Open the Assets folder and locate the CSS file (base.css, style.css, or theme.css)
  • Add the following CSS code at the bottom:
@media only screen and (max-width: 749px) {
  div#cart-notification-product {
    align-items: center;
  }
}

Outcome:
The solution successfully resolved the alignment issue. The user confirmed it worked perfectly.

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

Hello,

Can someone please help me shift the product title down to the center of left product photo (After Adding to Cart)? This is for mobile. Thank you,

1 Like

Hi @l1kim

Check this one.

From your Shopify admin dashboard, click on “Online Store” and then “Themes”.

Find the theme that you want to edit and click on “Actions” and then “Edit code”.

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:

@media only screen and (max-width: 749px){
div#cart-notification-product {
    align-items: center;
}
}

And Save.

Result:

1 Like

Perfect! Thank you so much!!