• 0
Sign in to follow this  
Followers 0

How to center logo header and nav


Question

Posted · Report post

Hi guys!

 

I tried a lot of things to center logo header but i got no positive results so far.

 

Could you help me with custom css guys? here my website: http://laroutedelaforme.fr

 

Thanks

 

Margaux

Share this post


Link to post
Share on other sites

1 answer to this question

  • 0

Posted · Report post

Hi,

 

Add the following:

 

// Should center your logo

#branding .content-pad {
padding: 0 0 25px 0;
}
 
#site #brandnav .main_nav {
float: none;
width: 100%;
}
 
#site #brandnav .main_nav ul.main-nav {
float: none;
text-align: center;
}
 
#site ul.sf-menu li {
float: none;
display: inline-block;
}

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0