Why doesn't my mobile store display the background image?

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!

Oh i forgot , sorry

https://glamlight.store/

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.

It still doesn`t work . :disappointed_face:

@Linesamaras

closing bracket missing please check the screenshot

Still doesn`t work :disappointed_face:

@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

Still not working

@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 :disappointed_face:

Thank you for trying , but it still doesn`t work . I just dont get it why :disappointed_face: