Tagged: x
-
AuthorPosts
-
April 18, 2016 at 11:29 am #888546
richardvargas155ParticipantIs it possible to keep the Top bar always visible even while scrolling, and not just at the very top of the page only? Thanks!
Link: test.aycofarms.com
Regards,
Rich
April 19, 2016 at 12:25 am #889299
RupokMemberHi Rich,
Thanks for writing in! You can add this under Custom > CSS in the Customizer.
.x-topbar { left: 0; position: fixed; right: 0; top: 0; } .x-navbar-fixed-top { top: 46px; }Hope this helps.
Cheers!
April 20, 2016 at 9:33 am #891875
richardvargas155ParticipantThis kind of worked. It does not respond well when resizing the window to mobile, and it overlaps the nav bar by about 10% on load and the only way to fix it is to scroll and then it jumps to the correct orientation. Please see attached. Thanks!
April 20, 2016 at 9:20 pm #892811
Nabeel AModeratorHi again,
I’ve tested your site in multiple browsers and looks good on my end, I also tested on mobile and I see no overlapping, can you please clear your browser’s cache and reload the site?
Let us know how this goes!
April 21, 2016 at 7:33 am #893540
richardvargas155ParticipantMy apologies, I changed it back because I couldn’t stand working with the bar like that.
April 21, 2016 at 2:02 pm #894172
JadeModeratorHi Rich,
Please update the code to:
.x-topbar { left: 0; position: fixed; right: 0; top: 0; } .x-navbar-fixed-top { top: 46px; } @media (max-width: 767px) { .x-navbar-fixed-top { top: 75px; } }Hope this helps.
April 21, 2016 at 2:52 pm #894233
richardvargas155ParticipantSorry here is an updated link: http://s622766227.onlinehome.us/
The problem is still occurring.
April 21, 2016 at 2:54 pm #894239
richardvargas155ParticipantIt is also sticking to the top on mobile as well. I would like the mobile nav to remain the way it was prior to this change.
April 22, 2016 at 4:18 am #895033
Rue NelModeratorHello There,
Please have the given code updated. You can make use of this code instead:
@media(min-width: 980px){ .x-topbar { left: 0; position: fixed; right: 0; top: 0; } .x-navbar { top: 46px; } }The code will only make the topbar and navbar fix in medium and desktop screens. It will retain the default setting in smaller devices.
Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-888546 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
