Site logo

Archived topic

Desktop and Mobile Versions of Articles

13 replies · Started by William on June 30, 2022

Viewing posts 1–14 of 14

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

Hi,

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

Hi there,

did you resolve the issue ? As i see 2 colums on mobile ?

Hi 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.

Yes - So for example if I make the lifespan photo smaller, it will become smaller on the desktop view as well.

Aah 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.

Hi

What do you mean by GB Image Block sorry - is that a plugin?

That 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...

OK thank you I am going to play about with this and see how it goes.

Thanks again!

Let us know how you get on!

This archived topic is closed to new replies.