End of Support for Joomla 3 - Forum closed

Updating Break Points to Work with 5G devices

Updating Break Points to Work with 5G devices was created by tmichel

Posted 6 years 2 weeks ago #25677
Traditionally we set a breakpoints for mobile to be anything less than 480 pixels, and that worked. New phones are 414 pixels by 896 pixels, and I am having the problem of the menu switching from the off canvas menu to the regular menu when the phone is switched to landscape view. I want break points like the following.
Code:
/* iPhone 11 Pro Max Viewport – iPhone XS Max Viewport */ @media only screen and (min-width: 896px) and (orientation: landscape) { /* Your Styles... */ } @media only screen and (min-width: 414px) and (orientation: portrait) { /* Your Styles... */ } /* iPhone 11 Pro Viewport – iPhone X Viewport */ @media only screen and (min-width: 812px) and (orientation: landscape) { /* Your Styles... */ } @media only screen and (min-width: 375px) and (orientation: portrait) { /* Your Styles... */ }

This means that I need to alter the template, where would I go, what file(s) should I modify so that I can accommodate a mobile phone in both portrait and landscape view without affecting small tablets at the same time when landscape view on and iPhone Pro Max is 896 pixels more than the number of pixels for a small table in portrait view

Of course I want to target various sizes of tablets and notebooks as well. So I need to update the templates adaptive features; again what files should I be interested in?

I know how to do media queries, I need to update the logic when the template switches to the off-canvass menu. I want the off-canvass menu to be used in both portrait and landscape views on mobile phones, but I want the regular menu to be used on small tablets, so simple pixel breakpoints wont work, I need to break when both the minimum pixel width is encountered and the required orientation is encountered at the same time.
Last Edit:6 years 2 weeks ago by tmichel
Last edit: 6 years 2 weeks ago by tmichel.

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic Updating Break Points to Work with 5G devices

Posted 6 years 2 weeks ago #25696
Hallo,
sie können die Breakpoints lediglich im Customizer anpassen

Attachment breakpoints-2-3-4-5-6-7-8-9-10-11-12.jpg not found



Oder aber in den LESS files. Dieser werden aber bei einem Update überschrieben
..\warp\vendor\uikit\less\core\variables.less

Attachments:

Please Log in or Create an account to join the conversation.

Replied by tmichel on topic Updating Break Points to Work with 5G devices

Posted 6 years 1 week ago #25719
Danke. Jetzt muss ich nur herausfinden, welchen Elementen jeder dieser break-points entspricht. Zum Beispiel, welcher break-point entspricht dem Wechsel von der desktop-Navigationsleiste zur Off-canvas-Navigationsleiste.
by tmichel

Please Log in or Create an account to join the conversation.

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

JoomlaPlates

Professional Joomla Templates with rich documentation and support since 2008. 60+ templates for Joomla 5 & 6.

Joomla 4 Joomla 5 Joomla 6
Contact & Legal
  • support@joomlaplates.com
  • Support Team
  • Mon-Fri: 9:00-18:00 CET

© JoomlaPlates. All rights reserved. 2008 - 2026

JoomlaPlates is not affiliated with or endorsed by the Joomla! Project. Joomla! is a registered trademark of Open Source Matters, Inc.