BuddyBoss Home – Web › Support Forums › Themes › Boss. theme › Hide Header (Titlebar) on scroll?
Tagged: scroll, scroll header, titlebar
- This topic has 9 replies, 4 contibutors, and was last updated 8 years, 7 months ago by Anonymous.
Question
May 20, 2015 at 6:32 am #40439@snikayHas someone done this?
I would like to hide the Titlebar on scroll. Maybe just on Mobile Devices!Here is an example of what i am thinking of:
http://wicky.nillia.ms/headroom.js/Would be nice the have that in the Theme anyways.. 🙂
Answers
May 20, 2015 at 11:41 am #40449May 20, 2015 at 11:42 am #40450@alyssa-buddyboss
AlyssaParticipantI think there may be a problem if you try to scroll if the menu is open and we are using a scrolling div, not sure it will work but thanks for the info.
May 23, 2015 at 9:35 am #40524@snikayI installed the headrooom.js (third party) plugin and it’s working fine for me;
https://wordpress.org/plugins/headroomjs/First i had problems, than I just dropped the whole content of the plugin’s headroomjs/css/headroom.css into the (child) theme’s custom.css and it’s working just fine!
May 23, 2015 at 3:49 pm #40550@alyssa-buddyboss
AlyssaParticipantAwesome, then you should probably look for it in a future release 🙂
May 24, 2015 at 3:58 pm #40597@snikayIn a future Boss release? This would be awesome! 🙂 Because it’s still just working – not looking pretty..
(For notice if someone else reads this and is interested)
Now i’m dealing with the problem of the hiding logo and have to put it in the BuddyPanel somehow. I will try it tomorrow. If I fail, i’ll wait for you guys 😉See my post here: https://www.buddyboss.com/support-forums/topic/logo-in-left-sidebarbuddypanel-instead-in-header/
March 30, 2016 at 8:21 pm #66165@davejayI just had a user complain about my site’s header on mobile blocking page content (see attached screenshot).
I think I’ve temporarily fixed the problem with this line of CSS:
.is-mobile #mobile-header {position:relative!important;}
but it’s still not quite right. Has thisheadroom.js
idea been included in Boss already? If so, there’s still trouble…March 31, 2016 at 5:01 am #66228@
AnonymousHi @davejay, Its added in our setting that users want a static header or not…they can select it from theme setting panel.
I will check it with developers..
Regards
March 31, 2016 at 9:54 am #66263@davejayThanks @pallavi. Forgive me, but I’m not seeing any option in Boss settings for disabling the static header – just the choice of header style. Am I missing something?
April 1, 2016 at 6:59 am #66459@
AnonymousHi @davejay, I apologize..by mistake I suggested you our other theme’s option panel..
At present, the css trick you used, is completely removes the fixed header on mobile view.
Please try this one:
.is-mobile #mobile-header { top: 0px !important; }
Regards
- The question ‘Hide Header (Titlebar) on scroll?’ is closed to new replies.