center the text on image banner

Solved

center the text on image banner

batyaJandMore
Excursionist
41 0 14

Hi there,

 

i have an issue with the text align to the center, if i do pad the mobile version is messed up.

Desktop content position is middle center

batyaJandMore_0-1726757798595.png

https://xfswc99ri4cf9xq3-65779892391.shopifypreview.com

 

thanks in advance.

Accepted Solution (1)

BSSCommerce-B2B
Shopify Partner
1972 564 566

This is an accepted solution.

@batyaJandMore ,

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </head> on theme.liquid

 

<style>
#Banner-template--17362961793191__image_banner_BzFaJF > .banner__content {
  align-items: center!important;
}
</style>

 

 

Result:

  • Desktop: BSSCommerceB2B_0-1726758181925.png
  • Mobile: BSSCommerceB2B_1-1726758326805.png

 

If it helps you, please like and mark it as the solution.

Best Regards😊

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

View solution in original post

Replies 4 (4)

BSS-TekLabs
Shopify Partner
2401 695 831

BSSTekLabs_0-1726758132256.png

Do you want like this @batyaJandMore ?

 

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

BSSCommerce-B2B
Shopify Partner
1972 564 566

This is an accepted solution.

@batyaJandMore ,

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </head> on theme.liquid

 

<style>
#Banner-template--17362961793191__image_banner_BzFaJF > .banner__content {
  align-items: center!important;
}
</style>

 

 

Result:

  • Desktop: BSSCommerceB2B_0-1726758181925.png
  • Mobile: BSSCommerceB2B_1-1726758326805.png

 

If it helps you, please like and mark it as the solution.

Best Regards😊

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

batyaJandMore
Excursionist
41 0 14

thanksssss 🙂

Made4uo-Ribe
Shopify Partner
10038 2387 3014

Hi @batyaJandMore 

check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

.banner__box.content-container.content-container--full-width-mobile {
    align-self: center;
}

 

And Save.

Result:

Made4uoRibe_0-1726758555362.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

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.