Full-height on desktop, full-width on mobile?
-
I am trying to create a page with a carousel that almost fills the height of the viewport on a desktop, while almost filling the WIDTH of the viewport on a mobile device (like a lightbox, but on the page itself). Am I on a wild goose chase? I can’t find a combination of settings that works in “preview” mode. I have tried adding custom CSS to the block to specify max-height. If I start with a block with columns, I can get the effect I want on the desktop, but not on the mobile preview. I am going in circles.
I am new to WordPress (w/Astra theme) and Visual Portfolio, so I may be overlooking/misunderstanding something obvious to others. I am working on a local host. Nothing is public yet. I am not certain that the “preview” mode accurately portrays the way that the page will appear in the real world.
Suggestions?
Thanks.
The topic ‘Full-height on desktop, full-width on mobile?’ is closed to new replies.
