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

Solved
N4th4nsgt
Tourist
7 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
4129 946 1153

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
Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


View solution in original post

Replies 4 (4)
Made4uo-Ribe
Shopify Partner
4129 946 1153

Hi @N4th4nsgt 

Would you mind to share your Store URL website? with password if its unpublish. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


N4th4nsgt
Tourist
7 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
4129 946 1153

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
Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


N4th4nsgt
Tourist
7 0 2

Thank you for your help that has worked.