Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

navbar is hide when we are login #50

Closed
Hujjat opened this issue Nov 22, 2013 · 3 comments
Closed

navbar is hide when we are login #50

Hujjat opened this issue Nov 22, 2013 · 3 comments

Comments

@Hujjat
Copy link

Hujjat commented Nov 22, 2013

there is wordpress admin navbar which help as navigate between public site and admin area but when we use fixed top navigation class our navbar is at the backside of wordpress nav bar how to fix that problem.

and thank's from your nice work.

@claudiosanches
Copy link
Contributor

Use: http://codex.wordpress.org/Function_Reference/body_class and paste in your style.css:

.admin-bar {
    padding-top: 28px;
}

@Hujjat
Copy link
Author

Hujjat commented Nov 23, 2013

Hi,
thank you sir
but I could not solve the problem I have added this code to header.php

body_class("admin-bar");

and that style to style.css but nothing happened.

@claudiosanches
Copy link
Contributor

Only

<body <?php body_class(); ?>>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants