How can i increase the size of the email sign up banner on mobile site

Hi,

I would like to increase the size of the email sign up banner photo on my mobile site so that the white space is even at the top and the bottom. It looks fine on desktop version. Also is it possible to reduce the size of the email box on mobile version. See a screenshot below.

Thanks in advance.

Hi @DD2024 ,

You can follow the steps here:

Step 1: Shopify admin > Online store > Customize: https://prnt.sc/XQ6IDB99kUCd
Step 2: From the left menu > Theme settings > Open Custom CSS: https://prnt.sc/ypQ7nly2wv27
Step 3: Copy the code below and paste it there

Here is the code for step 3:

@media screen and (max-width: 768px){
.password-header > img {
    margin-bottom: 0 !important;
}
.password-header {
    padding-block: 20px !important;
}
}

Here is the result:

Let me know if it works!

Best,

Daisy

Hi Daisy,

Thankyou for your reply. That seems to have fixed the header, how can i make the image bigger to fix the white space above the footer?

Hi @DD2024

Please add this code to Custom CSS of that Banner section

@media (max-width: 749px) {
.banner { height: calc(100vh - 257px); }
}

Hi @DD2024

TRy this one.

  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 screen and (max-width: 768px) {
    @media (max-width: 749px) {
    .banner {
            height: calc(100vh - 140px);
        }
    .password__footer {
            padding: 0rem !important;
            height: 20px;
        }
    }
}

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!

Hi @DD2024

Thank you for your reply and information.

Please try this code instead:

@media (max-width: 749px) {
    main#MainContent .banner {
        height: calc(100vh - 140px);
    }
    .password__footer {
        padding-top: 0 !important;
    }
}

Here is the result:

Please let me know if it works!

Best,

Daisy