Shopify themes, liquid, logos, and UX
Hello,
Can someone please tell me how to hide the footer info on the home screen only and how to decrease the black area of the social media icons area?
Thank you in advance
Solved! Go to the solution
This is an accepted solution.
@Only1mrsfragili , go to theme.liquid file and add the following code at the end before </body> tag :
{% if template.name == "index" %}
<style>
.footer__content-bottom{
display:none;
}
</style>
{% endif %}
This is an accepted solution.
@Only1mrsfragili , go to theme.liquid file and add this code before the </body> tag :
<style>
@media (max-width:787px){
.footer-1 .footer__content-top {
padding-bottom: 0px;
height: 8rem !important;
}
.footer-block__item.footer-block__newsletter {
width: 100%;
margin-top: 10px !important;
}
}
</style>
This is an accepted solution.
@Only1mrsfragili , go to theme.liquid file and add the following code at the end before </body> tag :
{% if template.name == "index" %}
<style>
.footer__content-bottom{
display:none;
}
</style>
{% endif %}
It fixed part is the issue, but the social media icons are still showing and how to I minimize the black area around them?
Yes, I would just like a little above and below the icons
This is an accepted solution.
@Only1mrsfragili , go to theme.liquid file and add this code before the </body> tag :
<style>
@media (max-width:787px){
.footer-1 .footer__content-top {
padding-bottom: 0px;
height: 8rem !important;
}
.footer-block__item.footer-block__newsletter {
width: 100%;
margin-top: 10px !important;
}
}
</style>
@Only1mrsfragili , go to theme.liquid file and add this code before the </body> tag :
<style>
@media (max-width:787px){
.footer-1 .footer__content-top {
padding-bottom: 0px;
height: 8rem !important;
}
.footer-block__item.footer-block__newsletter {
width: 100%;
margin-top: 10px !important;
}
}
</style>
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </body> tag:
{% if template.name == "index" %}
<style>
.footer__content-bottom{
display: none!important;
}
.list-unstyled.list-social.clearfix {
display: none!important;
}
@media screen and (max-width: 750px) {
.footer__content-top {
display: none!important;
}
}
</style>
{% endif %}
Here is result:
Hope this can help you, If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕ .
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024