Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 28. Mar 2024, 14:57

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 17. Jan 2018, 05:28 
Offline

Joined: 28. Dec 2017, 22:11
Posts: 4
I've got a page at http://rezility.rocks/banner2.htm I'm importing into the home page of the same website ( http://rezility.rocks ).

For mobile, I'm using 20vh for the size. Is there a way to have 20vh used when the phone/tablet is vertical, but 80vh when the phone/tablet is horizontal? It would solve a lot of problems.


Top
 Profile  
 
PostPosted: 17. Jan 2018, 09:11 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you can do this with css and media queries:

@media (orientation: portrait) { }
@media (orientation: landscape) { }

you can do this in your main css or you create an additional one on the "add/include files" tab and include it there.

Best, Michael


Top
 Profile  
 
PostPosted: 17. Jan 2018, 17:25 
Offline

Joined: 28. Dec 2017, 22:11
Posts: 4
That would be great, but what is the css that goes in there?

EDIT: Nevermind, worked perfectly, thanks!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy