Tagged: x
-
AuthorPosts
-
October 27, 2016 at 1:05 pm #1233552
Zack FParticipantHi,
I can’t seem to find the exact question I have. Basically I want my website to switch to the “mobile” phone style layout on an ipad when looked at either in portrait or landscape view. It seems to me that it would be simple enough to just change the default @media breakpoint to switch to mobile even on a bigger screen size. But I can’t find how to change the default breakpoint.Can you please help me change the default breakpoint?
Thanks.
October 27, 2016 at 7:42 pm #1233972
Rue NelModeratorHello There,
Thanks for writing in! The default breakpoint of X is 980 pixels. The iPad has a 768 pixels width in the portrait and 1024 pixels when viewed in landscape. Do you want to change the breakpoint so that the both the landscape and portrait view will look like just mobile design?
Please clarify. To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
Thank you.
October 28, 2016 at 12:01 am #1234268
Zack FParticipantThis reply has been marked as private.October 28, 2016 at 2:36 am #1234391
RupokMemberHi there,
Thanks for wriitng back. Let’s follow this and adjust the breakpoints with your own screen size – https://community.theme.co/forums/topic/making-the-responsive-menu-show-at-certain-screen-port-width/#post-779359
Cheers!
October 28, 2016 at 1:02 pm #1235041
Zack FParticipantThe post you are referring to is showing the breakpoints for the MOBILE MENU, not the entire site. Please, I am looking to change the breakpoint for the ENTIRE SITE.
October 28, 2016 at 10:39 pm #1235553
Rue NelModeratorHello There,
To resolve your issue, please add the following css code in the customizer, Appearance > Customize > Custom > CSS
@media (max-width: 1024px) { .masthead .x-btn-navbar { display: inline-block; float: none; margin-left: auto; margin-right: auto; } .x-navbar-inner { text-align: center; } .x-nav-wrap.desktop { display: none; } .x-nav-wrap.mobile { display: none; } .x-nav-wrap.mobile.collapse.in { display: block; } .x-column.x-sm { float: none; width: 100%; margin-right: 0; } }Please let us know if this works out for you.
October 31, 2016 at 2:14 pm #1238286
Zack FParticipantThat is what I was looking for. Thanks!
October 31, 2016 at 3:13 pm #1238349
JadeModeratorYou’re welcome, Zack.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1233552 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
