• 0
Sign in to follow this  
Followers 0

Aligning menu text to middle


Question

Posted · Report post

I'm trying to create a larger format menu, and it looks silly to have the text top-aligned in my new larger fixed navbar. How do I center it? I've tried a couple things but I'm stuck.

 

I'm using this CSS so far: 

.navbar .navline {
  font-size: 1.5em;
}
 
.navbar .plbrand img {
    max-height: 74px;
}
.navbar {
    height: 5em !important;
}
 
and the website URL is lakesareamusic.org
 
Thank you!
 

 

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

Posted · Report post

Hi there, I can't connect to your site unfortunately, it just keeps trying to load but never gets there. Is the site still live?

 

The css you've pasted above sets the height, are you trying to center it vertically or horizontally? Try 'margin-top:--px' to move the menu down more.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I was able to adjust it. Thank you for your help!

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

You're welcome, glad you've managed to resolve. Thanks for updating the thread.

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