Shopify themes, liquid, logos, and UX
Hi there,
How can I move the button in the image hero? It is now centered in the middle (see screenshot) and I want it to be on the bottom left. Due to image and text, it would be best if I could fine-tune myself. I found some custom CSS on this forum, but they don't do anything. My theme is Electronics.
I hope somebody can help me.
Solved! Go to the solution
This is an accepted solution.
Thanks! Just to clarify, the text on the banner is attached to the image, right? That’s why it’s not aligned with the button and isn’t responsive along with it. I suggest using the default header/text input for the banner so it will be responsive.
Here is the code to align on the bottom left, but its only on the desktop.
@media only screen and (min-width: 749px){
.image-hero__text-container-wrapper {
max-width: 100% !important;
justify-content: flex-start;
align-items: self-end;
}
.image-hero__text-container {
padding-top: 0 !important;
padding-bottom: 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 @Lennart_,
Please send the website link, I will check it for you
Hi @Lennart_,
Can you add it as a duplicate and send me a preview link? I will check it.
Because it is difficult to check if it is not visible
Hi,
kindly provide your store URL please and if it is password protected, please share the password as well. Thanks
Hi! Thank you. Here's the URL: https://www.detepo.com/
I don't have a button in my banner at the moment, since it is automatically placed in the center of the picture, and I can't move it.
Looking forward to hearing from you again.
Can you share screenshot
Hi @Lennart_
PLease, share your store URL. Thanks!
Hi! Thank you. Here's the URL: https://www.detepo.com/
I don't have a button in my banner at the moment, since it is automatically placed in the center of the picture, and I can't move it.
Looking forward to hearing from you again.
Thanks for the info! Can you please add the buttons so I can see where to move them? Thanks!
Hi again! Please see the screenshot below. The button is in the middle below and I would like it to be below the text, so on the left bottom. Would that be possible?
Yes, I understand, but currently, I can’t see your button visible on the URL you’ve provided.
If you now go to the URL you will see the button. Looking forward to hearing from you again.
Hi @Lennart_,
Please go to Actions > Edit code > Assets > theme.css file and paste this at the bottom of the file:
.image-hero__text-container-wrapper {
justify-content: flex-start;
align-items: flex-end;
}
This is an accepted solution.
Thanks! Just to clarify, the text on the banner is attached to the image, right? That’s why it’s not aligned with the button and isn’t responsive along with it. I suggest using the default header/text input for the banner so it will be responsive.
Here is the code to align on the bottom left, but its only on the desktop.
@media only screen and (min-width: 749px){
.image-hero__text-container-wrapper {
max-width: 100% !important;
justify-content: flex-start;
align-items: self-end;
}
.image-hero__text-container {
padding-top: 0 !important;
padding-bottom: 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!
Thank you very much!
Hey Lennart,
Has this been resolved? If not, I'd be happy to help you out. Let me know.
Hi PaulMartin, your help would be highly appreciated.
Hey Lennart,
It seems like Namphan and Made4uo has taken the initiative. Thank you to you both🙂
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024