Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Re: Image banner

Solved

Image banner

tabny
Excursionist
13 0 4

Hi everyone

I created 2 image banners so I can show different images on desktop or mobile, The Button block on image banner is working good in desktop vision but how do i create button in mobile vision and i also want the button is below the the girl feet. Thank you so much

This is my store https://7dd6bf-4c.myshopify.com/

Accepted Solution (1)

GTLOfficial
Shopify Partner
665 140 133

This is an accepted solution.

Hello @tabny 
Go to online store ---------> themes --------------> actions ------> edit code-------> assets------>section-image-banner.css ------> line number 55
search this code.

@media screen and (max-width: 749px) {
.banner--mobile-bottom:not(.banner--stacked) .banner__content {
order: 2;
}
}


and replace with this code

@media screen and (max-width: 749px) {
.banner--mobile-bottom:not(.banner--stacked) .banner__content {
position: absolute !important;
top: 53.5rem !important;
}
}

 

and the result will be
4.png

If this was helpful, hit the like button and mark the job as completed.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh

View solution in original post

Replies 6 (6)

Moeed
Shopify Partner
6330 1716 2069

Hey @tabny 

 

It seems like you don't have any button currently on the mobile banner image, can you first add the button then I can help you adjust it's position.

 

Best Regards,

Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


tabny
Excursionist
13 0 4

hello Moeed 

Sorry i just add it and i want to it like the image shows

 4.jpg

Moeed
Shopify Partner
6330 1716 2069

Hey @tabny 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
@media screen and (max-width: 767px) {
a.button.button--primary {
    opacity: 1 !important;
}
.banner__content {
    position: absolute !important;
    top: 535px !important;
}
}
</style>

RESULT:

Moeed_0-1719818941348.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

 

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


ProtoMan44
Shopify Partner
615 54 93

@tabny thanks for posting here.
please use this concept:

 

 

@media screen and (max-width: 749px){
 .banner__content {
    position: absolute;
    bottom: 0;
 }
}

 

 

 

ProtoMan44_0-1719818638979.png

if it helps to solve the issue so please mark it as solved.

- A thirsty developer passionate about supporting the community. If you'd like to, you can  

Buy me a Coffee.


- Your Shopify Solution Specialist Get a Quote at

ProtoMan44

 - 

Chat On Whatsapp


Crafting exceptional e-commerce experiences to elevate your online presence. Let's build your success story together!

Dan-From-Ryviu
Shopify Partner
10261 2039 2110

Hi @tabny 

Please uncheck the option to make the button display into image of your mobile image.

Screenshot 2024-07-01 at 14.24.02.png

- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

GTLOfficial
Shopify Partner
665 140 133

This is an accepted solution.

Hello @tabny 
Go to online store ---------> themes --------------> actions ------> edit code-------> assets------>section-image-banner.css ------> line number 55
search this code.

@media screen and (max-width: 749px) {
.banner--mobile-bottom:not(.banner--stacked) .banner__content {
order: 2;
}
}


and replace with this code

@media screen and (max-width: 749px) {
.banner--mobile-bottom:not(.banner--stacked) .banner__content {
position: absolute !important;
top: 53.5rem !important;
}
}

 

and the result will be
4.png

If this was helpful, hit the like button and mark the job as completed.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh