- This topic has 7 replies, 4 voices, and was last updated 1 year, 2 months ago by Tom.
February 1, 2020 at 5:45 pm #1151762zalomaral
I have set a background image in a fixed position for the header, but in the mobile version it is not fixed.
how will we do it?
Thanks.February 1, 2020 at 7:06 pm #1151779LeoStaffCustomer SupportFebruary 1, 2020 at 7:16 pm #1151784zalomaral
I have already edited the original topic and sent you the URL to link to the site and so you can monitor it.
thanksFebruary 2, 2020 at 2:46 am #1151879DavidStaffCustomer Support
i am not seeing a background image in the header – there is a fixed background on the body though.
But fixed attachment backgrounds do not work on most mobile devices, as they can use a lot of processing power and run down the device battery.
For a fixed body background i provide a solution here:February 2, 2020 at 8:40 am #1152183zalomaral
I have already set the background image on the body through the configuration panel. In the mobile device models I have tried, it works correctly, but the fixed background image does not work in the header.
Would it be necessary, in addition, the css code that you send me?
I didn’t know that the fixed background image on mobile devices would give us problems and have a lot of battery consumption. What is your recommendation if I like the fixed background image? Will it work correctly on all mobile devices?
Thank youFebruary 2, 2020 at 4:21 pm #1152419TomLead DeveloperLead Developer
What if you:
1. Remove the background header for the site header.
2. Remove the background color from the site header in Customize > Colors > Site Header.
Let me know if that does it or not 🙂February 2, 2020 at 5:51 pm #1152442zalomaral
I tried what you told me, I removed the background color and the background image from the header and now it works correctly. By removing the color and the background image, we create transparency, is this so? This would be enough to work on any mobile device, where it failed before?
Thank you for your clarifications.February 3, 2020 at 8:36 am #1153128TomLead DeveloperLead Developer
That’s correct. I assume having two layers of fixed backgrounds was preventing it from working on mobile.
Glad it’s working now! 🙂
- You must be logged in to reply to this topic.