How to move text on a banner

How to move text on a banner

HT23
Tourist
14 0 3

Hi,

 

I would like to move my banner text to the right, just next to the picture (https://quatreausoir.fr/pages/histoire). Then justify the text to the left. I tried multiple codes but nothing works.

I'm desperate 😅

 

Can somebody help me please ?

 

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
10211 2427 3081

Hi @HT23 

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:

 

section#shopify-section-template--23161487393033__image_banner_XPKRJw .banner__box.content-container {
    width: 60%;
    background: transparent;
}

section#shopify-section-template--23161487393033__image_banner_XPKRJw .banner__content.banner__content--middle-center {
    justify-content: flex-end;
}

@media screen and (max-width: 749px) {
section#shopify-section-template--23161487393033__image_banner_XPKRJw .banner__content.banner__content--middle-center {
    position: absolute;
    right: 0;
    top: 50%;
    bottom: 30%;
}
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1736356614102.pngMade4uoRibe_1-1736356623320.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.
HT23
Tourist
14 0 3

Omg thank you !! 

But i don't really have the same result :

HT23_0-1736357326974.png