« SpaceHey Forum

Question about layout development for SpaceHey app

Posted by Tibe

posted

Forum: SpaceHey

I've just installed the SpaceHey app and it's great so far... except for the fact it messes up my layout: the container asset is way too thin on mobile, making the text contained within harder to read. Therefore, can I make it so that the container's width percentage is higher when viewing the layout on mobile than on desktop? Is it possible to code layouts so that certain aspects of the code only apply when viewing it on a specific platform?


Report Topic

1 Reply

Reply by EngiQu33ring

posted

It is, but you need to use Media Queries and set the device width setting to be below a certain size, usually something like 600px

Anything inside of the curly brackets of the media query will override the normal styles; the CSS you're currently using won't need to be altered and will be treated as the default unless something in the media query overrides it.


Permalink Report Reply