How do you move the slide show heading to the top centre of the photo on mobile version only

Solved

How do you move the slide show heading to the top centre of the photo on mobile version only

N4th4nsgt
Tourist
9 0 2

Screenshot_20231011_211744_Chrome.jpg

Hello,

I'm trying to move the heading for the slide show just on mobile. I would like the heading to be at the top of the photo either to the left or the middle so it doesn't over lap the bottle in the image below. I saw an old post from 2022 that says you need to edit the theme code on theme.liquid fileand find the </body>. But when I try this I can't find the </body>.

Any help would be greatly appreciated.

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
10100 2398 3034

This is an accepted solution.

Thanks for the info. Try this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • 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 screen and (max-width: 749px){
.slideshow__text.slideshow__text-mobile--left {
    align-items: center;
    text-align: center;
}
.slideshow__text.banner__box.content-container.content-container--full-width-mobile.color-background-2.gradient.slideshow__text--left.slideshow__text-mobile--left {
    position: absolute;
    top: 0px;
}
}

 

  • And Save. 
  • Result"
  • Made4uoRibe_0-1697305760378.png
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 4 (4)

Made4uo-Ribe
Shopify Partner
10100 2398 3034

Hi @N4th4nsgt 

Would you mind to share your Store URL website? with password if its unpublish. 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.
N4th4nsgt
Tourist
9 0 2

Hi @Made4uo-Ribe,

My Store URL is https://brewbarncoffee.com/ and I've changed the password to Shopifyhelp.

Thanks.

Made4uo-Ribe
Shopify Partner
10100 2398 3034

This is an accepted solution.

Thanks for the info. Try this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • 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 screen and (max-width: 749px){
.slideshow__text.slideshow__text-mobile--left {
    align-items: center;
    text-align: center;
}
.slideshow__text.banner__box.content-container.content-container--full-width-mobile.color-background-2.gradient.slideshow__text--left.slideshow__text-mobile--left {
    position: absolute;
    top: 0px;
}
}

 

  • And Save. 
  • Result"
  • Made4uoRibe_0-1697305760378.png
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.
N4th4nsgt
Tourist
9 0 2

Thank you for your help that has worked.