Align text in hero image telephone

Solved

Align text in hero image telephone

FP6
Tourist
8 0 2

Hello all,

 

I am working on a webshop for my business. Now I run into the problem that there is no way I can get the text of the hero on the phone centered.

 

I have no experience with coding so I can't figure out how to do that either.

Hopefully you guys can help me!

 

I have added screenshots here. The website is fielpower.com and the text is “10% off all ethernet switches”.

It would be great if someone can help me!

 

WhatsApp Image 2024-10-22 at 22.28.03.jpeg

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
10047 2388 3016

This is an accepted solution.

Hi @FP6 

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: 480px){
.container.wrap_text.flex.h_left.v_middle.text_left {
    justify-content: center !important;
}
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1729629792028.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.

View solution in original post

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
10047 2388 3016

This is an accepted solution.

Hi @FP6 

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: 480px){
.container.wrap_text.flex.h_left.v_middle.text_left {
    justify-content: center !important;
}
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1729629792028.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.
FP6
Tourist
8 0 2

You are awesome!