Tagged: x
-
AuthorPosts
-
May 25, 2016 at 3:44 am #1008701
Ryandm1983ParticipantHi Guys
having a bit of an issue with hiding the topbar, from the research on the knowledge base ive added the below code into custom css, problem is it hides the topbar as well as the header !! :(. Is it possible just to show the topbar on home page, and off on all others or off on specific pages ?.
Many Thanks – Shot for the great theme & support
The code im using.
.x-topbar {
display:none;
}
.home .x-topbar {
display:block!important;
}May 25, 2016 at 5:07 am #1008773
Paul RModeratorHi,
Thanks for writing in!
The code looks corrects and shouldn’t hide your header.
Can you provide us your site url so we can take a closer look.
Thanks
May 25, 2016 at 7:36 am #1008937
Ryandm1983ParticipantThis reply has been marked as private.May 25, 2016 at 7:37 am #1008940
Ryandm1983ParticipantAdd the code and you will see header goes also, it may be because header is set to sticky?. not sure…
PS, i define the header by the top menu section just below the topbar
May 25, 2016 at 8:31 am #1009032
ChristopherModeratorThanks for writing in! Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (a link to a similar example site would be very helpful, or perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.
May 25, 2016 at 11:53 am #1009394
Ryandm1983ParticipantHi, as mentioned in my opening comment on this thread, by using this code here shown below…
.x-topbar {
display:none;
}
.home .x-topbar {
display:block!important;
}I intend to hide the topbar on all pages with the exception of the home page. As per Paul R’s reply to this thread he stated this code looks correct & should give me this desired outcome. However when i add the code the header disappears along with the topbar. I just want the topbar removed not the header also.
Please see attached image showing the problem: …
May 25, 2016 at 1:02 pm #1009525
ThaiModeratorHi There,
Please try with this CSS instead:
.x-topbar-inner { display:none; } .home .x-topbar-inner { display:block !important; }Hope it helps 🙂
May 26, 2016 at 12:14 pm #1011427
Ryandm1983ParticipantIt helps indeed ! — perfect thank you
May 26, 2016 at 1:41 pm #1011547
RupokMemberYou are welcome!
Glad that it helped. Feel free to let us know if you face any other issue. We’ll be happy to assist you.
Thanks for using X.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1008701 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
