Archived topic
page header not working on iphone
3 replies · Started by jorgelomas on May 13, 2018
Hy guys,
I am working on a that website: http://consentidoconsultoria.es
and I am using this CSS:
.generate-content-header {
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center bottom;
}
Because I want the image fixed and center bottom position. But the problem is when you use an iphone or ipad the image looks very bad.
Do you know how to fix it?
Thanks!!!
Hi there,
You can try making your CSS only apply to desktop:
https://docs.generatepress.com/article/responsive-display/
Let me know if this helps.
Works like a charm!
Thank you very much Leo ;)
Jorge
No problem :)