- This topic has 13 replies, 4 voices, and was last updated 2 years, 2 months ago by David.
-
AuthorPosts
-
June 30, 2022 at 8:55 am #2269424William
Hello
I have created an article that has images and text in it.
On desktop it looks fine with e.g. 4 images in a line within a grid (in separate containers), but when I preview in Mobile all the images are now stacked on top of each other. I can’t seem to change it only in Mobile view so that the layout isn’t messed up.
Is there a way to customise mobile-view without affecting desktop/tablet view?
Thanks
Will
June 30, 2022 at 10:22 am #2269525LeoStaffCustomer SupportHi there,
Any chance you can link us to the page in question?
You can use the private information field:
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-informationLet me know 🙂
July 1, 2022 at 2:21 am #2270062WilliamHi,
I have put the page below, I think you should be able to view it. You can see the four images in a row which get squashed in when viewing on a mobile.
Thank you
Will
July 1, 2022 at 6:16 am #2270223DavidStaffCustomer SupportHi there,
did you resolve the issue ? As i see 2 colums on mobile ?
July 1, 2022 at 7:25 am #2270283WilliamHi David,
Not really – I made changes to the desktop version that meant it looked better on mobile, but I would still like to be able to independently arrange the mobile version. E.g. use different photos for mobile that fit the screen better, maybe?
If I increase the photo size on mobile, the change also happens in desktop.
July 1, 2022 at 7:46 am #2270299DavidStaffCustomer SupportAm i looking at the right thing?
July 1, 2022 at 8:03 am #2270469WilliamYes – So for example if I make the lifespan photo smaller, it will become smaller on the desktop view as well.
July 2, 2022 at 3:13 am #2270963DavidStaffCustomer SupportAah ok … sorry being a little dense lol
If you have GenerateBlocks 1.5 installed ( latest version ). The there is a GB Image Block. If you use that instead of the core one then you can resize the images for Tablet and Mobile.
I recommend you select the Medium attachment size for desktop, and then use the width / height fields to resize on mobile.
July 5, 2022 at 1:41 am #2273455WilliamHi
What do you mean by GB Image Block sorry – is that a plugin?
July 5, 2022 at 2:28 am #2273493MatthiasI think David means the plugin generateblocks – which has (i think) 6 blocks – one of them is an image block. It was currently added and has more options then the “normal” image block coming with wordpress.
July 5, 2022 at 3:42 am #2273556WilliamThat solution looks like it could work, is there an example page showing how to add CSS to a specific container? Thank you
I see in your description that it could be annoying having two containers where only one would show depending on what device you are using
It would still be preferable to have the ability to edit a picture/container size depending on what it will be viewed in though…
July 5, 2022 at 3:43 am #2273557DavidStaffCustomer SupportWilliam, you are using the GenerateBlocks plugin to create that grid.
In the latest version we added an Image Block:https://docs.generateblocks.com/article/image-overview/
That comes with responsive controls
July 5, 2022 at 3:55 am #2273563WilliamOK thank you I am going to play about with this and see how it goes.
Thanks again!
July 5, 2022 at 4:09 am #2273573DavidStaffCustomer SupportLet us know how you get on!
-
AuthorPosts
- You must be logged in to reply to this topic.