Jump to content


Photo
- - - - -

How to center logo header and nav

header nav logo center

  • Please log in to reply
1 reply to this topic

#1 margauxforme

margauxforme

    Newbie

  • Members
  • Pip
  • 1 posts
  • Country: Country Flag

Posted 01 December 2013 - 05:10 PM

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



#2 Danny

Danny

    Is Awesome!

  • Moderators
  • 15653 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 01 December 2013 - 09:54 PM

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;
}






Also tagged with one or more of these keywords: header, nav, logo, center