Re: 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
8 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
8420 2016 2471

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 is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Replies 4 (4)

Made4uo-Ribe
Shopify Partner
8420 2016 2471

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 is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
N4th4nsgt
Tourist
8 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
8420 2016 2471

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 is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
N4th4nsgt
Tourist
8 0 2

Thank you for your help that has worked.