-
AuthorPosts
-
August 1, 2022 at 8:59 am #1360071
Hi
if you go to the home page of my website https://madaboutmara.com and start to scroll down, you will see that the header/logo area remain transparent
However, if you go to any of the other pages om my site, for example https://madaboutmara.com/safari/ and scroll down, you will see that the background image I have uploaded in the Enfold design settings is displayed
Why does that not work on my home page ?
August 1, 2022 at 11:00 am #1360077Hey ivanglaser,
Thank you for the inquiry.
The URL of the header background image in the home page is different from the other page. It might be due to file compression or minification settings. Please deactivate the compression plugin temporarily or toggle the minify settings to regenerate the stylesheets. (see private field)
Best regards,
IsmaelAugust 2, 2022 at 12:31 am #1360217Hi. Thnanks for that.
mmm. No matter what I do, I cant seem to fix the problem.
I disabled anything I could find taht had compression (Jetpack, Pageoptimizer and the enfold performance settings) but it made no difference
I even tried uploading another copy of the background image and naming it as expected by the homepage code but even that did not work for some reason
I have included an admin login below if you could take a quick look that would be appreciated
Thanks
August 2, 2022 at 2:01 am #1360223Hi ivanglaser,
The reason it’s not showing in the homepage is because of this code in Quick CSS:
.home .header_bg { background: none !important; }
Please remove that and it should be fixed.
Best regards,
NikkoAugust 2, 2022 at 2:44 am #1360227Hi Nikko
Thanks
It fixes the problem on PC but creates a problem on mobile device
In fact, that Quick CSS only needs to be applied on mobile device
What do I add to run that CSS only on mobile ?
Tx
IvanAugust 2, 2022 at 4:34 am #1360240Hi Ivan,
I see, just use this code instead:
@media only screen and (max-width:767px) { .home .header_bg { background: none !important; } }
Hope this helps.
Best regards,
NikkoAugust 2, 2022 at 4:54 am #1360241Fantastic…thank you !
August 2, 2022 at 4:55 am #1360243Hi ivanglaser,
We’re glad that we could help you :)
Thanks for using Enfold and have a great day!Best regards,
Nikko -
AuthorPosts
- The topic ‘Transparent Header issue’ is closed to new replies.