Align text

Align text

Disci
Excursionist
24 0 10

Hi! 

I want the text on the home page on phone to be aligned on the left instead of the middle.  I am talking about the text under the products. The signature (which is a picture) can just stay in the middle.

discinetherlands.com

password; joepjoep

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
10201 2421 3065

Hi @Disci 

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:

 

@media only screen and (max-width: 749px){
a.product-title.line-clamp {
    text-align: left;
}
.v-stack.justify-items-center.gap-2 {
    width:  100% !important;
}
.justify-items-center {
    justify-items: left !important;
}
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1733134466462.png

     

 

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

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Disci
Excursionist
24 0 10

Hi! this looks great but this is not exactly what i meant... sorry if i wasnt clear. 

I was talking about the text below the products, with 'understated...' and the paragraph underneath

You think you can align this on the left?