Shopify themes, liquid, logos, and UX
I changed my code to get a background image on my Ride theme. Everything is working but I got 2 issues. Firstly, the mobile display is working fine, but on an actual phone, the background does not look the way I want it to. The images show the problem.
Secondly, my menu is transparant due to the fact that my whole page is transparent with the background image. I want my menu to be in color, and the rest transparent.
I guess both are coding issues. I hope someone can help me out asap!!
Solved! Go to the solution
This is an accepted solution.
Hi @spelt,
Because the background image doesn't support fixed for IOS so if you want this to work well background image will repeat.
Go to Assets > base.css and paste this at the bottom of the file:
@media screen and (max-width: 749px) {
body.gradient {
background-attachment: initial !important;
background-repeat: repeat !important;
}
}
This is an accepted solution.
Hi @spelt,
Because the background image doesn't support fixed for IOS so if you want this to work well background image will repeat.
Go to Assets > base.css and paste this at the bottom of the file:
@media screen and (max-width: 749px) {
body.gradient {
background-attachment: initial !important;
background-repeat: repeat !important;
}
}
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By 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, 2024