Home › Forums › Support › Image size page hero This topic has 11 replies, 4 voices, and was last updated 4 years, 4 months ago by David. Viewing 12 posts - 1 through 12 (of 12 total) Author Posts June 26, 2019 at 11:22 pm #942530 antoine Hy, Il would like to set a specific size for the background image in page hero header and Keep bacground color full width. So the image overlap the bacground but not cover full width too. Is there a way to adjust backgroud image size? Thank you, Antoine June 27, 2019 at 6:18 am #942779 DavidStaff Customer Support Hi there, if i understand correctly, then add your featured image to the header element, set the background position to center center. Add your background color – but do not select background color as overlay. Then add this CSS: .page-hero { background-size: contain; } June 27, 2019 at 8:57 am #943045 antoine Hello David, Thank you. I have just change contain by initial. It works fine. Great support! June 27, 2019 at 9:07 am #943054 DavidStaff Customer Support Glad to be of help. December 1, 2019 at 6:19 pm #1088692 brandwatch Hi David, did the same thing and worked great to have a full size image on page hero, but doesn’t work on mobile π December 1, 2019 at 7:13 pm #1088749 LeoStaff Customer Support Any chance you can link us to the page in question? Feel free to start a new topic so you can use the private URL field. Let me know π December 2, 2019 at 9:42 am #1090118 brandwatch https://www.18punto5.com/ December 2, 2019 at 10:07 am #1090153 LeoStaff Customer Support What is the effect you’d like to achieve? What if we use a specific background image just for mobile? December 7, 2019 at 4:19 pm #1097394 brandwatch SURE, how can I use a specific image only for mobile? December 8, 2019 at 4:31 am #1097655 DavidStaff Customer Support Hi there, the Site you imported has some CSS for positioning the background image which needs to be removed. In Customizer > Additional CSS remove this: /* ------ Page Header ------- */ .page-hero { height: 100vh; background-size: 70vh; background-position: 90%; } .inside-page-hero { margin-left: 40px; margin-right: 50%; } @media (max-width: 419px ){ .page-hero { min-height: 568px; background-position: 42vw !important; } .inside-page-hero { margin-left: 20px !important; margin-right: 20% !important; } } @media (min-width: 420px) and (max-width: 768px) { .page-hero { background-position: 60vw !important; background-size: 60vh !important; } .inside-page-hero { margin-right: 40% !important; } } December 8, 2019 at 12:41 pm #1098060 brandwatch Thanks!!! It work!!! December 8, 2019 at 1:08 pm #1098078 DavidStaff Customer Support Glad to be of help π Author Posts Viewing 12 posts - 1 through 12 (of 12 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In