- This topic has 8 replies, 2 voices, and was last updated 5 years, 10 months ago by
Danny.
-
AuthorPosts
-
January 8, 2021 at 10:14 am #12545
I am trying to display a background image on mobile devices in the single header. This works when it is the only background, however when a video background is put in place for desktop and landscape tablet devices the background images ceases to show on mobile, just leaving a block of colour instead.
Any idea what I am doing wrong? For further information, the looping of the video has been disabled by editing the necessary file in the plugin, as per the instructions in another post. This issue predates that and doesn’t appear to be linked.
January 8, 2021 at 4:43 pm #12547Danny
SupporterHi there,
Thanks for writing in!
To display the video in mobile view, please add the code below to your Dashboard > Appearances > Customize > Addition CSS:
.video-background-content:before {opacity: 0!important;} .video-background-content {display: block!important;}If the problem persists, please share us your site URL and the admin account via private reply so we can investigate your case and help you out. Also, please point to specific page where we can see the problem. Any screenshots would be welcomed! (you could upload your images into https://imgbb.com/ and share the link here).
Best regards,
DannyJanuary 8, 2021 at 6:28 pm #12558Thank you for your reply. I don’t want to display the video in the mobile view. The issue is that the fallback background image is failing to display on mobile devices when the video is enabled.
January 8, 2021 at 6:30 pm #12559This reply has been marked as private.January 10, 2021 at 4:30 pm #12579Danny
SupporterHi there,
Thanks for writing in!
I’ve added the CSS code below to fix the issue:
.player + .background-overlay, .video-background-content + .background-overlay { z-index: 0; }Please check again. I’ll add this fix in next the theme update.
Best regards,
DannyJanuary 10, 2021 at 4:49 pm #12580Thanks Danny, that’s awesome. I’m glad to know it was a bug and not just me being daft. I’m going to go ahead and remove the support account now.
January 10, 2021 at 4:57 pm #12581This reply has been marked as private.January 10, 2021 at 5:01 pm #12582This reply has been marked as private.January 12, 2021 at 11:20 am #12588Danny
SupporterThis reply has been marked as private. -
AuthorPosts
- You must be logged in to reply to this topic.
