• Page 1 of 1
  • 1
Forum moderator: bigblog  
uCoz Community » Communication » uCoz Discussions » Admin Bar (Closing admin bar)
Admin Bar
SivanB
Posts: 1
Reputation: 0

Message # 1 | 9:31 AM
Does anyone know how to get rid of the admin bar while editing the website?
Xayaan
Posts: 558
Reputation: 13

Message # 2 | 11:02 AM
SivanB, There is a way to get rid of the Admin bar, But it would be taken away completely. Not only while editing the website. But it can still be added back when needed.

To remove it for that session:
Admin Bar -> General -> Close Admin Bar

To remove it permanently (can still be added back on):
Control Panel (CP) -> Customize Design -> Site Pages (or other module)
Find and remove:

Code
$ADMIN_BAR$


To hide the admin bar permanently (Same as removing)
Use the following code and paste it the module you want or site pages

Code
<script type="text/javascript">     
$(document).ready(function(){     
$("#puzadpn").hide();     
$("#uzadpn").hide();     
$(".cuzadpn").hide();     
});     
</script>


Best regards,
Zayaan.

My Skype : xayan123 | My Twitter : @Officialxayaan
uID : - Zayaan Ibrahim | Need a professional design? Check out my Portfolio
Cyberdasm
Posts: 639
Reputation: 7

Message # 3 | 1:04 PM
Xayaan, i got some problem regarding my admin bar is their any solution to my problem?
My problem is this...
When i log in to my site i notice that in my module pages. I cant see my admin bar panel and it only show in the user page.

Here is my webpage.
www.lizeal.tk if you want to check it out..

1F4BF3B
Xayaan
Posts: 558
Reputation: 13

Message # 4 | 2:27 PM
dense0293, It may be that the code "$ADMIN_BAR$" is missing from the modules. Please check that the code exists. Go to Control Panel (CP) -> Customize Design -> (module name eg: Forum). If the code is not there anywhere in it, Please add the code "$ADMIN_BAR$" Below or at the top of the coding for the admin bar to appear.

Best regards,
Zayaan.

My Skype : xayan123 | My Twitter : @Officialxayaan
uID : - Zayaan Ibrahim | Need a professional design? Check out my Portfolio
joexyz
JOE-vascript
Posts: 1770
Reputation: 78

Message # 5 | 3:39 PM
You can use CSS too:
Code
#puzadpn {display:none !important;}

It's the easiest way wink

hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau

sometimes i lurk here
uCoz Community » Communication » uCoz Discussions » Admin Bar (Closing admin bar)
  • Page 1 of 1
  • 1
Search: