Shopify themes, liquid, logos, and UX
I would like my hero image to be enlarged and fill the entire mobile screen and have the buy button in the same spot.
Is there a specific size I should be creating the image in or is this a coding issue?
URL: hygiadental.com
PW: angel
Hi @jeffreym,
I am from Mageplaza - Shopify solution expert.
As I researched your store, I noticed that the image is already full-width. However, it has a white background by default. You should edit your image to match your expectations.
Could you please explain the 'Buy' button in more detail? I don’t quite understand what 'same pot' means, but I believe it can be easily achieved with some custom CSS.
I hope this is helpful to you.
Best regards.
Mageplaza | Top-Rated Shopify Agency | Trusted by 230,000+ worldwide merchants
If our suggestion works for you, please give it a Like or mark it as a Solution!
Should you have any questions or concerns, feel free to contact us via consultant@mageplaza.com
So to start I have to create the image in a different px size?
Also, I want the picture & blue background to cover this entire 'YELLOW OUTLINED ZONE' and the buy button to be placed in the 'RED OUTLINED ZONE' as displayed in picture.
I am not sure how to achieve this desired outcome.
Thank you for helping
Hi @jeffreym,
First of all, you should edit your image to remove the background so that it displays as desired. As mentioned, it is already set to full width.
Second, you need to edit your theme by following these steps:
Access the Theme Code Editor:
Locate the file:
Mageplaza | Top-Rated Shopify Agency | Trusted by 230,000+ worldwide merchants
If our suggestion works for you, please give it a Like or mark it as a Solution!
Should you have any questions or concerns, feel free to contact us via consultant@mageplaza.com
Hi @jeffreym
Please add this code to Custom CSS of that section
@media (max-with: 749px) {
.banner__media { height: calc(100vh - 300px;) }
}
- Found this helpful? Hit "Like" and "Accept as Solution"! - Feeling generous. ☕ Buy me coffee!
- 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 - Gain customers with photo gallery, video & shoppable image
Built for Shopify
Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
Hi @jeffreym
You can follow the instruction here :
1. Go to Shopify > Online store > theme > customize
2. Click to Settings > Custom CSS > Paste this code to the section and save.https://prnt.sc/Rl66N9K_Bjvs
@media screen and (max-width: 768px){
.banner__media.media img {
object-fit: cover !important;
}
}
Best regards,
Esther
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025