PDA

View Full Version : how to remove this.....


swiper the fox
09-27-2008, 02:06 PM
Can someone tell me how to get rid of this entire bar ?

We have buttons at the top that do the same functions, and then this one
would like to get rid of the links and leave the buttons.

Dismounted
09-27-2008, 02:13 PM
The code for that bit is contained in the navbar template.

swiper the fox
09-27-2008, 02:16 PM
yep, found it in the navbar template, but how can I remove just this entire line completely and if I do anything do this, will is mess up my buttons that I have doing the same thing up at the top of the forum page ( customized skin buttons )

??

Lynne
09-27-2008, 03:15 PM
Try commenting out the whole sections in the navbar that are between:
<!-- nav buttons bar -->
and
<!-- / nav buttons bar -->

and also
<!-- NAVBAR POPUP MENUS -->
and
<!-- / PAGENAV POPUP -->

swiper the fox
09-27-2008, 04:36 PM
I am not proficient at html/css etc....

I know some stuff, but not a whole lot

what commenting out should I be trying Html or php
and how is it done correctly ?

thx Lynne
hope you get paid for your support, cuz its stupendous !!!

Lynne
09-27-2008, 04:41 PM
In order to comment out html (which are what templates use), you use the following lines:

<!--
all the stuff to comment out
-->

However, that will still show in your source code. I would comment it out at first and see if the page works how you want, then I would go and delete it. Or, save the current navbar template, delete the stuff, if it doesn't work then go back to a saved copy of the navbar.

As an aside, if you are wanting to comment out php (which are what plugins and php pages use), you would use:
/*
stuff to comment out
*/

swiper the fox
09-27-2008, 04:42 PM
cool

thx again.................will try that out

UPDATED: worked like a charm
only commented out the <!-- nav buttons bar --> portion

should I be doing the others as well for any particular reason ?