Hi,
can someone help me with my background store. Im having this problem that on my desktop everything works just fine, but when i navigate with my mobile on the store it doesnt show up my background imagine .
Currently i`m using the ORIGIN theme.
I only used this code in assets/base.css :
.gradient {
background: var(–gradient-background);
background-attachment: fixed;
background-image: url(https://c0.wallpaperflare.com/preview/704/659/593/brown-makeup-brush-lo.jpg) !important;
background-color: to bottom !important;
background-position: center !important;
background-size: 100% !important;
Thank you .
@Linesamaras
Please use this code for mobile
@media (max-width: 767px ) {
body.gradient {
background: url(https://c0.wallpaperflare.com/preview/704/659/593/brown-makeup-brush-lo.jpg) !important;
background-size: 120% !important;
background-attachment: inherit !important;
}
}
Thanks!
Where do i copy the code ?
Please use this code for mobile
@media (max-width: 767px ) {
body.gradient {
background: url(https://c0.wallpaperflare.com/preview/704/659/593/brown-makeup-brush-lo.jpg) !important;
background-size: 120% !important;
background-attachment: inherit !important;
}
}
@Linesamaras
Please add this code to your assets/base.css bottom of the file.
@Linesamaras
closing bracket missing please check the screenshot
@Linesamaras
again bracket missing problem check screenshot
@Linesamaras
again bracket missing problem check screenshot
@Linesamaras
find this code and remove in
:root {
--easter-egg: none;
--sparkle: url('./sparkle.gif');
.gradient {
background: var(--gradient-background);
background-attachment: fixed;
background-image: url(https://c0.wallpaperflare.com/preview/704/659/593/brown-makeup-brush-lo.jpg) !important;
background-color: to bottom !important;
background-position: center !important;
background-size: 100% !important;
}
}
@media (max-width: 767px ) {
body.gradient {
background: url(https://c0.wallpaperflare.com/preview/704/659/593/brown-makeup-brush-lo.jpg) !important;
background-size: 120% !important;
background-attachment: inherit !important;
}
}
add this new code
:root {
--easter-egg: none;
--sparkle: url('./sparkle.gif');
}
.gradient {
background: var(--gradient-background);
background-attachment: fixed;
background-image: url(https://c0.wallpaperflare.com/preview/704/659/593/brown-makeup-brush-lo.jpg) !important;
background-color: to bottom !important;
background-position: center !important;
background-size: 100% !important;
}
@media (max-width: 767px ) {
body.gradient {
background: url(https://c0.wallpaperflare.com/preview/704/659/593/brown-makeup-brush-lo.jpg) !important;
background-size: 120% !important;
background-attachment: inherit !important;
}
}
base.css bottom of file
@Linesamaras
Please find this code to remove
@media (max-width: 767px ) {
body.gradient {
background: url(https://c0.wallpaperflare.com/preview/704/659/593/brown-makeup-brush-lo.jpg) !important;
background-size: 120% !important;
background-attachment: inherit !important;
}
}
Add this code
@media screen and(max-width: 749px ) {
.gradient {
background:url(https://c0.wallpaperflare.com/preview/704/659/593/brown-makeup-brush-lo.jpg) !important;
background-size: 120% !important;
background-attachment: inherit !important;
}
}
@Linesamaras
On the last try, please
add the following code to your layout /theme.liquid before bottom of the file .
I`m having the same problem 
Thank you for trying , but it still doesn`t work . I just dont get it why 