Shopify themes, liquid, logos, and UX
Hi there,
I've added the below code to add margin to the footer but I want it to only apply to desktop, how do I do this?
password: meifay
Thanks so much!
Solved! Go to the solution
This is an accepted solution.
Hi @INFRA
You can try to add this code to Custom CSS of footer section
@media (min-width: 768px) {
footer {
padding-left: 100px;
padding-right: 100px;
}
}
- Helpful? Like and Accept solution!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Hello @INFRA 👋
You can add media query like this
@media (min-width: 990px) {
Code for desktop
}
hi there, thanks for your reply. Ufortunately, the code stops working altogether when I add that in front.
is this correct?
@media (min-width: 990px) {
padding-left: 200px;
padding-right: 200px;
}
Ideally I just want it the same width as the footer section with the policy links 🙂
This is an accepted solution.
Hi @INFRA
You can try to add this code to Custom CSS of footer section
@media (min-width: 768px) {
footer {
padding-left: 100px;
padding-right: 100px;
}
}
- Helpful? Like and Accept solution!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up 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