Support Forum

  • Page:
  • 1

Distinguish between smartphone landscape and portrait

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hello,

we are seeking for a framework with the ability to distinguish between (modern) smartphone portrait and landscape. Is this possible using your template(s)?

Best Regards

Winfried
  • Winfried Ederer's Avatar
  • Winfried Ederer
  • 3 Month Basic
  • 3 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Winfried,

With the template framework you can add your own breakpoints

But can you give me a little more information in how you want this to work? e.g. are you looking for module classes / automation etc

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hello Paul,

Thank you for the quick response. We have a given layout for a website - on the startpage a slideshow is shown on the left (2/3) and some other information is shown on the right (1/3). We want to stack the colums on smartphone portrait but not on smartphone landscape - see attached image. It's not finetuned yet and just "work in progress".

Best Regards

Winfried
Attachments:
  • Winfried Ederer's Avatar
  • Winfried Ederer
  • 3 Month Basic
  • 3 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Winfried,

Are you wanting this to be automatic or are planning to add coding support?

What membership level were you considering?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hello Paul,

automatic would be great, but some help in coding would be sufficient - and we are willing to pay for that help.

We are considering the developer subscription in case we decide in favour of your solution. Because we spent a lot of time and money seeking for a framework that's fast and meets our needs I've got cautious with subscriptions at the moment.

The heart of the website will be a travel catalogue (ca. 200 entries) build with SobiPro (giving us the ability to import and update entries periodically). Another important thing will be the possibilty to change slideshows and slidesets by the customer himself, at the moment this is done using the widgetkit from Yootheme. SobiPro is using Bootstrap while the widgetkit is using UIKit - that's not optimal but at least it's working for us at the moment. Maybe ZENTools can replace widgetkit, I did not test it until now.

If the arguments for your solution are convincing, I am willing to subscribe today.

Best regards

Winfried
  • Winfried Ederer's Avatar
  • Winfried Ederer
  • 3 Month Basic
  • 3 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Winfred,

Zengrid has it's own css framework, but you can enable any needed parts of bootstrap to be included in the less compiler.

For the breakpoints, the framework has options to modify mobile/tablet/desktop breakpoints, but if you needed something in between it may need to be done with a custom.css file or a custom.less file.

You can specify css for landscape devices specifically using a media query:
@media (orientation: landscape) {//css/less goes here}

Regards,

Rob
  • Robert Went's Avatar
  • Robert Went
  • Moderator
  • 2210 posts
  • 196 Thanks
  • Karma: 90
Last Edit: 7 years 3 months ago by Robert Went.
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers