Tagged: x
-
AuthorPosts
-
January 22, 2017 at 6:02 pm #1340828
kaylaadriannaParticipantHi again! I’ve tried applying a number of codes provided in the forums to change the breakpoint for mobile, but I think I have other custom code used that’s conflicting with it. I’d like to keep my desktop layout for desktop and tablet (so the desktop mode is visible on my ipad mini) but have mobile enabled for anything with a smaller screen. Is there any way you could possibly look at the custom code I’m using an offer a solution? Much thanks in advance.
January 22, 2017 at 6:03 pm #1340829
kaylaadriannaParticipantThis reply has been marked as private.January 22, 2017 at 10:28 pm #1341025
RupokMemberHi there,
Thanks for writing in! Usually mobile menu triggers on the screen size less than 980px. If you want to change this, you can use this CSS :
@media only screen and (min-width: 768px) and (max-width: 979px) { .x-nav-wrap.desktop { display: block!important; } .masthead-stacked .x-btn-navbar { display: none!important; } }You can change the min-width value if needed. Don’t forget to remove other codes you are using for this.
Cheers!
January 23, 2017 at 8:16 am #1341521
kaylaadriannaParticipantThis didn’t work unfortunately. As I said in the first post, I feel like there’s code I’m already using that this code is interferring with and I can’t figure out what’s going on.
When I look at the screen at 800px I see a version of the mobile site (I want to see the desktop version at this size)
When I look at the screen at 768px it’s still in mobile mode (I want to see the desktop version at this size)but anything smaller can be mobile.
Can you help with this?
January 23, 2017 at 9:56 am #1341655
JoaoModeratorHi There,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks
January 23, 2017 at 9:58 am #1341658
kaylaadriannaParticipantThis reply has been marked as private.January 23, 2017 at 12:03 pm #1341868
Nabeel AModeratorHi again,
Thank you for providing the credentials. I couldn’t find the provided code in your Customizer, I went ahead and added the code. Also You had this code in your Customizer which was hiding the Navbar in smaller screens:
@media (max-width:768px) { .x-navbar { display: none; } }I commented the code and it seems to working as expected. Please clear your browser’s cache and reload the site.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1340828 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
