How do I move these words to the right side on mobile for all my product pages?

How do I move these words to the right side on mobile for all my product pages?

samueljoonjung
Explorer
60 0 15

How do I move these words to the right side on mobile for all my product pages? My url is www.whoglobal.shop

samueljoonjung_0-1743169485641.png

 

 

Replies 3 (3)

CafeDelMar
Shopify Partner
163 36 45

Hi @samueljoonjung. I see that you have already moved the "Size Guide".

 

Here's how to move the "Free shipping" text:

 

1. Navigate to Sales Channels → Online Store → "Customize" button → Theme settings (Gear icon on the left sidebar) → Custom CSS
2. Add the following code:

@media screen and (max-width: 767px) {
	p.product__text:not(:has(.subtitle)) {
    text-align: right !important;
}
}

 

3. Save (right top corner)
4. Hard refresh the storefront

 

If done correctly, the result should be like this:

Screenshot_3.png

➡➡   Easy Embed Code   ⬅⬅ add CSS/JS/Liquid codes to any page of your store



Speed Booster App - Improve your store speed in 3 clicks
- Was your question answered? Mark it as an Accepted Solution
samueljoonjung
Explorer
60 0 15

That moves the "WHO Hoodie" with it which I don't want

CafeDelMar
Shopify Partner
163 36 45

There was a small logic error.

 

I see you solved it with "float" already. In case you want to preserve the padding, here's an updated code:

 

@media screen and (max-width: 767px) {
    p.product__text:not(.subtitle) {
        text-align: right !important;
    }
}

➡➡   Easy Embed Code   ⬅⬅ add CSS/JS/Liquid codes to any page of your store



Speed Booster App - Improve your store speed in 3 clicks
- Was your question answered? Mark it as an Accepted Solution