Help Makeshift button clickable

Help Makeshift button clickable

MelissaM92
New Member
10 0 0

I have had to make 2 different pictures of my desktop and mobile version of the banner. The original banner that was in the dawn theme had a button already installed on the banner, which I used for Desktop version. I had trouble installing a button for the mobile banner onto the image version so i edited my banner image and created a button on the image. can someone please help me make that button clickable? I need the shop now button for mobile to click onto "all products" page. TIA

 

moimeme.com.au

Kbf295GhpF113

Replies 8 (8)

Sangeetanahar
Excursionist
343 23 52

hello @MelissaM92 

 The button which you have placed on your image is not your custom one that's why it is not working. You have to put custom code in the image then it will work

thanks

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -sangeetarahuldhiman@gmail.com - Skype: live:sangeetarahuldhiman -Whatsapp: +917009811712
Checkout Some Free Sections Here
MelissaM92
New Member
10 0 0

Can you help with a custom code for it? 

Sangeetanahar
Excursionist
343 23 52

yes i can help you  wait for some time .i will make a code for you.

Thanks

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -sangeetarahuldhiman@gmail.com - Skype: live:sangeetarahuldhiman -Whatsapp: +917009811712
Checkout Some Free Sections Here
Sangeetanahar
Excursionist
343 23 52

Can you send me the code of this section so that I can add that custom button for mobile to it?

Thanks

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -sangeetarahuldhiman@gmail.com - Skype: live:sangeetarahuldhiman -Whatsapp: +917009811712
Checkout Some Free Sections Here

Small_Task_Help
Shopify Partner
767 25 67

Hi,

 

Need to modify the HTML and CSS for the mobile banner

Open appropriate section file where mobile banner code is located and add Overlay

Code example

<div class="mobile-banner">
  <img src="{{ 'your-mobile-banner-image-url-here' | asset_url }}" alt="Banner Image" class="mobile-banner-image">
  <a href="/collections/all" class="mobile-banner-button-link"></a>
</div>

Add CSS for the clickable button overlay
Code example

.mobile-banner {
    position: relative;
    display: inline-block;
}

.mobile-banner-image {
    width: 100%;
    height: auto;
}

.mobile-banner-button-link {
    position: absolute;
    top: 50%; /* Adjust this value based on the location of your button in the image */
    left: 50%; /* Adjust this value based on the location of your button in the image */
    transform: translate(-50%, -50%);
    width: 200px; /* Adjust width to match the button size */
    height: 50px;  /* Adjust height to match the button size */
    display: block;
    z-index: 10;
}

Adjust the Overlay Position

To Get Shopify Experts Help, E-mail - hi@ecommercesmalltask.com
About Us - We are Shopify Expert Agency
At Google My Business - Ecommerce Small Task - Hire Shopify Developers Ahmedabad

goldi1
Excursionist
99 8 23

Hello @MelissaM92 

I saw your store, you have to add custom code in your store, without that it will not work.

thankasss

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -rahul@prowebcoder.com - Skype: live:dhiman.639

MelissaM92
New Member
10 0 0

Hi thanks for your reply. could you help with a custom code?

goldi1
Excursionist
99 8 23

yes sure and thankass for the reply. send me your  section code  so i will start the work thankss

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -rahul@prowebcoder.com - Skype: live:dhiman.639