Tagged: x
-
AuthorPosts
-
July 11, 2016 at 6:10 pm #1082244
Michael BParticipantHello dear Themeco support!
Before bothering you with my questions I want to say thanks for X and the latest update! I really like the integration of Superfly. It has great potential but I have a few questions regarding this new addon:
1.: Is there a way to make the menu icon of Superfly appear after / below the masthead? I have set up a full screen revolution slider above masthead and I would like the menu icon to appear only after the user has scrolled past that slider or clicked the scroll bottom anchor.
2.: How can I customize Superfly´s navbar for mobiles? I need the navbar for mobiles to have a different background color and menu icon color than the desktop version. Also, the mobile navbar displays the identity/top-image/logo of the desktop version menu by default. How can I change that to a basic line of text on mobile? I guess I could achieve these things by using two separate Superfly menus on desktop and mobile, but maybe there´s some CSS available to customize the mobile look of the Superfly menu…
July 12, 2016 at 1:51 am #1082699
RupokMemberHi there,
Thanks for writing in! 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.
July 12, 2016 at 7:04 am #1082970
Michael BParticipantThis reply has been marked as private.July 12, 2016 at 10:46 am #1083279
RupokMemberHi there,
Thanks for the URL.
#1. I have checked the possibility but it won’t be possible usually. You might be able to achieve this but it will behave unusual and won’t be responsive for all devices.
#2. You can add your CSS for mobile devices using media query :
@media only screen and (max-width: 480px) { #sfm-sidebar.sfm-compact .sfm-scroll-wrapper { background: #f54; } }Let’s change the CSS and add your own CSS within the media query.
Cheers!
July 12, 2016 at 2:50 pm #1083672
Michael BParticipantHi Rupok,
thanks for the effort, but unfortunately this code didn´t change anything. Any other ideas?
July 13, 2016 at 12:35 am #1084283
ChristopherModeratorHi there,
Please try this code:
@media (max-width780px){ #sfm-mob-navbar .sfm-navicon, .sfm-label-metro .sfm-navicon, #sfm-mob-navbar .sfm-navicon, .sfm-label-metro .sfm-navicon:after, #sfm-mob-navbar .sfm-navicon:after, .sfm-label-metro .sfm-navicon:before, #sfm-mob-navbar .sfm-navicon:before { background-color: red; } #sfm-mob-navbar { background-color: #fff; } }Hope it helps.
July 14, 2016 at 2:29 pm #1087322
Michael BParticipantHi Christopher,
thanks for your suggestion. Unfortunately, mobile navbar is still red. I tried fiddling around with the codes given by you and Rupak to a certain extent but nothing really changes. Also tried adding these snippets in Superfly´s own “advanced” tab for CSS and under Customizer>Custom>CSS. Doesn´t really make a difference, none of the options work. Seems that the Superfly menu is somewhat resistant to CSS customization 🙂
July 14, 2016 at 11:05 pm #1087999
RadModeratorHi there,
Maybe SupoerFly’s CSS has greater priorities. To override that, let’s add !important;
@media (max-width780px){ #sfm-mob-navbar .sfm-navicon, .sfm-label-metro .sfm-navicon, #sfm-mob-navbar .sfm-navicon, .sfm-label-metro .sfm-navicon:after, #sfm-mob-navbar .sfm-navicon:after, .sfm-label-metro .sfm-navicon:before, #sfm-mob-navbar .sfm-navicon:before { background-color: red !important; } #sfm-mob-navbar { background-color: #fff !important; } }Thanks!
July 21, 2016 at 2:40 pm #1097507
Michael BParticipantThat still did not do the trick.
But nevermind, I dropped the idea of having a custom mobile navbar. Now I am going with the hamburger button on mobile as well and that´s fine.
July 21, 2016 at 3:17 pm #1097585
JoaoModeratorHi Michael,
Thanks for letting us know.
Please reach us if you need help with anything else.
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1082244 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
