Hello
I have a slightly different problem, I hope you can help.
I want my main collection image to show on the top of collection page, but NOT on mobile. It looks much nicer on desktop BUT it makes the page too long on mobile.
Is there a way to fix this?
thank you
Guleria
September 24, 2023, 2:59am
2
Hello @ApexMikey ,
With media query css you can do this.
If not sure how please share the store URL here
Thanks
1 Like
Awesome, thank you.
I can modify/paste code, cannot do much else
https://www.apexanimalz.com
Much appreciated,
M.
Hello @ApexMikey
Can you share your store URL?
Yes, thank you.
https://www.apexanimalz.com
The theme is dawn.
Much appreciated,
M.
Guleria
September 24, 2023, 3:13am
6
Follow these steps:
Go to Online Store ā Theme ā Edit code
Open your base.css file and paste the following code below:
@media only screen and (max-width: 767px) {
.collection-hero__image-container.media.gradient{
display: nooe;
}
}
Thanks, what part of the page do I enter it? Top, middle, bottom?
Guleria
September 24, 2023, 3:19am
8
Bottom
@media only screen and (max-width: 767px) {
.collection-hero__image-container.media.gradient{
display: none;
}
}
gwachts
September 24, 2023, 7:12am
9
hi, ApexMikey
Follow these steps:
Go to Online Store ā Theme ā Edit code
Open your base.css file and paste the following code below:
@media only screen and (max-width: 767px) {
.collection-hero__image-container.media.gradient{
display: none;
}
}
If you face any issue let m know
In Shopify Admin, you can go to Edit theme code, open file base.css and add this code at the bottom
@media (max-width: 749px) {
.collection-hero__description img {
display: none;
}
}
The result on mobile
Hope that helps!
Hi @ApexMikey
This is Richard from PageFly - Shopify Page Builder App, Iād like to suggest this idea:
Online Store ->Theme ->Edit code
Assets ->Base.css
@media(max-width: 767px) {
.collection-hero__image-container.media.gradient{
display: none !important;
}
}
Hope you find my answer helpful!
Best regards,
Richard | PageFly