• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Admin/Moderator Bar

rivacom

Active member
#1
I'm trying to edit the admin/Moderator bar that shows up on top after logging in. But can't seem to find anything on it or what it's actually called. Can anyone point me in the right direction?
 

rivacom

Active member
#3
I didn't know if it was under style properties or not.

I'd like to move it, change the colors and what not. Right now when I add margin to my body, this gets pushed down as well, making it in the way of everything.
 

Brogan

XenForo moderator
Staff member
#4
Style Properties don't cover everything, the moderator bar is one of them.

Use a browser inspection tool such as that built in to Chrome or Firebug and you can determine the classes you need to use to make the changes.
To change the background colour for example, add this to EXTRA.css:
Code:
#moderatorBar .pageContent
{
background-color: red;
}
 

Amaury

Well-known member
#5
Use a browser inspection tool such as that built in to Chrome or Firebug and you can determine the classes you need to use to make the changes.
Firebug is actually useless now, as Mozilla Firefox's Inspect Element feature was improved a while ago to also show what Firebug was showing.
 

rivacom

Active member
#8
So the login bar has also moved down. I'm just trying to move the main body down to the page. Is there a better way to do this or extra CSS is the only way to do this?