Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hey, I would like to know if its possible to make the accordions in my footer menu full width on mobile view. Any help would be appreciated!
My store: https://bellevodesign.com/
The issue:
Hi @bellevo,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head> tag:
<style>
@media only screen and (max-width: 749px) {
.footer__content-top {
padding-left: 0 !important;
padding-right: 0 !important;
}
}
</style>
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 😍
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
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
Hey, this moves all the text in the footer menu as well, is it possible to keep the text in the same position and only make the lines full width, thank you!
Hi @bellevo,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head> tag:
<style>
@media screen and (max-width: 749px) {
.footer__content-top {
padding-bottom: 3rem;
padding-left: 0 !important;
padding-right: 0 !important;
}
.footer-block.grid__item:first-child {
padding-left: 4rem !important;
padding-right: 4rem !important;
}
}
</style>
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 😍
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
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
Hey it still moved the text to the left side.
Is there a way to keep the text like this?
Hi @bellevo,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head> tag:
<style>
@media screen and (max-width: 749px) {
.footer__content-top {
padding-bottom: 3rem;
padding-left: 0 !important;
padding-right: 0 !important;
}
.footer-block.grid__item:first-child {
padding-left: 4rem !important;
padding-right: 4rem !important;
}
h2.footer-block__heading {
padding-left: 4rem !important;
}
h2.footer-block__heading:after {
right: 4rem !important;
}
}
</style>
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 😍
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
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
Add custom CSS: At the bottom of this file, add the following CSS:
@media (max-width: 767px) {
.footer-menu-accordion {
width: 100% !important;
margin: 0;
}
}
Which file?
@media screen and (max-width: 749px) {
.footer__content-top {
padding-bottom: 3rem;
padding-left: 15px !important;
padding-right: 15px !important;
}
Can you try it @bellevo
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
Hey, which file should I add it to? I tried base.css but it didn't work. Thanks!