Tagged: x
-
AuthorPosts
-
July 15, 2016 at 5:03 am #1088273
dekynParticipantI have installed the extention Superfly Menu. I only want the Superfly menu to show on mobile devices and not on tablets, so I have put tried the following code but it is not working. Can you provide me a correct CSS code?
@media screen and (max-width: 350px) {
.superfly-on #sf-sidebar {
display: none !important;
}
}Thanks a lot in advance.
July 15, 2016 at 5:04 am #1088274
dekynParticipantThis reply has been marked as private.July 15, 2016 at 1:15 pm #1088881
LelyModeratorHi There,
Above CSS will hide it in mobile. Please try this:
/* Portrait and Landscape */ @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) { .superfly-on #sf-sidebar { display: none !important; } }You may want to check this link:https://css-tricks.com/snippets/css/media-queries-for-standard-devices/
Hope this helps.July 19, 2016 at 8:07 am #1093418
dekynParticipantThank you for your reply.
I tried pasting tre ned CSS to my childtheme, but the menu is stilling Superfly menu is still showing up on a tablet.
Hope you can help.
July 19, 2016 at 9:46 am #1093613
Paul RModeratorHi,
Upon checking, I can n longer see your superfly menu even on desktop.
Can you provide us as a screenshot on how it looks in your end.
Please update your theme to latest version.
Thanks
July 19, 2016 at 12:52 pm #1093942
dekynParticipantThis reply has been marked as private.July 19, 2016 at 12:59 pm #1093950
dekynParticipantThis reply has been marked as private.July 19, 2016 at 9:04 pm #1094633
LelyModeratorHi There,
Thank you for the screenshot. It is not working because you have CSS syntax error on your child theme style.css file. Please check the following code. This code is not a CSS code but rather a PHP code. It will prevent the CSS below this code from working:
add_filter('wp_head', 'google_font_roboto'); function google_font_roboto () { ?> <link href='' rel='stylesheet' type='text/css'> <?php }Please update that code to this:
@import url('http://fonts.googleapis.com/css?family=Roboto');
That line is the CSS version of getting the Roboto font.Hope this helps.
July 20, 2016 at 3:33 am #1094974
dekynParticipantHi Lely
Thank you for the reply. I am a total novice to coding, and I do not know hos to Update tre code. I know it perhaps is a lot to ask, but can you provide me with the exact code I can place in the child function.php in order to fix the CSS syntax error. Thank you in advance.
July 20, 2016 at 4:34 am #1095036
ThaiModeratorHi There,
I updated the code for you.
Please check your website.
Regards!
July 20, 2016 at 8:27 am #1095276
dekynParticipantThis reply has been marked as private.July 20, 2016 at 8:45 am #1095300
JoaoModeratorHi There,
I just checked your website on my Ipad and there is no Superfly.
Would mind clearing your tablet´s browser cache and testing again?
Also your image did not upload, max upload size is 500kb
Let us know how it goes
Joao
July 20, 2016 at 11:23 am #1095511
dekynParticipantThis reply has been marked as private.July 20, 2016 at 11:45 am #1095547
JoaoModeratorGlad to hear it.
Joao
July 21, 2016 at 2:46 pm #1097518
dekynParticipantThis reply has been marked as private. -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1088273 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
