Tagged: x
-
AuthorPosts
-
September 19, 2016 at 4:07 pm #1182105
fmgrafikdesignParticipantHi there, I have a quick question. I adjusted the breakpoint of the mobile menu with media queries, but now the slide-transition from top to bottom is missing in the adjusted area, eg. it still works in the range up to the default 979px but not between 980px and 1199px. Could you tell me the CSS I need to fix this?
Link to site: http://alwis.fmgrafikdesign.de/materialien/
Attached is a video showing the issue.Best regards and thanks for your support,
FabianSeptember 19, 2016 at 4:08 pm #1182106
fmgrafikdesignParticipantAttachment exceeded upload size, so here is an external link: https://dl.dropboxusercontent.com/u/11536087/transition.mp4
September 19, 2016 at 11:26 pm #1182595
FriechModeratorHi There,
Thanks for writing in! You can add this under Custom > CSS in the Customizer.
.collapsing {transition: all 0.3s ease;}Cheers!
September 21, 2016 at 12:19 am #1184198
fmgrafikdesignParticipantHi Friech,
Thanks for your reply! I added the code to the global css, but it still doesn’t work. Can you give me further advice?
Best,
FabianSeptember 21, 2016 at 4:13 am #1184339
ChristopherModeratorHi 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.
September 21, 2016 at 12:20 pm #1185026
fmgrafikdesignParticipantThis reply has been marked as private.September 21, 2016 at 4:46 pm #1185458
JadeModeratorHi Fabian,
Please add this code in the custom JS:
jQuery(document).ready(function($) { var menu_breakpoint = 1199; $('.s-mobile-collapse a').click(function(e){ var current_width = $(window).width(); if(current_width > menu_breakpoint) { return true; } else { e.preventDefault(); $('ul.sub-menu', $(this).parent() ).each(function(){ if( $(this).hasClass('mobile-collapsed') ) $(this).removeClass('mobile-collapsed'); else $(this).addClass('mobile-collapsed'); }); } }); });September 22, 2016 at 3:59 am #1186180
fmgrafikdesignParticipantHi Jade,
Thanks for your reply! I added the code to the global JS in the Customizer, but nothing has changed. The script gets loaded, but it does not trigger on clicking the hamburger-button. Can you give me further advice?
Best,
FabianSeptember 22, 2016 at 6:41 am #1186312
Paul RModeratorHi Fabian,
To fix it, please remove the js code then add this in custom > css
.x-nav-wrap.mobile { display:block; } .x-nav-wrap.mobile.collapse { display:none; }Hope that helps.
September 22, 2016 at 7:24 am #1186340
fmgrafikdesignParticipantHi Paul,
Thank you for your reply! This CSS did the trick. Thank you very much for your support!
Best Regards,
FabianSeptember 22, 2016 at 10:14 am #1186507
JoaoModeratorGlad to hear it Fabian,
Let us know if you need further help with anything else.
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1182105 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
