View Full Version : How do I remove nave bar?
Hello,
I would like to remove my navbar from my site but how would I have to do it?
I'm posting a pic below marked with red lines of the part I wish to remove.
152529
Thanks!
darnoldy
05-24-2015, 04:07 PM
Log in to your admin control panel.
Open the style manager.
double click on Navigation/Breadcrumb templates to view templates in the group
choose the Navbar template (double click to get to the edit window)
scroll down until you find: <!-- nav buttons bar -->
delete everything between that and the line <!-- / nav buttons bar -->
save and reload then view your forumI would make a child of your default style and edit that to make sure it works before you do it live.
Black Snow
05-24-2015, 06:23 PM
Why does every suggest that people delete code from templates? If you decide to add the nav bar back at a later date then you won't be able to u less you revert the template. You should comment out the lines instead.
ForceHSS
05-24-2015, 07:17 PM
Never delete template coding just comment it out //
Lynne
05-24-2015, 08:05 PM
Why does every suggest that people delete code from templates? If you decide to add the nav bar back at a later date then you won't be able to u less you revert the template. You should comment out the lines instead.
Not true at all. When you go to edit the template, just click the link that says View History and you can see a comparison of your customized template and the default template OR you can just click Show Default to see the default template and grab the code to copy/paste it back in.
SaN-DeeP
05-26-2015, 04:14 PM
Lynne, cant we edit those lines in templates ? as suggested by ForceHSS
Lynne
05-26-2015, 04:52 PM
First off, // is what you use to comment out PHP code or javascript, not HTML, so that won't work in templates. Secondly, what does work is using <!-- stuff here --> , however, sometimes those will cause issues if used in the middle of a table. Also, if you are wanting to make something so a user cannot see the information, then using comment tags will just put the information into the page source, so it is still there and a user can view it by looking at the page source. I don't think that is the case here, but sometimes that is the case and so you wouldn't want to just comment the information out.
SaN-DeeP
05-26-2015, 05:00 PM
Secondly, what does work is using <!-- stuff here --> Sorry to reply again, i did not get this ?
if you are wanting to make something so a user cannot see the information, then using comment tags will just put the information into the page source, so it is still there and a user can view it by looking at the page sourceThanks for clarifying this most important piece of information... Never ever looked after commenting those templates.
Thanks a lot again...
ForceHSS
05-26-2015, 05:05 PM
Lynne, cant we edit those lines in templates ? as suggested by ForceHSS
I was not saying to use // for templates // just stands for to comment something out
SaN-DeeP
05-26-2015, 05:15 PM
I was not saying to use // for templates // just stands for to comment something outYou are absolutely correct, my bad.. but if lynne understood right, we got right answer..
As lynne posted, it will also leverage source code..
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.