Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi there,
I just updated the image on my homepage and now it's squashing or not displaying the header (logo) correctly.
I have no idea how to fix it.
Could someone please assist?
https://www.merindahbotanicals.com.au/
Solved! Go to the solution
This is an accepted solution.
Go to your Online store > Themes > Edit code > open theme.liquid file, add this code below under <head> element
<style>
@media (max-width: 749px) {
.banner {
height: 39rem;
}
.banner__media .media--adapt {
padding-bottom: 100%;
}
}
</style>
- Solved it? Hit Like and Accept solution! ❤️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: 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.
Hi, @meld78.
Follow These steps,
Go to the online store theme and go to base.css file paste the code mentiond below.
.banner__content {
position: relative;
}
.header__heading-logo {
width: 100%;
}
.banner__content.banner__content--middle-center.page-width {
background: #edcfb5;
}
.banner__box {
padding: 40px 30px;
}
Result:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
thank you. Just tried this but it completely removed the image and also, I'd like the text on the image, not below. Is there a way to do that?
sorry Add these media query codes.
@media (min-width: 320px) and (max-width: 767px) {
.banner__content {
position: relative;
}
.header__heading-logo {
width: 100%;
}
.banner__content.banner__content--middle-center.page-width {
background: #edcfb5;
}
.banner__box {
padding: 40px 30px;
}
}
This is an accepted solution.
Go to your Online store > Themes > Edit code > open theme.liquid file, add this code below under <head> element
<style>
@media (max-width: 749px) {
.banner {
height: 39rem;
}
.banner__media .media--adapt {
padding-bottom: 100%;
}
}
</style>
- Solved it? Hit Like and Accept solution! ❤️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: 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.
Happy I could help
- Solved it? Hit Like and Accept solution! ❤️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: 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.
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