Make text and button higher in the section-image_banner dawn 10.

I am trying to get H1, H2 and the button higher on the page. I want it to be the same on all my image_banner sections, since we use the same image size for all banners in the section. Is there a way to do this without messing with the desktop text?

Shoplivingsimply.com

In your section-image-banner.css file on line 377 you have the following code:

@media screen and (min-width: 750px) {
  .banner__box > * + .banner__text {
    margin-top: 2rem;
  }
}

You can change the value of the margin-top parameter and move the text only on mobile version.

Try something like:

@media screen and (min-width: 750px) {
  .banner__box > * + .banner__text {
    margin-top: -10rem;
  }
}

Thank you, but when I put in the code the attached happened?

I missed one of the brackets at the end, but nonetheless, this is what it did. I think it made it lower?

Hi @LIVINGSIMPLY

Try this one. It will be on this position on the mobile only. It will not be affected the desktop.

  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:
@media only screen and (max-width: 749px){
.banner__content.banner__content--top-left.page-width.scroll-trigger.animate--slide-in {
    flex-direction: column;
    justify-content: flex-start;
}
}
  • And Save.
  • I hope it help.