My mobile page was meant to be all black, but it's only half black now.
I tried the following CSS:
@media (max-width: 768px)
{body, html.page-id-
28{background-color:
black! important;}}
@media (max-width: 768px)
{. parallax-window
{background-color: black!
important;}}
After that, I wanted to reduce the height of the page:
@media (max-width: 768px) {.page-id-28{height: 600px
!important}}
Unfortunately, it didn't work as expected.
Now my page has a mix of black and white sections and I can't get the desired height using important
. The background flashes black when the page loads, then switches to white.
What could be causing this issue?
<div class="parallax-window fullscreen" data-parallax="scroll" data-image-src="http://4309.co.uk/wp-content/uploads/2019/08/download-2.png" data-ios-fix="true" data-over-scroll-fix="true" data-android-fix="true">
<div class="align-transform">
<div class="row">
<div class="top-parallax-section">
<div class="col-md-8 col-md-offset-2 col-sm-10 col-sm-offset-1 text-center">