Home › Forums › Support › Header background not centered horizontally This topic has 5 replies, 3 voices, and was last updated 8 years, 1 month ago by Tom. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts October 15, 2015 at 11:45 pm #144771 Antonio Hi using the header with image as background (http://www.poesiapresente.it/) I get a problem on small display like smartphone. The image is not centered horizontally. How can I fix it? October 16, 2015 at 12:04 am #144775 TomLead Developer Lead Developer Hi there, Background images can be tricky on mobile. Can you give this CSS a try?: .home .generate-content-header { background-position: center center; } Let me know π October 16, 2015 at 12:11 am #144777 Antonio Yes it works. Thanks. October 16, 2015 at 9:40 am #144878 TomLead Developer Lead Developer You’re welcome π October 16, 2015 at 1:34 pm #144982 Joanne Smith try for mobile phones – add custom css plugin and then copy the following .site-header{ background-position: center center; background-size: 100%; background-repeat:no-repeat; background-position: center; } If you update your custom area — it will over ride the above — make sure to save this LAST to remain active October 16, 2015 at 11:22 pm #145077 TomLead Developer Lead Developer Thanks for posting that solution as well π That will work for the site header for sure. Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In