When designing my website, I wish for my hero images in my blog posts to be landscape on desktop but portrait in mobile view. Is this possible? I can not see an option anywhere which suggests it is. However, other websites I have seen can do this.
At the moment, when I change the hero images, it changes it for both desktop and mobile. If I changed to portrait it looks fine on mobile but then the desktop looks huge and out of proportion.
1. On our current layout, the title of the blog post is over the feature image, however on the mobile the title is located underneath the image. Is there a way for the title to be over the image in mobile mode like it is on the desktop?
2. Currently, we have some pictures within the blog post set side by side each other because it looks more pleasing on desktop, nice and big. However, in mobile mode the pictures side by side look too small. Is there a way to make the images separate underneath one another in portrait mode via mobile only?
Thanks for this. It partially worked, the only thing that is missing is that on the desktop version, the feature image is slightly faded, so the writing stands out. Is there coding for this to be done on the mobile as well please? If you view the desktop version you will see what I mean.
Hello,
When designing my website, I wish for my hero images in my blog posts to be landscape on desktop but portrait in mobile view. Is this possible? I can not see an option anywhere which suggests it is. However, other websites I have seen can do this.
At the moment, when I change the hero images, it changes it for both desktop and mobile. If I changed to portrait it looks fine on mobile but then the desktop looks huge and out of proportion.
Thanks,
JustGoTravelling
Hi,
With your currently Single Post Style, you can add more this code to Customize > Custom CSS to do that:
Change value 100 to value as you want on mobile.
Best Regards,
PenciDesign
Hi,
Thank you, that worked great!
Another 2 questions:
1. On our current layout, the title of the blog post is over the feature image, however on the mobile the title is located underneath the image. Is there a way for the title to be over the image in mobile mode like it is on the desktop?
2. Currently, we have some pictures within the blog post set side by side each other because it looks more pleasing on desktop, nice and big. However, in mobile mode the pictures side by side look too small. Is there a way to make the images separate underneath one another in portrait mode via mobile only?
Thank you,
JustGoTravelling
Hi,
1/ Please add more this code to Customize > Custom CSS to do that:
2/ Please try add more this code to Customize > Custom CSS to do that:
Best Regards,
PenciDesign
Hello,
/1 Did not work, it leaves a blank white line through my featured picture.
/2 Worked great thank you.
Hi,
1/ Please try again with this code:
Best Regards,
PenciDesign
Hi,
Thanks for this. It partially worked, the only thing that is missing is that on the desktop version, the feature image is slightly faded, so the writing stands out. Is there coding for this to be done on the mobile as well please? If you view the desktop version you will see what I mean.
Thanks
Hi,
Please try replace the code I sent to this code:
Best Regards,
PenciDesign