Shopify themes, liquid, logos, and UX
Hi,
I wanted to add an image before the footer.
I added this code in the top of the footer.liquid code:
<div id="container">
<img id="image" src="https://cdn.shopify.com/s/files/1/0585/8990/5071/files/Footer_1_Final.jpg?v=1627396169">
</div>
However, there is a small space that is coming below the image like this:
Can you tell me how can I remove this space.
Store- sohumretail.myshopify.com
Pass- Chaman@10
Solved! Go to the solution
This is an accepted solution.
Hello,
you are facing this issue, it would be my pleasure to help you.
Welcome to the Shopify community!
I have gone through your store ,after that i tried to solved this problem like this i have shared screenshot.
also shared for the mobile view.
If you don't understand the screenshots then you can see the code which i have given below.
@media only screen and (min-width: 750px)
.site-footer {
margin-top: -2rem;
}
//for the mobile view//
.site-footer {
margin-top: -1rem;
}
This is an accepted solution.
Hello,
you are facing this issue, it would be my pleasure to help you.
Welcome to the Shopify community!
I have gone through your store ,after that i tried to solved this problem like this i have shared screenshot.
also shared for the mobile view.
If you don't understand the screenshots then you can see the code which i have given below.
@media only screen and (min-width: 750px)
.site-footer {
margin-top: -2rem;
}
//for the mobile view//
.site-footer {
margin-top: -1rem;
}
Hi @oscprofessional ,
Thank you so much for the response. Could you please tell me where should I paste the code that you sent?
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024