Home › Forums › Support › Adapt page header image in mobile This topic has 24 replies, 3 voices, and was last updated 4 years, 2 months ago by David. Viewing 10 posts - 16 through 25 (of 25 total) ← 1 2 Author Posts January 20, 2022 at 4:18 am #2087041 Eloy Now is at the top of the CSS editor. The original header image is 1600×1067 pixels and the mobile version is 768×512 pixels -> http://whynotpilates.recetamaestra.com/wp-content/uploads/2021/12/imagen-cabecera-why-not-pilates-manuel-alcazar-5-5-movil.jpg January 20, 2022 at 5:16 am #2087095 DavidStaff Customer Support And its working – you can see here: https://www.screencast.com/t/zWPxuAsOOsjJ But you need to add an image that is better designed for Mobile – eg. a Portrait image January 20, 2022 at 9:29 am #2087595 Eloy Thank you 🙂 Which size do you recommend? January 20, 2022 at 9:35 am #2087609 DavidStaff Customer Support You may need to experiment a little but you ideally want to crop the image so its more portrait – see the red outline for example: https://www.screencast.com/t/MevlXkgtA Image dimensions as an example: 768px wide x 1366px high. That the dimensions of popular screen sizes. January 20, 2022 at 11:20 am #2087739 Eloy Thank you very much. I’m going to do some tests and if I’m not convinced maybe I’ll buy GenerateBlocks Pro. Because there is no other option to do it, right? January 20, 2022 at 11:36 am #2087763 YingStaff Customer Support CSS should work, but if you are not comfortable with CSS, GB pro offers built in options for this. January 21, 2022 at 2:18 am #2088316 Eloy Thanks. And the only code I can add in CSS is this, right? -> @media(max-width: 768px) { .gb-container.home-hero-image:before { background-image: url('the_full_url_to_your_mobile_image/image.jpg'); } } January 21, 2022 at 5:08 am #2088435 DavidStaff Customer Support Yes – Thats the only CSS you require to change that Containers background image. January 21, 2022 at 8:47 am #2088905 Eloy I’ve been doing tests and now it looks much better. I’ll keep trying to see if I can find a better way to display. Thank you very much for your help!!!!! 🙂 🙂 🙂 January 21, 2022 at 8:56 am #2088911 DavidStaff Customer Support Glad to be of help! Author Posts Viewing 10 posts - 16 through 25 (of 25 total) ← 1 2 You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In