Why does my mobile theme show a different background color?

Hello.

When I edit my theme for mobile it shows a different background (especially the header) color than when I actually open my website on my phone. I’d really appreciate some help.

Thanks!

My url is: https://tiktokconsulting.ch/

Below you can see how it should look like on mobile:

And here you can see how it actually looks like on mobile:

@lumi2

yes try this code

  1. Go to Online Store->Theme->Edit code
  2. Asset->/theme.css ->paste below code at the bottom of the file.
@media (max-width: 768px) {
body.gradient {
    background: #fff !important;
}
}

Thanks for replying! Unfortunately It did not work. It only changed the background to #fff but not the header to the same gradient color as it should.

Hey @lumi2 ,
were you able to find a solution to this problem? I have the same in our shop :confused: