Website background CSS/HTML?

Hello,

I am currently building a website with WordPress.

I'm having a problem where, when I scroll through the website on my phone, a background color appears that I can't change anywhere in the settings. (This happens when I scroll further up or down than the page reaches.)

Does anyone know a CSS/HTML code that changes this color?

For your understanding:

On the desktop, the page ends where the gray ends. On the phone, you can scroll even further and then find this pink.

(It's like when you scroll up on Snapchat and that ghost appears).

(1 votes)
Loading...

Similar Posts

Subscribe
Notify of
4 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
regex9
1 year ago

First of all, you should find out what page element/s this color is defined.

Maybe you can reproduce the behavior in your browser’s device mode (see development tools of Chrome/Edge/Firefox/Opera/o.a.). Then it should also be easier to find the source in the inspector (see also in the development tools).

A selector will be assigned to the element via CSS (I would not start from an inline style) which has the background color (background/background-color) defined. If you find the selector, you can overwrite it by adding your own CSS (be it with any plugin or your own CSS file). If possible, I would not change the existing theme. This simplifies a later maintenance (e.g. you have a clear distinction between what comes from you and what from the theme provider).

My first guess, which may abbreviate the search, suggests htmland bodyElement.

FrageRunde59125
1 year ago

where is the code? HTML/ CSS please specify or link better than Repo or Snipped if it is a lot.

otherwise report for support to WordPress, here you would be wrong.
Your question is not related to HTML, CSS or programming.

MooKuh
1 year ago
Reply to  sSAFDAFAWF

Like…

html, body {background-color:#000;} ?