Hello I want to remove this little space on mobile ! I want my picture to be stick to the header ! The red line is what I want to remove (you can see it on the picture down below)
Here is my product page :https://www.five-pocket.com/products/pro-club-heavy-weight-t-shirt-white
It is already done on desktop but not on mobile ! Thanks a lot !
Moeed
August 30, 2023, 11:13am
2
Hey @imazele
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above tag
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Thanks but you remove to much space ! it need to be equal !
Like I want to keep what I put in green ! can you please look at this picture and correct this ?
Hey @imazele
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above tag
.header{
padding-top: 0!important;
padding-bottom: 0!important ;
}
.slider.slider--mobile .slider__slide {
padding-top: 0!important;
}
Hi @imazele ,
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file base.css
Step 3: Paste the below code at the bottom of the file → Save
@media(max-width:767px){
#MainContent{transform:translateY(-15px)}
}
Hope my solution works perfectly for you!
Best regards,
Oliver | PageFly
1 Like