how can i resize and move the heading and button to further bottom of slideshow (mobile only)

Hi there,

i am using dawn theme version 15.0.2. My store url is vulph.com. On mobile site slideshow image, the heading and button size is too big and cannot be positioned at the bottom. I need help to reduce the size of both heading and the button and position the both at very bottom as explained in the image below. thanks

1 Like

Hi @alihk ,

Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above tag:


Here is result:

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you :heart_eyes:

1 Like

Hi @alihk ,

I have reviewed your requirement, you just need to edit css script and the issue will be resolved. You can follow my instructions!

Step 1: Go to Admin → Online store → Theme > Edit code:

Step 2: Search for the file base.css. And add this code snippet to the end of the file.

@media screen and (max-width: 768px) {
    .banner__buttons .button {
        min-height: 40px !important;
    }
    .slideshow__text.banner__box {
        transform: translateY(10rem) !important;
    }
}

Step 3: Save your code and reload this page.

=>> The result:

I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.

Have a nice day sir!

1 Like

this has worked up to some extent. is it possible to bring heading and sub-heading closer to the button and reduce the gap between heading, sub-heading and button as explained in the image.

Hi @alihk
You can add the below code to Custom CSS part of the section from Editor (Customize)

@media screen and (max-width: 749px) {
.banner__text.rte {
    margin-top: 4px;
}

.banner__box>*+.banner__buttons {
    margin-top: 1rem;
}
}

If this information was helpful to you, please give it a Like. If it resolved your issue, kindly hit Like and mark it as the Solution! Thank you!

1 Like

this worked well. thanks :blush:

1 Like