Jump to content

Archived

This topic is now archived and is closed to further replies.

katiet

Center text in navbar

Recommended Posts

katiet

Hi, I've tried a bunch of different custom CSS that's supposed to center the text in the navbar but haven't had any success. I know where to put the code but not the actual code. I've tried using Chrome developer tools to figure out what I need to change but I guess I'm still too much of a CSS newbie to figure it out.

 

I'd actually like to space out each item in the menu so that it fills the entire navbar but I can settle with just centering the text.

 

My website is http://www.cheap-mover.com/

 

Thanks.

Share this post


Link to post
Share on other sites
Danny

Hi,

 

Add the following code to your custom CSS:

 

#menu-main {
  float: none;
  text-align: center;
}

 

#site .navbar .navline > li {
  float: none;
  display: inline-block;
}

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Danny

No problem.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

×