Tagged: x
-
AuthorPosts
-
July 19, 2016 at 3:39 pm #1094149
mgmaParticipantI am hoping to use your theme for a couple of projects… but need a solid way to create a 2 row menu. Sometimes joing the top menu can be styled to look like this, but then disappears on scroll with fixed menu.
Can you suggest how I can do something like the attached, with X?
Thanks!!
July 19, 2016 at 6:56 pm #1094363
NicoModeratorHi There,
Thanks for writing in.
You can follow the thread below
https://community.theme.co/forums/topic/second-row-of-menu/
Hope it helps.
Thanks.
July 19, 2016 at 9:30 pm #1094658
mgmaParticipantThanks. Is there a way to make the top menu sticky, along with the bottom menu?
July 19, 2016 at 10:49 pm #1094701
mgmaParticipantThanks… but the code in the revised _nav-above-below.php cited in this post does not exist in the latest version. Can you please be specific with the .latest code how to do this?
Thanks!
July 19, 2016 at 10:58 pm #1094705
mgmaParticipantThis is the code in that file, and so I am confused…
if( function_exists( ‘ubermenu’ ) && $config_id = ubermenu_get_menu_instance_by_theme_location( ‘primary’ ) ):
ubermenu( $config_id, array( ‘theme_location’ => ‘primary’) );
else: ?><nav class=”x-nav-wrap desktop” role=”navigation”>
<?php x_output_primary_navigation(); ?>
</nav><div class=”x-nav-wrap mobile collapse”>
<?php x_output_primary_navigation(); ?>
</div><?php endif; ?>
July 20, 2016 at 2:24 am #1094904
Paul RModeratorHi,
You can add your menu in your topbar content instead.
Can you provide us your site url so we can see how your menu looks like.
Thanks
July 20, 2016 at 3:22 pm #1095855
mgmaParticipantThanks. It is currently…
That’s what I did with the other template… but the two menu areas load a somewhat different times, sometimes a gap shows briefly between them, etc. I also need them to be sticky together… both… currently your top menu disappears on scroll.
I have a couple sites requesting this feature… a 2 row menu… but it seems there aren’t really solid solutions. Please help me figure this out, so I can do it the right way… I’d be glad to use X a couple more times if I can get this right.
Thanks!
July 20, 2016 at 3:54 pm #1095885
JoaoModeratorHi There,
Would you mind to provide a screenshot of what you are trying to achieve.
Will be easier to guide you if we can visualize it.
Your header does not disappear on Scroll on my end.
Let us know more details
Thanks
Joao
July 20, 2016 at 11:12 pm #1096450
mgmaParticipantSure… it’s in the first comment of this post. This is the look I’m trying to copy. But that one is usinfg the Top Bar… and like I outlined there are problems with it. And it doesn;t seem like I can even use your top bar… because it daoes stay fixed on scroll. Can this be changed?
So in your template it would look something like… the attached. All menu items can be the same style, with the search icon hanging off the end, vertically centered. But all one piece… all sticky/fixed on scroll, etc.
Can you help?
Thanks Joao!
July 20, 2016 at 11:48 pm #1096487
RupokMemberHi there,
I can’t see the menus on topbar. Did you add yet? Are you referring this as your second menu? – http://prntscr.com/bvj9nx
Kindly do what’s already suggested. Add them within Topbar and we can provide some code to make the topbar sticky.
Cheers!
July 21, 2016 at 12:37 am #1096524
mgmaParticipantNo I didn’t… this was just a PS screenshot.
ok, I will add and style the top bar to fit as best I can… and come back for additional guidance.
Thanks!!
July 21, 2016 at 1:06 am #1096544
RupokMemberYou are welcome! Let us know when you are ready.
Cheers!
July 21, 2016 at 2:21 am #1096596
mgmaParticipantok, please take look…
Looks nice? Can you help me bing it together now, and make it all sticky together?
Thanks again for your help guys!!
July 21, 2016 at 2:33 am #1096607
RupokMemberHi there,
Thanks for writing back! You can add this under Custom > CSS in the Customizer.
.x-topbar { height: 50px; left: 0; position: fixed; right: 0; top: 0; } .x-navbar { left: 0; position: fixed; right: 0; top: 50px; } .x-slider-container.below, .x-header-landmark { margin-top: 50px; }Hope this helps.
Cheers!
July 21, 2016 at 3:21 am #1096658
mgmaParticipantWorks great! Thanks so much for your help in working this out Rupok! I appreciate it very much.
X!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1094149 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
