Hey guys,
Across the board on my website, whenever I have something thats fullwidth, it appears weird on mobile. it doesn’t stay fullwidth.
For example here:
(the first image you see when scrolling down shouldnt have the white sides)
Can you help me fix this? Thanks!
Chris
Hey ccyran,
I don’t seem to see it, can you add a screenshot from your phone?
I assume this occurs on a iPhone, do you know if this occurs in Android also?
Best regards,
Mike
Hey Mike, my mistake, I had another post on the forums months ago that solves this. I have to hide an entry on desktop and create a new one for mobile.
But I do need help with one other thing!
On this page for example, I don’t want images to expand past a certain size, is there an easy CSS I can apply for this?
One that I can write in the “custom CSS class” of elements.
Hi,
Can you explain what is the maximum size you would like the images to reach? Have we helped you with this issue on a different page before?
Best regards,
Mike
Hey,
For example I dont want the image to expand past 700px.
I believe this is the correct CSS?
.portrait {
max-width: 600px;
}
and I apply “portrait” where I want this to happen.
thanks!
Hi,
Could you provide screenshots of the issue? I don’t see anything unusual with the current layout.
Best regards,
Ismael
Hey Ismael,
The CSS I mentioned above actually works. By issue, Im referring to the image enlarging to a size I don’t want it to, when the window browser gets bigger.
Hi,
For that you would need a media query, which would stop the image size, based on the screen size.
So you actually – LOCK – the size of the image for different screen sizes.
Best regards,
Basilis